Re: MeanTest Function not Working
- To: mathgroup at smc.vnet.net
- Subject: [mg68397] Re: MeanTest Function not Working
- From: Gregory Lypny <gregory.lypny at videotron.ca>
- Date: Thu, 3 Aug 2006 06:07:30 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Thanks for your reply, Jean-Marc.
Actually, what I showed in my e-mail was the output. My original
input tested for a mean of zero, so I had something like Mean[x, 0]
which then returned Mean[{list of numbers}] rather than the answer.
Regards,
Gregory
On Wed, Aug 2, 2006, at 8:09 AM, Jean-Marc Gulliet wrote:
> Hi Gregory,
>
> At least in Mathematica version 5.2, the built-in function MeanTest
> requires TWO parameters, that is the data and the mean. Your "example"
> exhibits only a list of numbers. From the online help
>
> "MeanTest[list, mu0, options] returns a probability estimate (p-
> value) and other hypothesis test information for the relationship
> between the hypothesized population mean mu0 and Mean[list]."
>
> Regards,
> Jean-Marc