So first, I choose a volatility randomly, from some distribution of possible volatilities 2 from to, in this case, 0.2.
来决定的一个值,所以首先我先随机选择一个浮动值,从可能的浮动值中的分布进行选择,在这个例子中就是0。
If I wanted every stock to have the same volatility, I could just do that, if you will, at the time I wrote my program.
如果我希望每只股票的浮动值都相同,在我编写程序的时候,如果你愿意的话,我会这么做。
Music gravitates around a home pitch and in the Beethoven Fifth symphony we still haven't gotten the home pitch.
音乐的音高一般会围绕着主音高浮动,在贝多芬的第五交响乐中 ,我们还没发现这个主音高
This time, however, instead of setting quantities, instead of just deciding how much Coke and Pepsi to produce and spewing it out in the market and letting prices take care of themselves, this time the firms are going to set prices and let quantities take care of themselves.
这次不是规定产量,上次是确定,可口可乐和百事可乐的产量,运到市场上销售,并让价格自主的浮动,而这次,公司将要预先设定价格,并让产量自动调节
Saying, well, the market on average will go up a little bit, or go down a little bit.
导致了股票价格的浮动值不同,基本上股市平均是向上增长的或是向下跌了。
And then I could also do a Gaussian one here, with the mean of and the standard deviation of volatility divided by 2.
然后我在这里再写一个高斯分布的函数,它的浮动值的平均值和,标准偏差值都除了2。
And then I'll create this function, d1 this distribution d 1, which will, whenever I call it, give me a random, a uniformly selected value between minus and plus volatility.
然后我会创建这个函数,这个概率分布,每次我调用这个函数的时候,他会给我返回一个随机的,按照均匀分布,从正负浮动值之间选择的值。
应用推荐