Mathematica: Strange no direct command to find Variance for population. Only for sample?



Mathematica 6.0.

Doing help on Variance[], I do not see an option to tell it to obtain
Variance for population. (I think this is called Biased estimate).
i.e. I am looking for the definition of Var(x) using N in denominator not
N-1. The Variance command uses N-1, and no option to tell it to use N.

In Matlab for example, I do

EDU>> y=[1,2,3];
EDU>> var(y)
ans =

1
EDU>> var(y,1)
ans =

0.6667

The second case above is population variance (divide by N).
In Mathematica

In[12]:= y = {1, 2, 3};
Variance[y]
Out[12]= 1

I find it strange that no option exist to ask for populatio variance.
(ofcourse easy to do such a function, but I would think it should be part of
the Variance[] command allready)

Nasser



.



Relevant Pages

  • Re: Mathematica - How to plot the PDF?
    ... It seems you just want to plot the histogram in the above. ... that Mathematica histogram is not a 'probability' type histogram like ... takes a list of data and generate a 'probability' histogram (i.e. ... Well, for Normal, MLE estimate for the mean and variance actually comes out ...
    (sci.math.symbolic)
  • Re: Mathematica - How to plot the PDF?
    ... Nasser Abbasi wrote: ... I've only ever used Mathematica before to fit data to a polynomial, ... Well, for Normal, MLE estimate for the mean and variance actually comes out to be the sample mean and sample and the estimate for the variance is also the sample variance. ... I have simulation of most of the distributions in Mathematica coded in there. ...
    (sci.math.symbolic)
  • Re: Skewness & Kurtosis
    ... High trend/ slope, high variance ...
    (comp.soft-sys.matlab)
  • Re: Data vector
    ... the mean or the variance. ... To the command ... nonzerosit responds with an empty matrix, ...
    (comp.soft-sys.matlab)
  • Mathematica - Variance - Integrals
    ... okay i have mathematica on my pc so let's see how ... Then i realized that the only way to calculate variance in mathematica ... so there is no way to make a symbolic calculation using an arbitrary ... integrals so i can try to define my own function using integrals (i do ...
    (sci.math.symbolic)