Chi-Square Goodness of Fit, Independence and Error Types: AI HL exam practice with markscheme
Covers chi-square goodness of fit, independence and error types. Work through the 10 questions on paper as if it were the exam, then open each solution and mark your work against the markscheme.
10 questions · 43 marks · about 52 minutes · 7 Paper 1 style, 3 Paper 2 style
A goodness of fit test is performed to see if data fits a Poisson distribution. The data is grouped into 5 categories: 0, 1, 2, 3, and events. The parameter is estimated from the sample data. Calculate the exact number of degrees of freedom for this test.
[2]
Show solution
Use with categories and estimated parameter (): M1 A1
Answer:
Question 2
3 marks · Paper 1 style · calculator allowed
The mean of a normal population with standard deviation is tested with a sample of size : is rejected in favour of if . Given that the true population mean is actually , calculate the probability of making a Type II error, correct to 3 significant figures.
[3]
Show solution
A Type II error is failing to reject when it is false, so find where M1 Standardise: (A1) (3 s.f.) A1
Answer:
Question 3
4 marks · Paper 1 style · calculator allowed
A researcher conducts a Chi-Square test for independence to see if eye color (Blue, Green, Brown, Hazel) is independent of hair color (Blonde, Brown, Black, Red, Other).
Calculate the exact number of degrees of freedom () for this test.
[4]
Show solution
Formula for degrees of freedom in an contingency table: .[M1]
Eye color has categories (rows ) and hair color has categories (columns ). [A1]
Substitute: .[M1] .[A1]
Answer:
Question 4
2 marks · Paper 1 style · calculator allowed
A test is carried out at the significance level.
Define a type I error and state its probability. [2]
Show solution
rejecting when it is true A1
A1
Answer:
Question 5
2 marks · Paper 1 style · calculator allowed
A medical test has : the patient is healthy.
Describe a type II error in context. [2]
Show solution
not rejecting when it is false A1
concluding a sick patient is healthy A1
Answer: a proof: the worked solution above is the full answer
Question 6
5 marks · Paper 2 style · calculator allowed
A dice is rolled times. The frequencies of to are . Test at the level whether the dice is fair.
Carry out the test. [5]
Show solution
: the dice is fair; : it is not A1
expected each A1
,A1A1
: do not reject ; no evidence the dice is unfair R1
Answer:,; do not reject
Question 7
5 marks · Paper 2 style · calculator allowed
The table shows preferred sport by gender for students. Test at the level whether preference is independent of gender.
Football
Tennis
Swimming
Male
45
25
30
Female
30
35
35
Carry out the test. [5]
Show solution
: independent A1
A1
A1
A1
: do not reject R1
Answer:,; do not reject
Question 8
5 marks · Paper 2 style · calculator allowed
A seed company claims its mix is red, white and yellow. In a sample of flowers there are red, white and yellow.
Test the claim at the level. [5]
Show solution
expected A1
A1
A1
A1
do not reject the claim R1
Answer:,; do not reject
Question 9
7 marks · Paper 1 style · calculator allowed
The diagram shows the distributions for a 1-tailed hypothesis test. , against . The population standard deviation is , and sample size . The decision rule is to reject if the sample mean .
Calculate the exact probability of making a Type II error().
[7]
Show solution
A Type II error () is the probability of failing to reject when is true. [M1]
The decision rule is to accept if .[M1]
We must calculate using the distribution (). [M1]
Since we are dealing with a sample mean , the standard deviation of the sampling distribution is .[R1]
Standard error .[M1][A1]
Use GDC Normal CDF: Lower = , Upper = ,,. (to 3 s.f.). [A1]
Answer:
Question 10
8 marks · Paper 1 style · calculator allowed
A researcher claims that the heights of plants in a greenhouse follow a Normal distribution with cm and cm. He categorizes plants into three intervals:
- Group 1: cm
- Group 2: cm to cm
- Group 3: cm
Calculate the expected frequency () for each of the three groups, correct to 1 decimal place.
[8]
Show solution
We use the Normal distribution to find the theoretical probability of falling into each group. [M1]
Group 1 (): Normal CDF (Lower=-9E99, Upper=105, )[M1][A1]
Group 2 (): Normal CDF (Lower=105, Upper=135) [M1][A1]
Group 3 (): Normal CDF (Lower=135, Upper=9E99) [A1]
To find expected frequencies, multiply probabilities by total plants (). [M1] . . .[A1]
Answer: (Group 1) ; (Group 2) ; (Group 3)
How the marks work: M marks are for a correct method, A marks for an accurate answer that follows it, R marks for a reason, and AG means the answer is given in the question. A mark in brackets, like (M1), can be implied by later correct work.