Hi all,
I am trying to generate random daily (stock market) returns with a normal distribution from annual return and standard deviation figures. Let's say my annual return figure is 15% and my annual standard deviation figure is 30%. Assuming there are 250 trading days in the year, I am calculating my daily mean return as 15%/250 = 0.06% and my daily standard deviation as 30%/SQRT(250)=1.89737%. I then use this formula: =NORM.INV(RAND(),0.0006,0.0189737) to generate 10,000 random returns. If I then take the standard deviation of the generated returns, it is generally within 5% of the target standard deviation, however the mean of the generated numbers varies widely from under -100% to over +100% of the target mean return. Could you help me understand why the average of the generated numbers is not close to the inputted target mean?
For reference, below are the results of 10 different iterations of the 10,000 numbers generated using the above formula (target μ=0.06%, target SD=1.89737%):
[TABLE="width: 971"]
<tbody>[TR]
[TD][/TD]
[TD]Iteration 1[/TD]
[TD]Iteration 2[/TD]
[TD]Iteration 3[/TD]
[TD]Iteration 4[/TD]
[TD]Iteration 5[/TD]
[TD]Iteration 6[/TD]
[TD]Iteration 7[/TD]
[TD]Iteration 8[/TD]
[TD]Iteration 9[/TD]
[TD]Iteration 10[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Iteration μ[/TD]
[TD]0.12%[/TD]
[TD]0.08%[/TD]
[TD]-0.01%[/TD]
[TD]-0.07%[/TD]
[TD]0.14%[/TD]
[TD]-0.02%[/TD]
[TD]0.04%[/TD]
[TD]0.06%[/TD]
[TD]0.07%[/TD]
[TD]0.11%[/TD]
[/TR]
[TR]
[TD]Iteration SD[/TD]
[TD]1.84%[/TD]
[TD]1.88%[/TD]
[TD]1.81%[/TD]
[TD]1.84%[/TD]
[TD]1.81%[/TD]
[TD]1.94%[/TD]
[TD]1.89%[/TD]
[TD]1.94%[/TD]
[TD]1.93%[/TD]
[TD]1.86%[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]μ Delta % vs. Target[/TD]
[TD]105.75%[/TD]
[TD]34.50%[/TD]
[TD]-112.22%[/TD]
[TD]-213.25%[/TD]
[TD]135.24%[/TD]
[TD]-137.83%[/TD]
[TD]-38.38%[/TD]
[TD]3.73%[/TD]
[TD]16.73%[/TD]
[TD]79.64%[/TD]
[/TR]
[TR]
[TD]SD Delta % vs. Target[/TD]
[TD]-3.14%[/TD]
[TD]-0.98%[/TD]
[TD]-4.75%[/TD]
[TD]-3.06%[/TD]
[TD]-4.80%[/TD]
[TD]1.98%[/TD]
[TD]-0.60%[/TD]
[TD]1.99%[/TD]
[TD]1.80%[/TD]
[TD]-1.95%[/TD]
[/TR]
</tbody>[/TABLE]
Many thanks,
Houman
I am trying to generate random daily (stock market) returns with a normal distribution from annual return and standard deviation figures. Let's say my annual return figure is 15% and my annual standard deviation figure is 30%. Assuming there are 250 trading days in the year, I am calculating my daily mean return as 15%/250 = 0.06% and my daily standard deviation as 30%/SQRT(250)=1.89737%. I then use this formula: =NORM.INV(RAND(),0.0006,0.0189737) to generate 10,000 random returns. If I then take the standard deviation of the generated returns, it is generally within 5% of the target standard deviation, however the mean of the generated numbers varies widely from under -100% to over +100% of the target mean return. Could you help me understand why the average of the generated numbers is not close to the inputted target mean?
For reference, below are the results of 10 different iterations of the 10,000 numbers generated using the above formula (target μ=0.06%, target SD=1.89737%):
[TABLE="width: 971"]
<tbody>[TR]
[TD][/TD]
[TD]Iteration 1[/TD]
[TD]Iteration 2[/TD]
[TD]Iteration 3[/TD]
[TD]Iteration 4[/TD]
[TD]Iteration 5[/TD]
[TD]Iteration 6[/TD]
[TD]Iteration 7[/TD]
[TD]Iteration 8[/TD]
[TD]Iteration 9[/TD]
[TD]Iteration 10[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Iteration μ[/TD]
[TD]0.12%[/TD]
[TD]0.08%[/TD]
[TD]-0.01%[/TD]
[TD]-0.07%[/TD]
[TD]0.14%[/TD]
[TD]-0.02%[/TD]
[TD]0.04%[/TD]
[TD]0.06%[/TD]
[TD]0.07%[/TD]
[TD]0.11%[/TD]
[/TR]
[TR]
[TD]Iteration SD[/TD]
[TD]1.84%[/TD]
[TD]1.88%[/TD]
[TD]1.81%[/TD]
[TD]1.84%[/TD]
[TD]1.81%[/TD]
[TD]1.94%[/TD]
[TD]1.89%[/TD]
[TD]1.94%[/TD]
[TD]1.93%[/TD]
[TD]1.86%[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]μ Delta % vs. Target[/TD]
[TD]105.75%[/TD]
[TD]34.50%[/TD]
[TD]-112.22%[/TD]
[TD]-213.25%[/TD]
[TD]135.24%[/TD]
[TD]-137.83%[/TD]
[TD]-38.38%[/TD]
[TD]3.73%[/TD]
[TD]16.73%[/TD]
[TD]79.64%[/TD]
[/TR]
[TR]
[TD]SD Delta % vs. Target[/TD]
[TD]-3.14%[/TD]
[TD]-0.98%[/TD]
[TD]-4.75%[/TD]
[TD]-3.06%[/TD]
[TD]-4.80%[/TD]
[TD]1.98%[/TD]
[TD]-0.60%[/TD]
[TD]1.99%[/TD]
[TD]1.80%[/TD]
[TD]-1.95%[/TD]
[/TR]
</tbody>[/TABLE]
Many thanks,
Houman
Last edited: