WJEC · A-Level · Mathematics

    Course version: 603/1980/X · Version from Aug 2017

    Further Statistics A): Understand and use the Chi-squared distribution:

    Full specification wording

    Exploring relationships between variables and goodness of fit of a model (AS Unit 2: Further Statistics A): Understand and use the Chi-squared distribution:

    The chi-squared distribution models the total of squared standardised differences between observed and expected frequencies.

    • Point 4 of 6

    Study notes

    From the teaching notes for this specification point.

    The idea

    The chi-squared distribution models the total of squared standardised differences between observed and expected frequencies. For a goodness-of-fit test you compare observed counts O with expected counts E, form the statistic Σ(O − E)²/E, and compare it with a critical value from tables. Degrees of freedom are k − 1 − p, where k is the number of categories and p the number of parameters estimated from the data. For a contingency table of r rows and c columns the degrees of freedom are (r − 1)(c − 1). For a 2 × 2 table (one degree of freedom) apply Yates' continuity correction, using (|O − E| − 0.5)²/E for each cell, because the discrete counts are being approximated by a continuous distribution. State hypotheses, pool small expected frequencies where appropriate, and interpret the result in context.

    What earns the marks

    • Forms the test statistic as the sum over cells of (O − E)²/E using observed and expected frequencies.
    • Computes degrees of freedom as k − 1 − p for a goodness-of-fit test, subtracting one for each parameter estimated from the data.
    • Applies Yates' continuity correction to a 2 × 2 contingency table by using (|O − E| − 0.5)²/E for each cell.
    • Compares the calculated statistic with the tabulated critical value at the stated significance level and correct degrees of freedom.
    • States the null and alternative hypotheses clearly and interprets the decision in the context of the original variables.

    Common mistakes and how to put them right

    • Uses k − 1 degrees of freedom without subtracting p when parameters are estimated from the data.

      Put it right: Subtract one for each estimated parameter.

    • Omits Yates' continuity correction for a 2 × 2 table.

      Put it right: Apply the half-unit correction to each cell to give one degree of freedom.

    • Uses (r − 1)(c − 1) for a goodness-of-fit test.

      Put it right: Reserve that formula for contingency tables and use k − 1 − p for goodness of fit.

    • Compares the statistic with the wrong tail or significance level.

      Put it right: Read the critical value for the stated level and reject H₀ when the statistic exceeds it.

    Exam tips

    • Write out observed and expected tables before forming the statistic so each cell's contribution is checkable.
    • State degrees of freedom explicitly, showing how k, p, r and c are identified.
    • Interpret the final decision in words about the real variables, not just 'reject H₀'.

    Try the lesson

    The start of the Exploring relationships between variables and goodness of fit of a model (AS Unit 2: Further Statistics A): Understand and use the Chi-squared distribution: lesson, made from teaching notes for this specification point.

    Have a go first

    A random variable X has a chi-squared distribution with 6 degrees of freedom. Using tables, find P(X > 12.59), giving your answer to 3 decimal places.

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    5 free practice questions every day · Free forever · No card required

    Test your understanding of Exploring relationships between variables and goodness of fit of a model (AS Unit 2: Further Statistics A): Understand and use the Chi-squared distribution:

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    5 free practice questions every day · Free forever · No card required