FS1-6 Chi squared tests — revision question pack

1 specification points · notes, questions, answers and worked methods

Checked against Edexcel 9FM0 section FS1-6. Review basis: the qualification registry sourced from the Pearson Edexcel Level 3 Advanced GCE in Further Mathematics (9FM0) specification; registry verification recorded 17 July 2026.

How this checking works

FS1-6.1 · Goodness of fit tests and contingency tables. The null and alternative hypotheses. Degrees of freedom.

Explanation

  • For goodness of fit, H0H_0 states in context that the proposed distribution fits; for a contingency table, both hypotheses must name the two classifications, for example H0H_0: travel method is independent of year group and H1H_1: travel method is associated with year group. Use χ2=(OE)2E\chi^2=\sum\dfrac{(O-E)^2}{E}.
  • Goodness-of-fit degrees of freedom are k1mk-1-m after combining, where mm parameters were estimated from the data. For an r×cr\times c contingency table, df=(r1)(c1)df=(r-1)(c-1) and each expected frequency is row total times column total divided by grand total.
  • Cells should be combined sensibly when E<5E<5.
  • In a critical-value test, state the degrees of freedom and the critical value explicitly before comparing it with χ2\chi^2; the critical value can carry its own mark.
  • Finish with a contextual conclusion.

Worked example

A 2×32\times3 contingency table has row totals 60,4060,40, column totals 20,30,5020,30,50 and grand total 100100. Find the expected frequencies and degrees of freedom for a test of independence.

  1. 1.First row expectations: 60(20,30,50)/100=(12,18,30)60(20,30,50)/100=(12,18,30).
  2. 2.Second row expectations: 40(20,30,50)/100=(8,12,20)40(20,30,50)/100=(8,12,20).
  3. 3.df=(21)(31)=2df=(2-1)(3-1)=2.

Answer: Expected table (12183081220)\begin{pmatrix}12&18&30\\8&12&20\end{pmatrix}; 22 degrees of freedom.

Common mistakes

  • Don't use observed rather than expected frequency in the denominator of each contribution.
  • Don't calculate contingency-table degrees of freedom as rc1rc-1.
  • Don't combine a cell with E<5E<5 but forget to recalculate the number of groups and degrees of freedom.

Exam tip

Show one expected-frequency calculation and state the degrees-of-freedom formula before using the calculator.

Tier 1 · Easy

  1. 1.

    A goodness-of-fit test has four categories with model probabilities 0.1,0.2,0.3,0.40.1,0.2,0.3,0.4 and a sample size of 120120. No parameter is estimated. Find the expected frequencies and the degrees of freedom.

    (3)

    (Total for Question 1 is 3 marks)

  2. 2.

    A study records whether each of 8080 people completes a task. The observed counts are completednot completedmethod A2416method B1822\begin{array}{c|rr}&\text{completed}&\text{not completed}\\ \hline \text{method A}&24&16\\ \text{method B}&18&22\end{array}. Use a 5%5\% significance level to investigate whether completion is independent of method. The critical value for 11 degree of freedom is 3.8413.841.

    (6)

    (Total for Question 2 is 6 marks)

Tier 2 · Standard

  1. 1.

    After fitting a one-parameter model from the same data, five ordered categories have observed frequencies 41,33,17,7,241,33,17,7,2 and expected frequencies 40,32,18,7,340,32,18,7,3. Carry out a goodness-of-fit test at the 5%5\% level of significance. The critical value for 22 degrees of freedom is 5.9915.991.

    (8)

    (Total for Question 1 is 8 marks)

  2. 2.

    The observed frequencies of XX are 1414 at x=0x=0, 2626 at x=1x=1, 2828 at x=2x=2, 1818 at x=3x=3, 99 at x=4x=4, 33 at x=5x=5, 11 at x=6x=6 and 11 at x=7x=7; no larger values occur. It is thought that a Poisson distribution is a suitable model for XX. Find an estimate for λ\lambda and carry out a goodness-of-fit test at the 5%5\% level of significance, combining classes where necessary. The 5%5\% critical values with 44 and 66 degrees of freedom are 9.4889.488 and 12.59212.592.

    (7)

    (Total for Question 2 is 7 marks)

  3. 3.

    A machine repeats independent operations until its first success. For 120120 runs, the observed frequencies for a first success on operation 11, 22, 33, 44 and 55 or later are 35,28,20,14,2335,28,20,14,23. Carry out a goodness-of-fit test for a geometric distribution with parameter 0.350.35 at the 5%5\% level of significance. State your hypotheses clearly. The critical value for 44 degrees of freedom is 9.4889.488.

    (7)

    (Total for Question 3 is 7 marks)

