Varadhan's lemma

From formulasearchengine
Revision as of 02:05, 19 July 2012 by en>Midnight12 (grammar)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:More footnotes In statistics, Bessel's correction, named after Friedrich Bessel, is the use of n − 1 instead of n in the formula for the sample variance and sample standard deviation, where n is the number of observations in a sample: it corrects the bias in the estimation of the population variance, and some (but not all) of the bias in the estimation of the population standard deviation.

That is, when estimating the population variance and standard deviation from a sample when the population mean is unknown, the sample variance is estimated as the mean of the squared deviations of sample values from their mean—that is, using a multiplicative factor 1/n—is a biased estimator of the population variance, and for the average sample underestimates it. Multiplying the standard sample variance as computed in that fashion by n/(n − 1) (equivalently, using 1/(n − 1) instead of 1/n in the estimator's formula) corrects for this, and gives an unbiased estimator of the population variance. The cost of this correction is that the unbiased estimator has uniformly higher mean squared error than the biased estimator. In some terminology,[1][2] the factor n/(n − 1) is itself called Bessel's correction.

A subtle point is that, while the sample variance (using Bessel's correction) is an unbiased estimate of the population variance, its square root, the sample standard deviation, is a biased estimate of the population standard deviation; because the square root is a concave function, the bias is downward, by Jensen's inequality. There is no general formula for an unbiased estimator of the population standard deviation, though there are correction factors for particular distributions, such as the normal; see unbiased estimation of standard deviation for details. An approximation for the exact correction factor for the normal distribution is given by using n − 1.5 in the formula: the bias decays quadratically (rather than linearly, as in the uncorrected form and Bessel's corrected form).

One can understand Bessel's correction intuitively as the degrees of freedom in the residuals vector:

(x1x,,xnx),

where x is the sample mean. While there are n independent samples, there are only n − 1 independent residuals, as they sum to 0. This is explained further in the article Degrees of freedom (statistics).

The source of the bias

Suppose the mean of the whole population is 2050, but the statistician does not know that, and must estimate it based on this small sample chosen randomly from the population:

2051,2053,2055,2050,2051

One may compute the sample average:

15(2051+2053+2055+2050+2051)=2052

This may serve as an observable estimate of the unobservable population average, which is 2050. Now we face the problem of estimating the population variance. That is the average of the squares of the deviations from 2050. If we knew that the population average is 2050, we could proceed as follows:

15[(20512050)2+(20532050)2+(20552050)2+(20502050)2+(20512050)2]=365=7.2

But our estimate of the population average is the sample average, 2052, not 2050. Therefore we do what we can:

15[(20512052)2+(20532052)2+(20552052)2+(20502052)2+(20512052)2]=165=3.2

This is a substantially smaller estimate. Now a question arises: is the estimate of the population variance that arises in this way using the sample mean always smaller than what we would get if we used the population mean? The answer is yes except when the sample mean happens to be the same as the population mean.

We are seeking the sum of squared distances from the population mean, but end up calculating the sum of squared differences from the sample mean, which, as will be seen, is the number that minimizes that sum of squared distances. So unless the sample happens to have the same mean as the population, this estimate will always underestimate the population variance.

To see why this happens, we use a simple identity in algebra:

(a+b)2=a2+2ab+b2

With a representing the deviation from an individual to the sample mean, and b representing the deviation from the sample mean to the population mean. Note that we've simply decomposed the actual deviation from the (unknown) population mean into two components: the deviation to the sample mean, which we can compute, and the additional deviation to the population mean, which we can not. Now apply that identity to the squares of deviations from the population mean:

[20532050Deviation fromthe populationmean]2=[(20532052Deviation fromthe sample mean)This is a.+(20522050)This is b.]2=(20532052)2This is a2.+2(20532052)(20522050)This is 2ab.+(20522050)2This is b2.

Now apply this to all five observations and observe certain patterns:

(20512052)2This is a2.+2(20512052)(20522050)This is 2ab.+(20522050)2This is b2.(20532052)2+2(20532052)(20522050)+(20522050)2(20552052)2+2(20552052)(20522050)+(20522050)2(20502052)2+2(20502052)(20522050)+(20522050)2(20512052)2+2(20512052)(20522050)The sum of the entries in thismiddle column must be 0.+(20522050)2

The sum of the entries in the middle column must be zero because the sum of the deviations from the sample average must be zero. When the middle column has vanished, we then observe that

  • The sum of the entries in the first column (a2) is the sum of the squares of the deviations from the sample mean;
  • The sum of all of the entries in the remaining two columns (a2 and b2) is the sum of squares of the deviations from the population mean, because of the way we started with [2053 − 2050]2, and did the same with the other four entries;
  • The sum of all the entries must be bigger than the sum of the entries in the first column, since all the entries that have not vanished are positive (except when the population mean is the same as the sample mean, in which case all of the numbers in the last column will be 0).

Therefore:

  • The sum of squares of the deviations from the population mean will be bigger than the sum of squares of the deviations from the sample mean (except when the population mean is the same as the sample mean, in which case the two are equal).

That is why the sum of squares of the deviations from the sample mean is too small to give an unbiased estimate of the population variance when the average of those squares is found.

Terminology

This correction is so common that the term "sample variation" and "sample standard deviation" are frequently used to mean the corrected estimators (unbiased sample variation, less biased sample standard deviation), using n − 1. However caution is needed: some calculators and software packages may provide for both or only the more unusual formulation. This article uses the following symbols and definitions:

μ is the population mean
x is the sample mean
σ2 is the population variance
sn2 is the biased sample variance (i.e. without Bessel's correction)
s2 is the unbiased sample variance (i.e. with Bessel's correction)

The standard deviations will then be the square roots of the respective variances. Since the square root introduces bias, the terminology "uncorrected" and "corrected" is preferred for the standard deviation estimators:

sn is the uncorrected sample standard deviation (i.e. without Bessel's correction)
s is the corrected sample standard deviation (i.e. with Bessel's correction), which is less biased, but still biased

Formula

The sample mean is given by

x=1ni=1nxi.

The biased sample variance is then written:

sn2=1ni=1n(xix)2=i=1n(xi2)n(i=1nxi)2n2

and the unbiased sample variance is written:

s2=1n1i=1n(xix)2=i=1n(xi2)n1(i=1nxi)2(n1)n=(nn1)sn2.

Proof of correctness - Alternate 1

Proof of correctness - Alternate 2

Proof of correctness - Alternate 3

See also

Notes

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

External links



  • I had like 17 domains hosted on single account, and never had any special troubles. If you are not happy with the service you will get your money back with in 45 days, that's guaranteed. But the Search Engine utility inside the Hostgator account furnished an instant score for my launched website. Fantastico is unable to install WordPress in a directory which already have any file i.e to install WordPress using Fantastico the destination directory must be empty and it should not have any previous installation files. When you share great information, others will take note. Once your hosting is purchased, you will need to setup your domain name to point to your hosting. Money Back: All accounts of Hostgator come with a 45 day money back guarantee. If you have any queries relating to where by and how to use Hostgator Discount Coupon, you can make contact with us at our site. If you are starting up a website or don't have too much website traffic coming your way, a shared plan is more than enough. Condition you want to take advantage of the worldwide web you prerequisite a HostGator web page, -1 of the most trusted and unfailing web suppliers on the world wide web today. Since, single server is shared by 700 to 800 websites, you cannot expect much speed.



    Hostgator tutorials on how to install Wordpress need not be complicated, especially when you will be dealing with a web hosting service that is friendly for novice webmasters and a blogging platform that is as intuitive as riding a bike. After that you can get Hostgator to host your domain and use the wordpress to do the blogging. Once you start site flipping, trust me you will not be able to stop. I cut my webmaster teeth on Control Panel many years ago, but since had left for other hosting companies with more commercial (cough, cough) interfaces. If you don't like it, you can chalk it up to experience and go on. First, find a good starter template design. When I signed up, I did a search for current "HostGator codes" on the web, which enabled me to receive a one-word entry for a discount. Your posts, comments, and pictures will all be imported into your new WordPress blog.
  • Animated experiment demonstrating the correction, at Khan Academy
  1. W.J. Reichmann, W.J. (1961) Use and abuse of statistics, Methuen. Reprinted 1964–1970 by Pelican. Appendix 8.
  2. Upton, G.; Cook, I. (2008) Oxford Dictionary of Statistics, OUP. ISBN 978-0-19-954145-4 (entry for "Variance (data)")