Sigma Prep · sigmaprep.io/worksheets Name Chi-Square Tests for Two-Way TablesAnswer keyVersion 1 Date Period Follow the heading above each group. Name the chi-square test that fits each study, and state its hypotheses in contextSeparate random samples were taken from new cars sold in the U.S. last year: leased new cars and new cars bought outright or financed. Each car was classified by color. Name the chi-square test that fits, and state its hypotheses.A chi-square test for homogeneity (two separate samples, one variable). H0: The distribution of color is the same for leased new cars and new cars bought outright or financed. Ha: The distribution of color is not the same for both groups.- A random sample of 230 hikers in Washington State was classified by whether they hike in a group and by trip length. Name the chi-square test that fits, and state its hypotheses.A chi-square test for independence (one sample, two variables). H0: There is no association between whether they hike in a group and trip length among hikers in Washington State. Ha: There is an association between whether they hike in a group and trip length among hikers in Washington State.
- A researcher randomly assigned 140 plots of a large lawn to one of two seed mixes: seed mix A or seed mix B. After a month, each plot’s grass cover was rated: Thin, Medium or Thick. Name the chi-square test that fits, and state its hypotheses.A chi-square test for homogeneity (two treatment groups, one variable). H0: The distribution of grass cover is the same for the two seed mix groups. Ha: The distribution of grass cover is not the same for both groups.
Check the Random, 10% and Large Counts conditions (every expected count at least 5)A researcher randomly assigned 170 volunteers with high blood pressure to one of three plans: a diet plan, an exercise plan or both plans. After eight weeks, each volunteer’s blood pressure was classified: Down, Same or Up. The table shows the counts. Check the conditions for a chi-square test for homogeneity. Diet Exercise Both TotalDown18131445Same32241773Up20131952Total705050170 Random: met, the plans were randomly assigned. 10%: not needed, because there was no sampling from a population. Large Counts: the smallest expected count is 13.24, at least 5, so met. The conditions are met.Separate random samples were taken from guests of a national hotel chain: guests in the rewards program and guests not in the rewards program. Each guest was classified by way of booking. The table shows the counts. Check the conditions for a chi-square test for homogeneity. Rewards No rewards TotalOnline121426Phone5510Agent11516Total282452 Random: met, separate random samples. 10%: met, it is reasonable that each sample is less than 10% of its group of guests of a national hotel chain. Large Counts: the smallest expected count is 4.62, less than 5, so not met. So the chi-square test should not be used on this table.A random sample of 184 hikers in Washington State was classified by whether they hike in a group and by trip length. The table shows the counts. Check the conditions for a chi-square test for independence. Group Solo TotalDay322658Weekend352661Longer382765Total10579184 Random: met, a random sample. 10%: met, it is reasonable that there are more than 10(184)=1,840 hikers in Washington State. Large Counts: the smallest expected count is 24.90, at least 5, so met. All three are met.
Work from each table. Expected counts and χ2 to two decimal places, P to four placesSeparate random samples were taken from adults in Boston: adults who sleep under 6 hours, adults who sleep 6 to 8 hours and adults who sleep over 8 hours. Each adult was classified by cups of coffee a day. The first table shows the observed counts and the second the expected counts. Which cell contributes the most to χ²? Was its count higher or lower than expected? Observed counts: < 6 h 6–8 h> 8 h0 cups7491201 cup3844182+ cups382522 Expected counts: < 6 h 6–8 h> 8 h0 cups75.0080.0030.001 cup40.5443.2416.222+ cups34.4636.7613.78 > 8 h, 2+ cups: 13.78(22−13.78)2≈4.90, the largest contribution. The observed count, 22, is higher than expected: more of the adults who sleep over 8 hours than expected are in the 2+ cups column.Separate random samples were taken from adults in Minnesota: adults in the north of the state, adults in the center of the state and adults in the south of the state. Each adult was classified by favorite winter activity. In the Central row, Indoors column, the observed count is 19 and the expected count is 21.48. The table shows each cell’s contribution to χ², with that one missing. Find it, then χ², the degrees of freedom and the P-value. North Central SouthSkiing5.043.050.21Skating0.071.110.88Indoors6.31?2.31 21.48(19−21.48)2≈0.29; χ2≈19.27; df=(3−1)(3−1)=4; P=χ²cdf (19.27,1000,4)≈0.0007Separate random samples were taken from library card holders in Denver: card holders with children at home and card holders without children at home. Each card holder was classified by age group. The table shows the counts. Find the expected counts, χ², the degrees of freedom and the P-value. Kids No kids18–34662335–54401955+4438 Expected counts: Kids, 18–34: 58.04; Kids, 35–54: 38.48; Kids, 55+: 53.48; No kids, 18–34: 30.96; No kids, 35–54: 20.52; No kids, 55+: 28.52. χ2≈8.14; df=(2−1)(3−1)=2; P=χ²cdf (8.14,1000,2)≈0.0171
Write each conclusion in context, or interpret the P-valueSeparate random samples were taken from trees in a large national forest: pine trees, oak trees and maple trees. Each tree was classified by health. A chi-square test for homogeneity gives χ2=5.82 and P=0.2130. Interpret the P-value in context.Assuming the distribution of health is the same for pine trees, oak trees and maple trees, there is a 0.2130 probability of getting a χ² statistic of 5.82 or larger by chance in random sampling.- A random sample of 460 voters in Pennsylvania was classified by party and by type of community. A chi-square test for independence gives χ2=15.48, df=4 and P=0.0038. Write a conclusion in context at α=0.05.Because P=0.0038<α=0.05, reject H0. There is convincing evidence of an association between party and type of community among voters in Pennsylvania.
- Separate random samples were taken from baseball fans in the U.S.: fans who buy team gear and fans who do not buy team gear. Each fan was classified by age group. A chi-square test for homogeneity gives χ2=6.73, df=2 and P=0.0346. Write a conclusion in context at α=0.01.Because P=0.0346>α=0.01, fail to reject H0. There is not convincing evidence that the distribution of age group differs between fans who buy team gear and fans who do not buy team gear.
|