Tier 3 · Hard

  1. 1.

    The observed counts for travel method by year group are walkcyclebuscarYear 1024182018Year 1116222022Year 1210203020\begin{array}{c|rrrr}&\text{walk}&\text{cycle}&\text{bus}&\text{car}\\ \hline \text{Year 10}&24&18&20&18\\ \text{Year 11}&16&22&20&22\\ \text{Year 12}&10&20&30&20\end{array}. Test independence at the 5%5\% level of significance. The critical value for 66 degrees of freedom is 12.59212.592.

    (10)

    (Total for Question 1 is 10 marks)

  2. 2.

    The observed counts for response category by training group are ABCDgroup 124411group 21025123group 3166117\begin{array}{c|rrrr}&A&B&C&D\\ \hline \text{group 1}&24&4&1&1\\ \text{group 2}&10&25&12&3\\ \text{group 3}&16&6&11&7\end{array}. Test independence at the 5%5\% level of significance, combining adjacent response categories where required. The 5%5\% critical values with 44 and 66 degrees of freedom are 9.4889.488 and 12.59212.592.

    (8)

    (Total for Question 2 is 8 marks)

  3. 3.

    In 200200 sets of six trials, the observed frequencies for 0,1,2,3,4,5,60,1,2,3,4,5,6 successes are 13,72,72,34,3,6,013,72,72,34,3,6,0. A binomial model B(6,p)B(6,p) is proposed, with pp estimated from these data. Carry out a goodness-of-fit test at the 1%1\% level of significance, combining classes where necessary. The 1%1\% critical values for 33 and 55 degrees of freedom are 11.34511.345 and 15.08615.086 respectively.

    (10)

    (Total for Question 3 is 10 marks)

  4. 4.

    On each search, a wildlife researcher inspects independently selected sites from a large region until finding an occupied nest. Across 200200 searches, the numbers ending at sites 11, 22, 33, 44, 55 and 66 or later are 76,51,31,16,10,1676,51,31,16,10,16 respectively. The complete records show that 500500 sites were inspected altogether. Use 9.4889.488 as the 5%5\% critical value for 44 degrees of freedom. Estimate the parameter of a geometric distribution from these data and carry out a goodness-of-fit test at the 5%5\% level of significance. State your hypotheses clearly.

    (9)

    (Total for Question 4 is 9 marks)

  5. 5.

    A horticulturist classifies seedlings by stem-height band and leaf-colour category. The observed counts are greenpalemottled04 cm2418859 cm1822201014 cm1014161519 cm235\begin{array}{c|rrr}&\text{green}&\text{pale}&\text{mottled}\\ \hline 0\text{--}4\text{ cm}&24&18&8\\ 5\text{--}9\text{ cm}&18&22&20\\ 10\text{--}14\text{ cm}&10&14&16\\ 15\text{--}19\text{ cm}&2&3&5\end{array}. At the 1%1\% level of significance, test whether leaf-colour category is independent of stem-height band, combining adjacent stem-height bands where required. State your hypotheses clearly. The 1%1\% critical values for 44 and 66 degrees of freedom are 13.27713.277 and 16.81216.812 respectively.

    (10)

    (Total for Question 5 is 10 marks)

Answer key

Answers begin on a new printed page so the question pack can be completed without the solutions alongside it.

FS1-6.1 · Goodness of fit tests and contingency tables. The null and alternative hypotheses. Degrees of freedom.

Tier 1 · Easy

