Re: MeanTest Function not Working
- To: mathgroup at smc.vnet.net
- Subject: [mg68380] Re: MeanTest Function not Working
- From: "Jean-Marc Gulliet" <jeanmarc.gulliet at gmail.com>
- Date: Thu, 3 Aug 2006 06:06:56 -0400 (EDT)
- References: <eaprit$s2r$1@smc.vnet.net> <44D09612.9030309@gmail.com> <8764EA81-0793-4CF7-94C3-BC1AC899400A@videotron.ca>
- Sender: owner-wri-mathgroup at wolfram.com
On 8/2/06, Gregory Lypny <gregory.lypny at videotron.ca> wrote: > > 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. OK, I see. I try the following example on my system and it did work correctly with a mean of zero. << "Statistics`HypothesisTests`" data = {34, 37, 44, 31, 41, 42, 38, 45, 42, 38}; MeanTest[data, 0] returns OneSidedPValue -> 2.367283730984821*^-10 $Version "5.2 for Microsoft Windows (June 20, 2005)" HTH, Jean-Marc