Inference for categorical data: chi-square practice test
Up to 15 AP Statistics questions on inference for categorical data: chi-square, timed at the exam's pace and scored, new every time. Try 3 below first.
Inference for categorical data: chi-square is 2%–3% of the AP Statistics exam's multiple choice. Learn it first in the inference for categorical data: chi-square chapter.
3 free inference for categorical data: chi-square practice questions
Real questions from the Atlas AP Statistics exam pool, with the answer and the working.
Independent random samples of adults were taken from 3 age groups, and each adult was asked which of 4 streaming services he or she uses most. The results are summarized in a two-way table with 3 rows (age groups) and 4 columns (services). A chi-square test of homogeneity gives χ2 = 13.8, and all expected counts are greater than 5. What is the p-value of the test?
- A0.0320
- B0.1296
- C0.2443
- D0.3137
Show the answer
A.
df = (rows − 1)(columns − 1) = (3 − 1)(4 − 1) = 6, and the p-value is the area to the right of 13.8 under the χ2 distribution with 6 degrees of freedom: 0.0320.
0.1296 uses df = 9, multiplying the number of rows (not rows minus 1) by columns minus 1; 0.2443 uses df = 11, the number of cells minus 1; 0.3137 uses df = 12, the number of cells.
A school district selects independent random samples of 150 students from each of its three high schools and asks each student which of four lunch options he or she prefers. The district wants to know whether the distribution of lunch preferences is the same at the three schools. Which procedure is most appropriate?
- AA two-sample t test for a difference between means
- BA chi-square test of homogeneity
- CA chi-square test for independence
- DA two-sample z test for a difference between proportions
Show the answer
B.
Separate random samples from several populations (the schools), compared on the distribution of one categorical variable (lunch preference), call for a test of homogeneity.
Lunch preference is categorical, so it has no mean for a t test to compare; a test for independence uses a single sample classified on two variables; and a two-sample z test compares only two groups on one proportion, not three schools on four options.
A random sample of adults in a city was asked where they get most of their news. The results by age group are shown.
社交媒体 Websites TV or print 18–34 42 35 23 35–54 38 47 35 55 and older 20 38 52 A chi-square test for independence will be performed. What is the expected count of adults aged 18–34 whose main source is tv or print?
- A3.20
- B23.00
- C33.33
- D36.67
Show the answer
C.
If age group and news source are independent, expected count = (row total)(column total)/(grand total) = (100)(110)/330 = 33.33.
3.20 is the cell’s contribution to the chi-square statistic, (O − E)2/E; 23.00 is the observed count, not the expected one; 36.67 splits the column total equally among the three age groups.
Questions people ask
- What is in the AP Statistics Inference for categorical data: chi-square practice test?
- Up to 15 multiple-choice questions from this unit, plus a free-response question when the unit has one, timed at the real exam's pace and scored as a percent. The questions are new every time, drawn from a pool of checked questions.
- How much of the AP Statistics exam is Inference for categorical data: chi-square?
- 2% to 3% of the multiple-choice questions, by the College Board's course and exam description.
- Is it free?
- The 3 questions on this page need no account. With a free Atlas account your first unit test is free; Atlas Premium has no limit.
Other AP Statistics units
- Exploring one-variable data practice test
- Collecting data practice test
- Probability, random variables and probability distributions practice test
- Sampling distributions practice test
- Inference for categorical data: proportions practice test
- Inference for quantitative data: means practice test
- Regression analysis and two-way tables practice test