Processing math: 100%

 

 

 

First Illustration of the Use of Monte-Carlo Methods, variance in integration

In addition to the average value f the other important quantity in a Monte-Carlo calculation is the variance σ2 and the standard deviation σ. We define first the variance of the integral with f for a uniform distribution in the interval x[0,1] to be σ2f=Ni=1(f(xi)f)2p(xi), and inserting the uniform distribution this yields σ2f=1NNi=1f(xi)2(1NNi=1f(xi))2, or σ2f=(f2f2).