MathGroup Archive 2002

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

Search the Archive

Re: Mean


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-


  • Prev by Date: Re: Mean
  • Next by Date: Re: Reading .csv files
  • Previous by thread: Re: Mean
  • Next by thread: Re: Mean