Re: Mean
- To: mathgroup at smc.vnet.net
- Subject: [mg32993] Re: Mean
- From: Erk Jensen <Erk.Jensen at cern.ch>
- Date: Sat, 23 Feb 2002 02:38:13 -0500 (EST)
- Organization: CERN http://www.cern.ch
- References: <a54qru$bsu$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
poonam wrote:
>
> << Statistics`DescriptiveStatistics`
>
> data = {4.3, 7.2, 8.4, 5.8, 9.2, 3.9}
> {4.3, 7.2, 8.4, 5.8, 9.2, 3.9}
>
> Mean[data]
> Mean[{4.3, 7.2, 8.4, 5.8, 9.2, 3.9}]
>
> Variance[data]
> 4.69467
>
> I took this code exactly as in the help browser. Tried this in my
> notebook. Why do I not get an answer for Mean? I get an answer for
> Variance, and I also see an answer for Mean in the help browser for
> the same data.
Works fine for me. Are you sure that you haven't called Mean[data] before you
loaded the package? In this case the 'Mean' inside the package will be shadowed
by the one you used earlier!
Ciao and good luck, -erk-