Mark scheme for FS1-6.1 Tier 1 · Easy
QuestionSchemeMarks
1
  • Expected frequencies 12,24,36,4812,24,36,48
  • df=3df=3
3
(3 marks)3
Notes
Multiply 120120 by each model probability to obtain 12,24,36,4812,24,36,48. With k=4k=4 groups and no estimated parameter, df=k1=3df=k-1=3.
2
  • H0H_0: completion is independent of method; H1H_1: completion is associated with method
  • Row totals are 40,4040,40 and column totals are 42,3842,38
  • Expected rows are both (21,19)(21,19)
  • χ2=1.80\chi^2=1.80 to 22 decimal places
  • df=1df=1 and 1.80<3.8411.80<3.841
  • Do not reject H0H_0; there is insufficient evidence of an association between completion and method
6
(6 marks)6
Notes
Its row totals are 40,4040,40, its column totals are 42,3842,38, and its grand total is 8080. Under H0H_0, each expected row is (40/80)(42,38)=(21,19)(40/80)(42,38)=(21,19), so every expected frequency exceeds 55. The statistic is 2(32/21+32/19)=1.8045112782(3^2/21+3^2/19)=1.804511278\ldots, which is 1.801.80 to 22 d.p. With df=(21)(21)=1df=(2-1)(2-1)=1, 1.80<3.8411.80<3.841, so do not reject independence.

Tier 2 · Standard

Mark scheme for FS1-6.1 Tier 2 · Standard
QuestionSchemeMarks
1
  • Combine the final two categories, giving observed 41,33,17,941,33,17,9 and expected 40,32,18,1040,32,18,10
  • H0H_0: the fitted model describes the category frequencies; H1H_1: the fitted model does not describe the category frequencies
  • χ2=0.2118\chi^2=0.2118
  • df=2df=2
  • Critical value =5.991=5.991
  • Do not reject H0H_0; there is insufficient evidence that the model does not fit
8
(8 marks)8
Notes
The final expected frequency is 3<53<5, so combine it with the adjacent fourth category. This gives O=(41,33,17,9)O=(41,33,17,9) and E=(40,32,18,10)E=(40,32,18,10). Then χ2=1240+1232+(1)218+(1)210=0.211806\chi^2=\dfrac{1^2}{40}+\dfrac{1^2}{32}+\dfrac{(-1)^2}{18}+\dfrac{(-1)^2}{10}=0.211806\ldots. After combining there are k=4k=4 groups, and one parameter was estimated, so df=k11=2df=k-1-1=2. Since 0.2118<5.9910.2118<5.991, do not reject H0H_0.
2
  • H0H_0: a Poisson distribution fits; H1H_1: a Poisson distribution does not fit
  • λ^=x=200/100=2\widehat\lambda=\overline x=200/100=2
  • For 0,1,2,3,4,5+0,1,2,3,4,5+, E=(13.5335,27.0671,27.0671,18.0447,9.02235,5.26530)E=(13.5335\ldots,27.0671\ldots,27.0671\ldots,18.0447\ldots,9.02235\ldots,5.26530\ldots)
  • Pool 5,6,7,5,6,7,\ldots, giving O=(14,26,28,18,9,5)O=(14,26,28,18,9,5)
  • χ2=0.103834929\chi^2=0.103834929\ldots
  • df=k1m=611=4df=k-1-m=6-1-1=4 and 0.1038<9.4880.1038<9.488
  • Do not reject H0H_0; there is insufficient evidence that a Poisson model is unsuitable
