5.06a Chi-squared: contingency tables

179 questions

Sort by: Default | Easiest first | Hardest first
OCR Further Statistics AS Specimen Q3
8 marks Standard +0.3
Carl believes that the proportions of men and women who own black cars are different. He obtained a random sample of people who each owned exactly one car. The results are summarised in the table below.
BlackNon-black
Men6971
Women3055
Test at the 5\% significance level whether Carl's belief is justified. [8]
WJEC Further Unit 2 2018 June Q6
10 marks Moderate -0.3
A student, considering options for the future, collects data on education and salary. The table below shows the highest level of education attained and the salary bracket of a random sample of 664 people.
Fewer than 5 GCSE5 or more GCSE3 A LevelsUniversity degreePost graduate qualificationTotal
Less than £20 0001832202810108
£20 000 to £60 000509511215550462
More than £60 0003222935594
Total7114916121865664
By conducting a chi-squared test for independence, the student investigates the relationship between the highest level of education attained and the salary earned.
  1. State the null and alternative hypotheses. [1]
  2. The table below shows the expected values. Calculate the value of \(k\). [2]
    Expected valuesFewer than 5 GCSE5 or more GCSE3 A LevelsUniversity degreePost graduate qualification
    Less than £20 000\(k\)24·2326·1935·4610·57
    £20 000 to £60 00049·40103·67112·02151·6845·23
    More than £60 00010·0521·0922·7930·869·20
  3. The following computer output is obtained. Calculate the values of \(m\) and \(n\). [2]
    Chi Squared ContributionsFewer than 5 GCSE5 or more GCSE3 A LevelsUniversity degreePost graduate qualification
    Less than £20 0003·604530799\(m\)1·461651·56860·03098
    £20 000 to £60 0000·0072727350·725354E-060·072640·50396
    More than £60 0004·9466198630·038971·690810·55498\(n\)
    X-squared = 19·61301, df = 8, p-value = 0·0119
    1. Without carrying out any further calculations, explain how X-squared = 19·61301 (the \(\chi^2\) test statistic) was calculated. [2]
    2. Comment on the values in the "Fewer than 5 GCSE" column of the table in part (c). [2]
  4. The student says that the highest levels of education lead to the highest paying jobs. Comment on the accuracy of the student's statement. [1]
WJEC Further Unit 2 Specimen Q7
12 marks Moderate -0.5
The Pew Research Center's Internet Project offers scholars access to raw data sets from their research. One of the Pew Research Center's projects was on teenagers and technology. A random sample of American families was selected to complete a questionnaire. For each of their children, between and including the ages of 13 and 15, parents of these families were asked: Do you know your child's password for any of [his/her] social media accounts? Responses to this question were received from 493 families. The table below provides a summary of their responses.
Age (years)\multirow{2}{*}{Total}
\cline{2-4} Parent know password131415
Yes767567218
No66103106275
Total142178173493
  1. A test for significance is to be undertaken to see whether there is an association between whether a parent knows any of their child's social media passwords and the age of the child.
    1. Clearly state the null and alternative hypotheses.
    2. Obtain the expected value that is missing from the table below, indicating clearly how it is calculated from the data values given in the table above.
    Expected values:
    Age (years)
    \cline{2-4} Parent knows password131415
    Yes62.7978.7176.50
    No99.2996.50
    1. Obtain the two chi-squared contributions that are missing from the table below.
    Chi-squared contributions:
    Age (years)
    \cline{2-4} Parent knows password131415
    Yes0.1751.180
    No2.2030.935
    The following output was obtained from the statistical package that was used to undertake the analysis: Pearson chi-squared (2) = 7.409 \quad \(p\)-value = 0.0305
    1. Indicate how the degrees of freedom have been calculated for the chi-squared statistic.
    2. Interpret the output obtained from the statistical test in terms of the initial hypotheses. [10]
  2. Comment on the nature of the association observed, based on the contributions to the test statistic calculated in (a). [2]
OCR FS1 AS 2017 Specimen Q3
8 marks Standard +0.3
Carl believes that the proportions of men and women who own black cars are different. He obtained a random sample of people who each owned exactly one car. The results are summarised in the table below.
BlackNon-black
Men6971
Women3055
Test at the 5\% significance level whether Carl's belief is justified. [8]