Re: Mean
- To: mathgroup at smc.vnet.net
- Subject: [mg48182] Re: Mean
- From: spam at husumtoften.invalid (Per Rønne)
- Date: Mon, 17 May 2004 03:21:50 -0400 (EDT)
- References: <c84iin$129$1@smc.vnet.net>
- Reply-to: spam at husumtoften.dk (Per Rønne)
- Sender: owner-wri-mathgroup at wolfram.com
Bobby R. Treat <drbob at bigfoot.com> wrote: > You've apparently used Mean without (or before) loading the package > that contains it. It's in the System context in 5.0.1, but in earlier > versions, you have to load a package such as > Statistics`DescriptiveStatistics`. Look up Mean in Help, and you can > find out which package to load, and how. Something like... > > <<Statistics`DescriptiveStatistics` > > or > > Needs["Statistics`"] > > The latter is simplest, especially if you put it in your Init.m file. > It means you never have to manually load a Statistics package. There are two explanations: My TeachersEdition doesn't use the Mathematica 5 kernel. The MacOS X version uses the 4.2 kernel and the classic MacOS and the Windows version uses the 4.1 kernel. And "Getting Started with Mathematica", isbn 0-471-24050-8, writes on page 127 in the Statistics chapter that the proper package is Master (Needs["Statistics`Master`"]) - on page 41 the proper package is said to be DescriptiveStatistics. The book seems to have been /partly/ updated only. -- Per Erik Rønne