7. Hypothesis testing Flashcards
During hypothesis testing, what are the two hypotheses?
Null hypothesis: Ho, assumed to be correct
Alternative hypothesis: H1, tells you about the the parameter if your assumption is shown to be wrong
What is the difference between a one-tailed and two-tailed test?
One-tailed = H1: p < and H1: p >
Two tailed tests = H1: p ≠
What are the steps during a one-tailed hypothesis test?
Formulate a model for the test statistic
Identify a suitable null and alternative hypotheses
Calculate the probability of the test statistic taking the observed value (or higher/lower), assuming the null hypothesis is true
Compare this to the significance level
Write a conclusion in the context of the question
Alternatively: find the critical region and see whether the observed value of the test statistic lies inside it
What is a critical region?
A region of the probability distribution which, if the test statistic falls within it, would cause you to reject the null hypothesis
What is the critical value?
The first value to fall inside of the critica region
What are the steps during a two-tailed hypothesis test?
Same as the one-tailed test
Except you need to halve the significance level at the end you are testing
Check which end you are supposed to be testing
What do you do if the percentage found during hypothesis testing is inside the critical region?
Reject the null hypothesis
Accept the alternative hypothesis
Due to insufficient evidence