Re: [R] results from t-test

About this list Date view Thread view Subject view Author view Attachment view

From: Duncan Murdoch (dmurdoch@pair.com)
Date: Sun 02 May 2004 - 06:03:58 EST


Message-id: <jtv790pm5k3001p6026a00gkdbti4l0cr1@4ax.com>

On Sat, 1 May 2004 13:54:26 -0500, "Robert W. Baer, Ph.D."
<rbaer@atsu.edu> wrote:

>1) Why the null AND the alternative weren't stated (guessed the answer was
>parsimony)

In one-sided tests the p-value is the same whether the null is "the
mean is zero" or "the mean is less than or equal to zero", so which
statement should it give?

>2) Why if only one was stated, the convention was to re-state the
>alternative rather than the null hypothesis.

The p-value depends on whether a one-sided or two-sided alternative is
used, so it's important to state that.

>3) Since technically the hypothesis is made a priori, why is it not
>re-iterated until AFTER producing the test results on the output.

That might be preferable, but I doubt that anybody who misinterprets
it now would notice the difference. It would probably be sufficient
to add "the":

alternative hypothesis: the true mean is not equal to 0

However, the code that prints this line also prints results of lots of
other tests, and it doesn't really seem worth the time required to
know if "the" is appropriate in all situations.

Duncan Murdoch

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST