Hypotheses
The first step in conducting a t-test is formulating the hypothesis. These hypotheses are the assumptions that we will confirm or reject. Two hypotheses are required: the null hypothesis and the alternative hypothesis.
For a t-test, the null hypothesis states: "The means of two samples are equal." The alternative hypothesis, in contrast, states: "The means of two samples are not equal."
The null hypothesis is denoted as H0β, and the alternative hypothesis is denoted as Haβ.
H0β:ΞΌ0β=ΞΌ1βHaβ:ΞΌ0βξ =ΞΌ1βIf based on the t-test, reject the null hypothesis, the alternative hypothesis is automatically accepted.
Another way to formulate an alternative hypothesis is as follows:
H0β:ΞΌ0β=ΞΌ1βHaβ:ΞΌ0β>ΞΌ1ββorH0β:ΞΌ0β=ΞΌ1βHaβ:ΞΌ0β<ΞΌ1ββThe latter form is used when:
- You are certain that one group has either a higher or lower mean, but not the other way around. This applies to our heights example, where we can confidently state that, on average, females are not taller than males;
- You are solely interested in determining if something is better. If it's not better, you don't care whether it's the same or worse. This is similar to a new website design. You only want to implement it if it's an improvement over the current one. If it's not, you'll stick with the current design until the new one is enhanced.
Thanks for your feedback!
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Can you explain the difference between a one-tailed and a two-tailed t-test?
How do I decide which form of the alternative hypothesis to use?
Can you give an example of when to use each type of hypothesis?
Awesome!
Completion rate improved to 2.63
Hypotheses
Swipe to show menu
The first step in conducting a t-test is formulating the hypothesis. These hypotheses are the assumptions that we will confirm or reject. Two hypotheses are required: the null hypothesis and the alternative hypothesis.
For a t-test, the null hypothesis states: "The means of two samples are equal." The alternative hypothesis, in contrast, states: "The means of two samples are not equal."
The null hypothesis is denoted as H0β, and the alternative hypothesis is denoted as Haβ.
H0β:ΞΌ0β=ΞΌ1βHaβ:ΞΌ0βξ =ΞΌ1βIf based on the t-test, reject the null hypothesis, the alternative hypothesis is automatically accepted.
Another way to formulate an alternative hypothesis is as follows:
H0β:ΞΌ0β=ΞΌ1βHaβ:ΞΌ0β>ΞΌ1ββorH0β:ΞΌ0β=ΞΌ1βHaβ:ΞΌ0β<ΞΌ1ββThe latter form is used when:
- You are certain that one group has either a higher or lower mean, but not the other way around. This applies to our heights example, where we can confidently state that, on average, females are not taller than males;
- You are solely interested in determining if something is better. If it's not better, you don't care whether it's the same or worse. This is similar to a new website design. You only want to implement it if it's an improvement over the current one. If it's not, you'll stick with the current design until the new one is enhanced.
Thanks for your feedback!