Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Puzzled by the "Variance"

  • To: mathgroup at
  • Subject: [mg86520] Re: Puzzled by the "Variance"
  • From: "Kevin J. McCann" <Kevin.McCann at>
  • Date: Thu, 13 Mar 2008 04:30:04 -0500 (EST)
  • Organization: University System of Maryland
  • References: <fr8b97$h2s$>

The answer is, I believe, in the article you quote. The gist of it is 
that you divide by (n-1) not n for an unbiased estimator of the 
variance. To see that Mathematica is actually doing this, I commend to you the 
Help on Variance.


Elements wrote:
> Greeting all
> I'm puzzled by the function "Variance". We can learn how to calculate
> variance from this page:
> For example, calculate the sample variance of {1,2,3}. the average of
> {1,2,3} is 2, then the variance should be ((1-2)^2+(2-2)^2+(3-2)^2)/3=2/3.
> But mathematica gives that:
> In[10]:= Variance[{1.0,2.0,3.0}]
> Out[10]= 1.
> Why??


Kevin J. McCann
Research Associate Professor
Physics Building
University of Maryland, Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250

  • Prev by Date: Re: Puzzled by the "Variance"
  • Next by Date: Re: Puzzled by the "Variance"
  • Previous by thread: Re: Puzzled by the "Variance"
  • Next by thread: Re: Puzzled by the "Variance"