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: [mg86576] RE: [mg86506] Puzzled by the "Variance"
  • From: "Jaccard Florian" <Florian.Jaccard at>
  • Date: Thu, 13 Mar 2008 20:55:04 -0500 (EST)
  • References: <>

You've got a lot of very good answers...

As a complement:

In earlier versions, you could also ask for the biased (or population) 
variance. It still works with v.6, in spice of the fact that it's 
considered as "removed"...

Just write:

data = {1, 2, 3};
<< "Statistics`"

It gives: 2/3

But it's quite dangerous to use "removed" mathematica packages...

I just don't understand why Wolfram removed this function... In most 
other systems, you can ask for both variances!

Florian Jaccard

-----Message d'origine-----
De: Elements [mailto:philyer at]
Envoy=E9=A0: mercredi, 12. mars 2008 11:29
=C0=A0: mathgroup at
Objet=A0: [mg86506] Puzzled by the "Variance"

Greeting all
I'm puzzled by the function "Variance". We can learn how to calculate
variance from this =
For example, calculate the sample variance of {1,2,3}. the average of
{1,2,3} is 2, then the variance should be =
But mathematica gives that:

In[10]:= Variance[{1.0,2.0,3.0}]
Out[10]= 1.

Best Wishes!
Yours Sincerely

  • Prev by Date: NDSolve problem
  • Next by Date: Re: Need help to find position of max location
  • Previous by thread: Re: Puzzled by the "Variance"
  • Next by thread: Re: Puzzled by the "Variance"