7
(7 marks)7
Notes
The frequencies total 100100 and their weighted sum is 200200, so the fitted parameter is λ^=2\widehat\lambda=2. For XPo(2)X\sim\operatorname{Po}(2), the expected frequencies for 0,1,2,3,40,1,2,3,4 are 13.5335283237,27.0670566473,27.0670566473,18.0447044315,9.022352215813.5335283237\ldots,27.0670566473\ldots,27.0670566473\ldots,18.0447044315\ldots,9.0223522158\ldots. Pooling the upper tail gives observed frequency 55 and expected frequency 100100 minus the first five expectations, namely 5.26530173445.2653017344\ldots. All six expected frequencies now exceed 55. Summing (OE)2/E(O-E)^2/E gives χ2=0.1038349292\chi^2=0.1038349292\ldots. Since one parameter was estimated, df=k1m=611=4df=k-1-m=6-1-1=4. As 0.1038<9.4880.1038<9.488, do not reject H0H_0.
3
  • H0H_0: a geometric distribution with parameter 0.350.35 fits the waiting times; H1H_1: it does not fit the waiting times
  • Ex=120P(X=x)E_x=120P(X=x); for example, E2=120(0.35)(0.65)=27.3E_2=120(0.35)(0.65)=27.3
  • The expected frequencies are 42,27.3,17.745,11.53425,21.4207542,27.3,17.745,11.53425,21.42075
  • χ2=2.114726\chi^2=2.114726\ldots
  • df=51=4df=5-1=4
  • 2.114726<9.4882.114726\ldots<9.488
  • Do not reject H0H_0; there is insufficient evidence that the geometric model fails to describe the machine's waiting times
7
(7 marks)7
Notes
For a geometric variable with p=0.35p=0.35, the probabilities for 1,2,3,4,5+1,2,3,4,5+ are p,pq,pq2,pq3,q4p,pq,pq^2,pq^3,q^4, where q=0.65q=0.65. Multiplication by 120120 gives E=(42,27.3,17.745,11.53425,21.42075)E=(42,27.3,17.745,11.53425,21.42075), all above 55. The cell contributions are 1.1666667,0.0179487,0.2865610,0.5271191,0.11643061.1666667,0.0179487,0.2865610,0.5271191,0.1164306, whose sum is χ2=2.1147260417\chi^2=2.1147260417\ldots. No parameter was estimated, so df=51=4df=5-1=4. Since 2.114726<9.4882.114726\ldots<9.488, do not reject the geometric model; the data do not provide sufficient evidence that it fails to describe these waiting times.

Tier 3 · Hard

Mark scheme for FS1-6.1 Tier 3 · Hard
QuestionSchemeMarks
1
  • H0H_0: travel method is independent of year group; H1H_1: travel method is associated with year group
  • Expected row in each case: (16.667,20,23.333,20)(16.667,20,23.333,20)
  • χ2=9.577\chi^2=9.577
  • df=6df=6
  • Critical value =12.592=12.592
  • Do not reject H0H_0; there is insufficient evidence of an association between travel method and year group
10
(10 marks)10
Notes
Each row total is 8080, the column totals are 50,60,70,6050,60,70,60, and the grand total is 240240. Thus every expected row is (80/240)(50,60,70,60)=(16.6667,20,23.3333,20)(80/240)(50,60,70,60)=(16.6667,20,23.3333,20). Summing (OE)2/E(O-E)^2/E over all 1212 cells gives χ2=9.5771429\chi^2=9.5771429\ldots. The degrees of freedom are (31)(41)=6(3-1)(4-1)=6 and the stated critical value is 12.59212.592. Since 9.577<12.5929.577<12.592, do not reject independence; there is insufficient evidence of an association between travel method and year group.
2
  • H0H_0: response category is independent of training group; H1H_1: response category is associated with training group
  • Column DD has expected frequencies below 55, so combine adjacent response categories CC and DD
  • The combined observed rows are (24,4,2),(10,25,15),(16,6,18)(24,4,2),(10,25,15),(16,6,18)
  • Expected rows are (12.5,8.75,8.75),(20.8333,14.5833,14.5833),(16.6667,11.6667,11.6667)(12.5,8.75,8.75),(20.8333\ldots,14.5833\ldots,14.5833\ldots),(16.6667\ldots,11.6667\ldots,11.6667\ldots)
  • χ2=37.6686\chi^2=37.6686
  • df=(31)(31)=4df=(3-1)(3-1)=4
  • 37.6686>9.48837.6686>9.488
  • Reject H0H_0; there is evidence of an association between response category and training group
