0
$\begingroup$

If I have to test a hypothesis like:

\begin{align} H_0:\mu\leq10\\H_1:\mu>10\\ Z_{1-p}=\dfrac{\bar{X}-\mu}{\sigma/\sqrt n} \end{align} From which I get p-value and I make a comment about whether it makes sense to reject $H_0$.

What happens for double sided tests? $\mu=10,\mu\neq10$.

Do I simply take $2\times p$ from the above and then make comments?

If yes, why are we doing that?

  • 0
    Yes. Ours is not to question why, ours is but to do or die.2012-12-14

1 Answers 1

0

Now for a more serious answer.

You are correct that you take $2p$ where $p$ is the value from a table of normal distributions. This value represents the area under the curve of one tail of the normal distribution. With a double sided test, we need the area under the curve of both tails and so multiply by 2.

  • 0
    Update: you may want to ask this on our sister site [Stats.SE]. In particular, I found [this question](http://stats.stackexchange.com/questions/22347/chi-squared-always-a-one-sided-test) there.2012-12-14