Mathematics: Applications and Interpretation · Topic 4: Statistics and probability
SL4.11 — Hypothesis testing
Mathematics: Applications and Interpretation · SL / HL · syllabus-mapped notes
AISL4.11.1
Hypotheses, significance and p-values
Setting up H0 and H1, significance levels, and the p-value decision rule.
Full note — freeA hypothesis test uses sample data to decide between two competing claims about a population. The null hypothesis $H_0$ states "no effect / no difference / independent". The alternative hypothesis $H_1$ states there is an effect, difference, or association. State $H_0$ and $H_1$ as an equation, an inequality, or in words as appropriate. Significance level and p-value The significance level (commonly $1\%$, $5\%$ or $10\%$) is the threshold set before testing. The p-value is the probability of the observed result (or more extreme) if $H_0$ were true. Decision rule: if $p<$ significance level, reject $H_0$ ; otherwise there is insufficient evidence to reject $H_0$. e.g. at the $5\%$ level a $p$-value of $0.03$ leads to rejecting $H_0$, but $0.08$ does not. A smaller $p$-value means stronger evidence against $H_0$. "Do not reject $H_0$" is not the same as "$H_0$ is proven true".
AISL4.11.2
The chi-squared test for independence
Contingency tables, expected frequencies, degrees of freedom and the test statistic.
The chi-squared test for independence ($\chi^2$) tests whether two categorical variables in a contingency table are independent. $H_0$: the two variables are independent; $H_1$: they are not independent (associated). Expected frequencies : $\text{expected}=\dfrac{\text{row total}\times\text{column total}}{\text{grand total}}$. Degrees of freedom : $df=(\text{rows}-1)(\text{columns}-1)$. Technology gives the $\chi^2$ …
AISL4.11.3
The chi-squared goodness of fit test
Testing whether data fits a given distribution with df = n - 1.
The chi-squared goodness of fit test checks whether observed data fits a claimed distribution (e.g. uniform, or given proportions). $H_0$: the data fits the stated distribution; $H_1$: it does not. Find the expected frequency for each category from the claimed distribution. Degrees of freedom at …
AISL4.11.4
The two-sample t-test
Comparing two population means using the p-value with one- and two-tailed tests.
The t-test compares the means of two populations using sample data, with the $p$-value. $H_0$: the two population means are equal ($\mu_1=\mu_2$). $H_1$: they differ. Use a two-tailed test for "different" ($\mu_1\ne\mu_2$) and a one-tailed test for "greater/less than". Calculations are done with technology , …