8
(8 marks)8
Notes
Its row totals are (30,50,40)(30,50,40), its column totals are (50,35,24,11)(50,35,24,11) and its grand total is 120120. Column DD would have expectations (11/4,55/12,11/3)(11/4,55/12,11/3), all below 55, so combine adjacent response categories CC and DD. The resulting observed rows are (24,4,2),(10,25,15),(16,6,18)(24,4,2),(10,25,15),(16,6,18) and column totals are (50,35,35)(50,35,35). Recomputed expected rows are (12.5,8.75,8.75)(12.5,8.75,8.75), (125/6,175/12,175/12)(125/6,175/12,175/12) and (50/3,35/3,35/3)(50/3,35/3,35/3); all exceed 55. Summing all nine contributions gives χ2=6592/175=37.668571\chi^2=6592/175=37.668571\ldots. The combined table has df=(31)(31)=4df=(3-1)(3-1)=4. Since 37.6686>9.48837.6686>9.488, reject independence; there is evidence of an association between response category and training group.
3
  • H0H_0: a binomial distribution B(6,p)B(6,p) fits the numbers of successes; H1H_1: a binomial distribution does not fit the numbers of successes
  • There are 360360 successes in 12001200 trials, so p^=0.3\widehat p=0.3
  • P(X=x)=(6x)(0.3)x(0.7)6xP(X=x)=\binom6x(0.3)^x(0.7)^{6-x}
  • The expected frequencies for x=0,1,2x=0,1,2 are 23.5298,60.5052,64.827023.5298,60.5052,64.8270
  • The expected frequencies for x=3,4,5,6x=3,4,5,6 are 37.0440,11.9070,2.0412,0.145837.0440,11.9070,2.0412,0.1458
  • Combine x=4,5,6x=4,5,6, giving pooled O=(13,72,72,34,9)O=(13,72,72,34,9) and E=(23.5298,60.5052,64.8270,37.0440,14.0940)E=(23.5298,60.5052,64.8270,37.0440,14.0940)
  • The five cell contributions are 4.712181,2.183786,0.793681,0.250133,1.8411264.712181,2.183786,0.793681,0.250133,1.841126
  • χ2=9.780908\chi^2=9.780908\ldots
  • df=511=3df=5-1-1=3, so 9.780908<11.3459.780908\ldots<11.345
  • Do not reject H0H_0; there is insufficient evidence at the 1%1\% level that a binomial model fails to fit the numbers of successes in the sets of trials
10
(10 marks)10
Notes
The observations contain 72+2(72)+3(34)+4(3)+5(6)=36072+2(72)+3(34)+4(3)+5(6)=360 successes, so p^=360/(200×6)=0.3\widehat p=360/(200\times6)=0.3. Under B(6,0.3)B(6,0.3) the seven expected frequencies are 23.5298,60.5052,64.8270,37.0440,11.9070,2.0412,0.145823.5298,60.5052,64.8270,37.0440,11.9070,2.0412,0.1458. The last two expectations are below 55, and combining only x=5,6x=5,6 still gives 2.187<52.187<5, so combine the adjacent classes x=4,5,6x=4,5,6. This reduces the number of classes from 77 to 55 and hence changes the degrees of freedom from 711=57-1-1=5 to 511=35-1-1=3. For the pooled arrays O=(13,72,72,34,9)O=(13,72,72,34,9) and E=(23.5298,60.5052,64.8270,37.0440,14.0940)E=(23.5298,60.5052,64.8270,37.0440,14.0940), the contributions are 4.7121814907,2.1837863033,0.7936805498,0.2501332469,1.84112643684.7121814907,2.1837863033,0.7936805498,0.2501332469,1.8411264368. Their sum is χ2=9.7809080275\chi^2=9.7809080275\ldots. Since this is below the 1%1\% pooled critical value 11.34511.345, do not reject H0H_0; the data provide insufficient evidence at the 1%1\% level against the binomial model.
4
  • H0H_0: a geometric distribution fits the search lengths; H1H_1: a geometric distribution does not fit the search lengths
  • p^=200/500=0.4\widehat p=200/500=0.4
  • P(X=x)=0.4(0.6)x1P(X=x)=0.4(0.6)^{x-1} for x=1,2,3,x=1,2,3,\ldots
  • The expected frequencies for x=1,2,3,4,5,6+x=1,2,3,4,5,6+ are 80,48,28.8,17.28,10.368,15.55280,48,28.8,17.28,10.368,15.552
  • For the open class 6+6+, the expected frequency is 200×0.65=15.552200\times0.6^5=15.552
  • The six cell contributions are 0.2,0.1875,0.1680556,0.0948148,0.0130617,0.01290530.2,0.1875,0.1680556,0.0948148,0.0130617,0.0129053
  • χ2=0.676337\chi^2=0.676337\ldots
  • df=611=4df=6-1-1=4 and 0.676337<9.4880.676337\ldots<9.488
  • Do not reject H0H_0; there is insufficient evidence at the 5%5\% level that the geometric model fails to describe the search lengths
