Skip to content

hypothesis test

(NL: hypothesetoets)

A statistical hypothesis test is a procedure to determine whether a statement or conjecture about a sampled population is correct.

The procedure consists of the following steps:

  1. Formulate the null hypothesis \(H_0\) and the alternative hypothesis \(H_1\).
  2. Choose a significance level \(\alpha\).
  3. Calculate the test statistic from the sample
  4. Determine:
  5. Draw a conclusion based on the p-value or the critical area.

A statistical test starts from the assumption that the null hypothesis is true and builds an argument based on that. As with a proof by contradiction, we may then run into a contradiction. In that case, the null hypothesis is rejected and the alternative hypothesis is accepted.

Drawing a conclusion based on the probability of exceedance is done as follows:

  • If \(p \leq \alpha\) then the null hypothesis is rejected and the alternative hypothesis is accepted.
  • If \(p > \alpha\) then the null hypothesis is not rejected.

Or, based on the critical area:

  • If the test statistic is within the critical region, then the null hypothesis is rejected and the alternative hypothesis is accepted.
  • If the test statistic is not in the critical but in the acceptance region, then the null hypothesis is not rejected.

Note that these two methods are equivalent, so in practice you should not run both. In the scientific literature, the probability of exceedance is usually used and also reported explicitly.

Statistical tests discussed in this course: