Professional Documents
Culture Documents
Chi Square Test SL&HL
Chi Square Test SL&HL
Chi Square Test SL&HL
1. The null hypothesis, denoted by 𝐻0 , is the default position, assumed to be true unless there
is significant evidence against it.
2. The alternative hypothesis, denoted by 𝐻1 , specifies how you think the position may have
changed.
Using 𝝌𝟐 𝒕𝒆𝒔𝒕
Using 𝒑 − 𝒗𝒂𝒍𝒖𝒆
If the p-value > the significance level, there is no sufficient evidence to reject 𝐻0 .
So accept 𝐻0
If the p-value < the significance level, there is sufficient evidence to reject 𝐻0 .
So reject 𝐻0 . Accept 𝐻1
In order to investigate whether the choices in the year below follow the same distribution,
he selected a sample of 60 students. Their choices were:
Language Frequency
Spanish 26
German 16
Russian 18
Ibson conducts a 𝜒 2 test at the 5% significance level to test whether the choices in the year
below follow the same distribution .
(c) Fill out a table of observed and expected frequencies and calculate the 𝜒 2 value and the
𝑝 −value.
(d) Calculate the critical value for this test at 5% significance level
𝜒 2 𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 = 5.991
the p-value > the significance level. No sufficient evidence to reject 𝐻0 . So accept 𝐻0
The times taken to solve the same puzzle by a random sample of 50 ten-year-old children are
as follows:
1. A theory predicts that three different types of flower should appear in the ratio 1 ∶ 2 ∶ 3.
A sample of 60 flowers contains 14 flowers of type A, 18 flowers of type B and 28 flowers
of type C. A 𝜒 2 goodness of fit test is used to test the theory at the 10% significance level.
(a) Calculate the expected frequencies and state the number of degrees of freedom.
(c) The critical value is 4.605. State the conclusion of the test. Math AI SL
She asks a random sample of 80 students and obtains the following results:
Sheeba conducts a 𝜒 2 test using a 5% significance level whether the choice is equally
likely.
(b) Write down the expected frequencies and the number of degrees of freedom.
(c) Find the 𝑝-value for the test and hence state the conclusion.
3. A six-sided dice is rolled 120 times, giving the following results: Math AI SL
Outcome 1 2 3 4 5 6
frequency 26 12 16 28 14 24
Is there evidence, at the 2% significance level, that the dice is not fair?
4. Rajesh is practising tennis serves. He takes three serves at a time and records the number of
successful serves. Math AI SL
He believes that this number can be modelled by the binomial distribution B(3, 0.7).
(b) Find the expected frequencies and write down the number of degrees of freedom.
(d) The critical value for the test is 6.25. State the conclusion of the test.
5. Michelle tosses six coins simultaneously and records the number of tails.
She repeats this 600 times. The results are shown in the table. Math AI SL
Number of tails 0 1 2 3 4 5 6
frequency 9 62 120 178 152 67 12
(a) State the distribution of the number of tails for an unbiased coin.
(b) Hence work out the expected frequencies for Michelle’s experiment.
(c) Test at the 5% significance level whether there is evidence that the coins are biased.
(a) Let 𝑋 be the number of correct answers to a single question. Accepting the assumptions
above are correct, state the distribution of 𝑋. Math AI SL
In order to test whether their assumptions are correct, the friends guess answers to 100
questions and record the number of correct answers to each question.
(d) Conduct the test at the 2% significance level and state your conclusion.
7. An athlete believes that her long jump distances follow a normal distribution with mean 5.8 m
and standard deviation 0.8 m. Math AI SL
(a) Assuming her belief is correct, copy the table below and fill in the missing probabilities:
In order to test her belief, she records her distances from a random sample of 100 jumps,
obtaining the following results:
(b) State the number of degrees of freedom for a 𝜒 2 goodness of fit test.
8. A train company claims that times for a particular journey are distributed normally with mean
23 minutes and standard deviation 2.6 minutes. Math AI SL
Sophia takes this train to school and wants to test the company’s claim.
She decides to conduct a 𝜒 2 test and records the durations of 50 randomly selected journeys:
Time(min) < 21.5 21.5 − 22.5 22.5 − 23.5 23.5 − 24.5 > 24.5
frequency 3 8 14 17 8
𝑔(11−𝑔)
𝑃(𝐺 = 𝑔) = , for 𝑔 = 3,4, 5, 6, 7
140
Grade 3 4 5 6 7
frequency 2 10 9 12 7
Test, using a 10% significance level, whether the teacher’s model is appropriate for these data.
Adults Children
Football 8 23
Basketball 12 11
Baseball 10 16
Adults Children
Football 11.6 19.4
Basketball 8.63 14.4
Baseball 9.75 16.3
(d) Julio looks up a list of critical values for his test and finds that the appropriate critical value
is 9.21. What should Julio conclude from the test? (Use 𝝌𝟐 values)
10. Ruby wants to test whether students’ food preferences depend on their age. Math AI SL
She conducts a survey in the school canteen, recording which option each student chooses.
Adults 18 26 51
Children 53 38 47
Conduct a suitable 𝜒 2 test at the 5% significance level, stating your hypotheses and
conclusion clearly.
11. A zoologist investigates whether different types of insect are more common in different
locations. She collects a random sample of insects from a meadow and a forest and counts
the number of ants, bees and flies. Math AI SL
Meadow 26 15 21
Forest 32 6 18
Use a 𝜒 2 test with a 10% significance level to test whether the type of insect found depends
on the location.
12. The table shows information about the mode of transport students use to get to school in four
different cities.
(b) Use a 𝜒 2 test to find out whether there is evidence, that there is a relationship
between the mode of transport and the city. Math AI SL
Car 12 25 48 24
Bus 18 33 12 18
Bicycle 46 12 7 53
Walk 38 8 3 21
1 (a) 10, 20, 30; 2 (b) 1.93 (c) Insufficient evidence that the ratio is different from 1:2:3
3. 𝜒 2 value = 11.6, 𝑝 = 0.0407, insufficient evidence that the dice is not fair
(d) Insufficient evidence that the data does not come from the distribution B(3, 0.7)
5. (a) Binomial, 𝑛 = 6, 𝑝 = 0.5 (b) 9.38, 56.3, 141, 188, 141, 56.3, 9.38
(c) 𝜒 2 value = 7.82; insufficient evidence that the coins are biased
10. 𝜒 2 = 12.14, 𝑝 = 0.00231, sufficient evidence that the age and food choices are not
Independent
11. 𝜒 2 = 4.41, 𝑝 = 0.110, insufficient evidence that type of insect depends on location
𝜒 2 𝑡𝑒𝑠𝑡 > 𝜒 2 𝑐𝑟𝑖𝑡𝑖𝑐𝑎𝑙 , sufficient evidence that city and mode of transport are dependent