9
(9 marks)9
Notes
The fitted geometric mean is 500/200=2.5500/200=2.5, so p^=1/2.5=0.4\widehat p=1/2.5=0.4, equivalently the number of searches divided by the total number of sites inspected. The probabilities for 1,2,3,4,5,6+1,2,3,4,5,6+ are p,pq,pq2,pq3,pq4,q5p,pq,pq^2,pq^3,pq^4,q^5, where q=0.6q=0.6. Multiplying by 200200 gives E=(80,48,28.8,17.28,10.368,15.552)E=(80,48,28.8,17.28,10.368,15.552), all above 55. The six contributions sum to χ2=3287/4860=0.6763374486\chi^2=3287/4860=0.6763374486\ldots. One parameter was estimated, so df=611=4df=6-1-1=4. Since 0.676337<9.4880.676337\ldots<9.488, do not reject H0H_0; at the 5%5\% level the data do not provide sufficient evidence against the fitted geometric model.
5
  • H0H_0: leaf-colour category is independent of stem-height band; H1H_1: leaf-colour category is associated with stem-height band
  • The row totals are 50,60,40,1050,60,40,10, the column totals are 54,57,4954,57,49, and the grand total is 160160
  • The last row has expected frequencies 3.375,3.5625,3.06253.375,3.5625,3.0625, all below 55
  • Combine the adjacent 1010--1414 cm and 1515--1919 cm groups
  • The combined observed rows are (24,18,8),(18,22,20),(12,17,21)(24,18,8),(18,22,20),(12,17,21)
  • The expected rows are (16.875,17.8125,15.3125)(16.875,17.8125,15.3125), (20.25,21.375,18.375)(20.25,21.375,18.375) and (16.875,17.8125,15.3125)(16.875,17.8125,15.3125)
  • χ2=10.472276\chi^2=10.472276\ldots
  • df=(31)(31)=4df=(3-1)(3-1)=4
  • 10.472276<13.27710.472276\ldots<13.277
  • Do not reject H0H_0; there is insufficient evidence at the 1%1\% level of an association between leaf-colour category and stem-height band
10
(10 marks)10
Notes
Before pooling, the final row has total 1010, so its expected frequencies are 10(54,57,49)/160=(3.375,3.5625,3.0625)10(54,57,49)/160=(3.375,3.5625,3.0625) and do not meet the expected-frequency condition. Combining the two adjacent tallest stem-height bands gives observed rows (24,18,8),(18,22,20),(12,17,21)(24,18,8),(18,22,20),(12,17,21) with row totals 50,60,5050,60,50. Using row total times column total divided by 160160 gives expected rows (16.875,17.8125,15.3125)(16.875,17.8125,15.3125), (20.25,21.375,18.375)(20.25,21.375,18.375) and (16.875,17.8125,15.3125)(16.875,17.8125,15.3125). Their nine contributions sum to χ2=10.472275928\chi^2=10.472275928\ldots. The pooled table is 3×33\times3, so df=4df=4. Since 10.472276<13.27710.472276\ldots<13.277, do not reject independence; at the 1%1\% level there is insufficient evidence of an association between leaf colour and stem height.