Effective sample size
In statistics, effective sample size is a notion defined for a sample from a distribution when the observations in the sample are correlated or weighted.[1]
Correlated observations
Suppose a sample of several independent identically distributed observations is drawn from a distribution with mean and standard deviation . Then the mean of this distribution is estimated by the mean of the sample:
In that case, the variance of is given by
However, if the observations in the sample are correlated (in the intraclass correlation sense), then is somewhat higher. For instance, if all observations in the sample are completely correlated (), then regardless of .
The effective sample size is the unique value (not necessarily an integer) such that
is a function of the correlation between observations in the sample.
Suppose that all the (non-trivial) correlations are the same and greater than , i.e. if , then . Then
Therefore
In the case where , then . Similarly, if then . And if then .
The case where the correlations are not uniform is somewhat more complicated. Note that if the correlation is negative, the effective sample size may be larger than the actual sample size. If we allow the more general form (where ) then it is possible to construct correlation matrices that have an even when all correlations are positive. Intuitively, the maximal value of over all choices of the coefficients may be thought of as the information content of the observed data.
Weighted samples
If the data has been weighted (the weights don't have to be normalized, i.e. have their sum equal to 1 or n, or some other constant), then several observations composing a sample have been pulled from the distribution with effectively 100% correlation with some previous sample. In this case, the effect is known as Kish's Effective Sample Size[2]
References
- Tom Leinster (December 18, 2014). "Effective Sample Size" (html).
- "Design Effects and Effective Sample Size" (html).
Further reading
- M. B., Priestley (1981), Spectral Analysis and Time Series 1, Academic Press, §5.3.