Estimating variance

From myWiki
Revision as of 15:31, 20 April 2015 by Stevet (talk | contribs) (Created page with "Estimating variance from a simulation ("on the fly") <math>\sigma^2 = E[(x-\bar{x})^2]</math> <math>= E[x^2] - 2\bar{x}E[x] + \bar{x}^2</math> <math>= E[x^2] - 2\bar{x}^2 +...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Estimating variance from a simulation ("on the fly")

where and

in the simulaton we keep track of the sum of x's and x^2's...


Or we can use E[((x - x_0) - x_1)]^2