Re: standard deviation and N-1

From: Dimitris (dimitris_at_dyn.unipg.it)
Date: 07/08/04


Date: 8 Jul 2004 01:56:34 -0700


> In high school, I learned that the formula for standard deviation has n in
> the denominator, but in college the book has N-1 in the denominator. What
> is the reason for this?

Suppose sig^2_s the variance of your sample, and sig^2_t the true
variance
of the population.

Then it can be worked out that the sample variance, sig^2_s has an
average (over
an infinite amount of samples) equal to

sig^2_s = (N-1)/N sig^2_t

where N is the size of the sample and, as mentioned, sig^2_t is the
true
variance of the population.

You can work this out from the formula for sig^2_s, and from the fact
that
members within a sample are independent from each other.

Therefore, if, instead of sig^2_s, you take N/(N-1) sig^2_s, (using
the 'N-1' formula) you will have a quantity whose average over many
samples will be the true variance of the population.

(For a trivial case, suppose N=1. Then, obviously, sig^2_s will always
be 0 and this will not tell you a thing about the true variance of the
population.)

Bear in mind that this is exact only for *variances*, NOT for
*standard deviations* (their square roots). But, to a good
approximation, one can normally
carry it over to standard deviations.

Hope this helps,

Dimitris



Relevant Pages

  • Re: Standard Deviation Question
    ... Probably a really naive question so pardon me... ... reporting process. ... standard deviations on any sample less than three. ... variance: One "variance ratio test" for homogeneity of two ...
    (sci.stat.edu)
  • Re: Correlation Between Mean and Standard Deviation
    ... clearly for decent size N the second sample will have a higher variance ... Suppose I draw two samples from the same population, but sample A is much bigger than sample B. The expected value of both standard deviations is the same (and equals the standard deviation of the population), but the expected range of A is greater than the expected range of B, in essence because the larger sample size gives you more opportunity to get observations from the tails of the distribution. ...
    (sci.stat.math)
  • Re: Measuring Time to Convergence
    ... a Poisson Distribution -- which has the property that the Variance equals the Mean. ... There is a close relationship between Poisson Distributions and Binomial Distributions for large sample sizes. ... using the standard sample mean and standard deviations; I'm finding my standard deviation is more than my mean. ...
    (comp.ai.genetic)
  • Re: Why, for Sample Standard Deviation, Divide by N-1, Instead of N?
    ... It is actually the variance that has the "nice" properties ... computed on a sample from a normally distributed population ... chi-square distribution on n-1 degrees of freedom. ...
    (sci.stat.math)
  • Re: Quick question
    ... Openoffice calc appears to use n-1, ... denominator will give a larger variance and standard deviation, ... If you divide by n you get ...
    (sci.stat.math)