MathGroup Archive 2004

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

Search the Archive

Re: Variance of sample and whole dataset


That would be

biased[a_List]:=Block[{n=Length@a},(n-1)/n Variance[a]]

Bobby

On Thu, 7 Oct 2004 05:26:30 -0400 (EDT), Uwe Ziegenhagen <newsgroup at ziegenhagen.info> wrote:

>
>
> Hello,
>
> with Variance[list] and StandardDeviation[list] I get the
> variance/std.dev for samples.
>
> Is there any builtin command for the variance of whole dataset (division
> by n, not by n-1)?
>
> Uwe
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: Variance of sample and whole dataset
  • Next by Date: Occurrence of a substring inside a list of strings
  • Previous by thread: Re: Variance of sample and whole dataset
  • Next by thread: Re: Variance of sample and whole dataset