So the test on the left, you'll remember, was the one with test one, I believe, was the uniform distribution, and test two is the Gaussian.
所以左边的测试,你得记得就是均匀分布,而第二个测试是高斯分布。
And then I could also do a Gaussian one here, with the mean of and the standard deviation of volatility divided by 2.
然后我在这里再写一个高斯分布的函数,它的浮动值的平均值和,标准偏差值都除了2。
This is called the normal distribution or the Gaussian distribution-- it's a continuous distribution.
这就是正态分布,也叫做高斯分布,这是一个连续分布
It will return me some random value from either the Gaussian or the normal distribution.
它会给我,返回符合高斯分布。
STUDENT: The variance of the Gaussian seems to be less than the variance of the uniform.
学生:高斯分布的变化比,均匀分布的变化小。
And think about, what's the difference between the Gaussian and the normal?
高斯分布和均匀分布的,差别是什么?
It could be normal, everything, that would be a Gaussian, where if you recall there was a mean, and a standard deviation, and most values were going to be close to the mean.
可能是正态分布,也就是高斯分布,只要有平均值和标准偏差值,你就可以进行调用,大部分的值都是集中在平均值附近的。
With the Gaussian, there's a tail.
而高斯分布中,这边会有一个小尾巴。
The variance of the Gaussian -- STUDENT: is less.
高斯分布的变化-,学生:更小。
A random-- a uniform, and a Gaussian.
一种随机的一种均匀分布和一种高斯分布。
And then we looked at this little loop before, for i in range number of stocks, I'm going to create two different lists of stocks, one where the moves, or distributions, are chosen from a uniform, and the other where they're Gaussian.
这里的这个小循环,因为i代表股票,我会建立两个不同的股票链表,一个是代表股票价格的移动,或者说是分布,它们是从均匀分布中得出的,而另一个链表是从高斯分布中得出的。
应用推荐