Processing math: 100%

Homepage

Jannis Teunissen


blog:variance_uneq_measurements

Variance of averaged measurements of unequal size

Suppose that we have a random variable X that we can only take averaged samples from. This means we cannot directly obtain a sample Xi, but only a sample of the mean of k Xi's. To complicate things, k varies uncontrollably with each measurement. How do we estimate the variance of the original variable Var(X)?

Call the averaged samples we obtain Ski, where ki denotes the number of X's that have been averaged. Then we have for a fixed value of ki (see e.g. this):

Var(Ski)=(SkiSki)2=(SkiX)2=Var(X)ki,

where indicates the expectation value and we somehow know X, to avoid having to care about Bessel's correction. More generally, we have for all ki ki(SkiX)2=Var(X).

If we have N random averaged samples Sk1, Sk2, , SkN, then k1(Sk1X)2+k2(Sk2X)2+...+kN(SkNX)2=k1(Sk1X)2+k2(Sk2X)2++kN(SkNX)2=Var(X)+Var(X)++Var(X)=NVar(X). In other words, the expectation value of every term ki(SkiX)2 is Var(X), so we can estimate Var(X) by computing 1NNi=1ki(SkiX)2.