Home page for accesible maths 3 Hypothesis testing

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

3.4 Summary

{mdframed}
  • Hypothesis tests are a set of techniques to allow us to test characteristics of a population using data from a sample of this population.

  • Every hypothesis test involves the calculation of a test statistic.

    • This test statistic is compared to a sampling distribution, derived under the assumption that the null hypothesis is true.

    • This is done by either finding a critical value or a p-value.

    • If the test statistic is sufficiently extreme relative to the sampling distribution, we conclude that the null hypothesis cannot be true.

  • The one-sample t-test allows us to test whether or not the population mean μ is equal to a pre-specified value. The test statistic

    t=x¯-μ0s/n

    is compared to the tn-1-distribution.

  • Two sample t-tests allow us to compare the means of two populations. We first need to determine whether the data are

    • Paired (matched by a secondary variable)

    • Unpaired.

  • For unpaired data, first calculate the pooled sample variance,

    sp2=(n-1)sx2+(m-1)sy2n+m-2

    and then the test statistic

    t=(x¯-y¯)-dsp1/n+1/m.
  • For paired data, first calculate the differences and then compare the mean of these differences to zero using the test statistic,

    t=d¯sd/n