Generating random numbers with known mean and variance

后端 未结 4 579
借酒劲吻你
借酒劲吻你 2021-01-19 17:19

From a paper I\'m reading right know:

...
S(t+1, k) = S(t, k) + ... + C*∆
...
∆ is a standard random variable with mean 0 and variance 1.
...
4条回答
  •  孤独总比滥情好
    2021-01-19 17:49

    Do you have any restrictions on the distribution of \Delta ? if not you can just use a uniform distribution in [-sqrt(3), sqrt(3)]. The reason why this would work is because for an uniform distribution [a,b] the variance is 1/(12) (b-a)^2.

提交回复
热议问题