MathGroup Archive 2004

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

Search the Archive

Re: Variance of sample and whole dataset

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51204] Re: [mg51192] Variance of sample and whole dataset
  • From: DrBob <drbob at bigfoot.com>
  • Date: Fri, 8 Oct 2004 02:54:54 -0400 (EDT)
  • References: <200410070926.FAA10859@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

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