Practice - Chi Squared Test
Practice - Chi Squared Test
1. A university required all Science students to study one language for one year.
A survey was carried out at the university amongst the 150 Science students. These students all studied
one of either French, Spanish or Russian. The results of the survey are shown below.
Ludmila decides to use the χ2 test at the 5 % level of significance to determine whether the choice of
language is independent of gender.
(c) Find the expected frequency for the females studying Spanish.
(2)
(d) Use your graphic display calculator to find the χ2 test statistic for this data.
(2)
(e) State whether Ludmila accepts the null hypothesis. Give a reason for your answer.
(2)
(Total 8 marks)
2. Tony wants to carry out a χ2 test to determine whether or not a person’s choice of one of the three
professions – engineering, medicine or law – is influenced by the person’s sex (gender).
Of the 400 people Tony interviewed, 220 were male and 180 were female.
80 of the people had chosen engineering as a profession.
Tony used a 5 % level of significance for his test and obtained a p-value of 0.0634 correct to 3 significant
figures.
(d) State Tony’s conclusion to the test. Give a reason for this conclusion.
(2)
(Total 6 marks)
(b) Write down the number of degrees of freedom for this test.
(1)
(d) State whether the type of coffee drunk is independent of gender. Give a reason for your answer.
(2)
(Total 6 marks)
4. The same 100 students are also asked how many meals on average they have per day.
The data collected is organized in the following table.
(a) Write down the null hypothesis, H0, for this test.
(1)
(b) Write down the number of degrees of freedom for this test.
(1)
(d) Show that the expected number of females that have more than 5 meals per day is 13, correct to the
nearest integer.
(2)
(e) Use your graphic display calculator to find the χ2calc for this data.
(2)
A χ2 test was conducted to decide whether the type of drink was independent of age.
(c) Write down the critical value for the χ2 test at the 5 % significance level.
(1)
(d) Write down the conclusion reached at the 5 % significance level. Give a clear reason for your
answer.
(2)
(Total 6 marks)
6. In a study on 100 students there seemed to be a difference between males and females in their choice of
favourite car colour. The results are given in the table below.
A χ2 test was conducted.
Blue Red Green
Males 14 6 8
Females 31 24 17
(b) Show that the expected frequency for males, whose favourite car colour is blue, is 12.6.
(2)
(c) (i) Write down the null hypothesis for this test.
(iv) Determine whether the null hypothesis should be accepted. Give a reason for your answer.
(5)
(Total 8 marks)
SOLUTIONS
(b) 2 (A1)
50 69
(c) = 23 (M1)(A1)(G2)
150
Notes: Award (M1) for correct substituted formula, (A1) for 23.
180 80
(c) (M1)
400
OR
180 80
× 400 (M1)
400 400
= 36 (A1) (C2)
4. (a) H0: The (average) number of meals per day a student has and
gender are independent (A1)
Note: For “independent” accept “not associated” but do not accept “not
related” or “not correlated”.
(b) 2 (A1)
28 45 28 25
(d) = 12.6 = 13 or × 100 = 12.6 = 13 (M1)(A1)(AG)
100 100 100
Notes: Award (M1) for correct formula and (A1) for correct substitution.
Unrounded answer must be seen for the (A1) to be awarded.
6. (a) 28 (A1)
28 45 28 45
(b) 100 (M1)(A1)(ft)
100 100 100
Note: Award (M1) for correct formula, (A1) for correct substitution.
= 12.6 (AG)
Note: Do not award (A1) unless 12.6 seen.
(ii) 2 (A1)
(iv) Accept the null hypothesis since 1.367 < 5.991 (A1)(ft)(R1)
Note: Allow “Do not reject”. Follow through from their null hypothesis
and their critical value.
Full credit for use of p-values from GDC [p = 0.505]
Do not award (A1)(R0). Award (R1) for valid comparison.
[8]