1
$\begingroup$

I am still confused about Hypothesis testing. How does one set up the null hypothesis $H_0$ and the alternative hypothesis $H_a$? I have read a post here that doesn't give it much credit, as far as I can tell. (One must use both $H_0$ and $H_a$ for the AP Statistics exam.)

I have read that $H_a$ is to be what one does not want to be false (to happen). Also, one source says that $H_0$ should always have the = sign, even when doing a one-sided (-tailed) test. But another uses the $\geq$ and $\leq$ in $H_0$ when doing a one-sided test. Another doesn't even mention $H_a$ and just goes straight to the P value.

Which is correct?

Question: Is A bigger than B?

$$H_0:= \left(\mu_a-\mu_b\right) = 0\quad \text{or}\quad H_0:= \left(\mu_a-\mu_b\right) \geq 0$$

$$H_a:= \left(\mu_a-\mu_b\right) \lt 0\quad \text{or}\quad H_a:= \left(\mu_a-\mu_b\right) \lt 0$$

Or is this setup better?

$$H_0:= \left(\mu_b - \mu_a\right) = 0\quad \text{or}\quad H_0:= \left(\mu_b-\mu_a\right) \leq 0 $$

$$H_a:= \left(\mu_b-\mu_a\right) \gt 0\quad \text{or}\quad H_a:= \left(\mu_b-\mu_a\right) \gt 0$$

$\endgroup$
  • 1
    $\begingroup$ Every one of those hypotheses is wrong. Hypotheses are about population parameters, not sample quantities. $\endgroup$ – Glen_b Dec 13 '12 at 9:16
  • $\begingroup$ @Glen_b How can I fix this? $\endgroup$ – MaoYiyi Dec 13 '12 at 14:10
  • 4
    $\begingroup$ For some reason, the Internet has an amazing amount of misrepresentations of hypothesis tests. Over a decade ago I collected a few of these and offered criticism. (It was perhaps a little harsh--every one of the statements I quoted had a grain of truth to it--but somehow I am not surprised that every one of those links is now a 404, while most of the links I found useful are still live.) That criticism may help resolve parts of the present question--but no doubt will lead to further questions :-). $\endgroup$ – whuber Dec 13 '12 at 15:41
  • 1
    $\begingroup$ Shouldn't the proposed $H_0$ be an equality not an inequality? $\endgroup$ – Jase Dec 13 '12 at 16:07
  • 1
    $\begingroup$ @whuber thank you very much, What you wrote is better than what I read. I really hope you are a teacher because I would like to take your classes. $\endgroup$ – MaoYiyi Dec 13 '12 at 16:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.