Re: Calculate Standard Deviation with R



R User wrote:
"Bruce Weaver" <bweaver@xxxxxxxxxxxx> a écrit dans le message de news:

--- snip ----

Descriptive Statistics
|---------------|--|-------|-------|------|--------------|--------|
| |N |Minimum|Maximum|Mean |Std. Deviation|Variance|
|---------------|--|-------|-------|------|--------------|--------|
|x |50|496 |504 |500.06|1.823 |3.323 |
|---------------|--|-------|-------|------|--------------|--------|
|Valid N |50| | | | | |
|(listwise) | | | | | | |
|---------------|--|-------|-------|------|--------------|--------|

The SD and variance are computed with n-1 in the denominator. With division by N, the variance would be approximately 3.323 * 49/50 = 3.165.

I find the same results as you but why do you minore N by 1 : 50- 1 ?

Dividing by n-1 gives you an unbiased estimate of the population variance.

--
Bruce Weaver
bweaver@xxxxxxxxxxxx
www.angelfire.com/wv/bwhomedir
.



Relevant Pages

  • 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)
  • Re: Quick question
    ... denominator when determining variance and when to use n-1? ... denominator will give a larger variance and standard deviation, ... If you divide by n you get ...
    (sci.stat.math)
  • Re: z test how
    ... Bruce Weaver wrote: ... variance 2 is variance squared ... sum of V2/n = 0.0000145545 ... It doesn't mean you need to square it. ...
    (sci.stat.edu)
  • 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: What to do with "log of a zero rate"?
    ... occupational health researchers may compute an accident density rather ... For accident density, the denominator would be some kind ... Bruce Weaver ...
    (sci.stat.consult)