Back to OpenIntro Statistics

Inference for categorical data

Inference for one and two proportions, and chi-square tests of goodness of fit and independence for categorical data.

OpenIntro Statistics, Inference for categorical data

Status
FlagsLoading your progress…

23 exercises

Exercise 1

Vegetarian college students. Suppose that 8% of college students are vegetarians. Determine if the following statements are true or false, and explain your reasoning.

  1. The distribution of the sample proportions of vegetarians in random samples of size 60 is approximately normal since n≥30n\geq 30.

  2. The distribution of the sample proportions of vegetarian college students in random samples of size 50 is rig…

3.0

Exercise 3

Orange tabbies. Suppose that 90% of orange tabby cats are male. Determine if the following statements are true or false, and explain your reasoning.

  1. The distribution of sample proportions of random samples of size 30 is left skewed.

  2. Using a sample size that is 4 times as large will reduce the standard error of the sample proportion by one-half.

  3. The distribution of sample proportions of rando…

3.0

Exercise 5

Gender equality. The General Social Survey asked a random sample of 1,390 Americans the following question: “On the whole, do you think it should or should not be the government’s responsibility to promote equality between men and women?” 82% of the respondents said it “should be”. At a 95% confidence level, this sample has 2% margin of error. Based on this information, determine if the following…

3.0

Exercise 7

Fireworks on July 4th{}^{\text{th}}. A local news outlet reported that 56% of 600 randomly sampled Kansas residents planned to set off fireworks on July 4th4^{th}. Determine the margin of error for the 56% point estimate using a 95% confidence level.

3.0

Exercise 9

Study abroad. A survey on 1,509 high school seniors who took the SAT and who completed an optional web survey shows that 55% of high school seniors are fairly certain that they will participate in a study abroad program in college.

  1. Is this sample a representative sample from the population of all high school seniors in the US? Explain your reasoning.

  2. Let’s suppose the conditions for inference…

3.0

Exercise 11

National Health Plan, Part I. A Kaiser Family Foundation poll for US adults in 2019 found that 79% of Democrats, 55% of Independents, and 24% of Republicans supported a generic “National Health Plan”. There were 347 Democrats, 298 Republicans, and 617 Independents surveyed.

  1. A political pundit on TV claims that a majority of Independents support a National Health Plan. Do these data provide stron…

3.0

Exercise 13

Taste test. Some people claim that they can tell the difference between a diet soda and a regular soda in the first sip. A researcher wanting to test this claim randomly sampled 80 such people. He then filled 80 plain white cups with soda, half diet and half regular through random assignment, and asked each person to take one sip from their cup and identify the soda as diet or regular. 53 particip…

3.0

Exercise 15

National Health Plan, Part II. Exercise 6.11 presents the results of a poll evaluating support for a generic “National Health Plan” in the US in 2019, reporting that 55% of Independents are supportive. If we wanted to estimate this number to within 1% with 90% confidence, what would be an appropriate sample size?

3.0

Exercise 17

Social experiment, Part I. A “social experiment” conducted by a TV program questioned what people do when they see a very obviously bruised woman getting picked on by her boyfriend. On two different occasions at the same restaurant, the same couple was depicted. In one scenario the woman was dressed “provocatively” and in the other scenario the woman was dressed “conservatively”. The table below s…

3.0

Exercise 19

Gender and color preference. A study asked 1,924 male and 3,666 female undergraduate college students their favorite color. A 95% confidence interval for the difference between the proportions of males and females whose favorite color is black (pmale−pfemale)(p_{male}-p_{female}) was calculated to be (0.02, 0.06). Based on this information, determine if the following statements about undergraduate college students are true or false…

3.0

Exercise 21

National Health Plan, Part III. Exercise 6.11 presents the results of a poll evaluating support for a generically branded “National Health Plan” in the United States. 79% of 347 Democrats and 55% of 617 Independents support a National Health Plan.

  1. Calculate a 95% confidence interval for the difference between the proportion of Democrats and Independents who support a National Health Plan (pD−pI)(p_{D}-p_{I}), and…

3.0

Exercise 25

Offshore drilling, Part II. Results of a poll evaluating support for drilling for oil and natural gas off the coast of California were introduced in Exercise 6.23.

  1. What percent of college graduates and what percent of the non-college graduates in this sample support drilling for oil and natural gas off the Coast of California?

  2. Conduct a hypothesis test to determine if the data provide strong…

3.0

Exercise 29

HIV in sub-Saharan Africa. In July 2008 the US National Institutes of Health announced that it was stopping a clinical study early because of unexpected results. The study population consisted of HIV-infected women in sub-Saharan Africa who had been given single dose Nevaripine (a treatment for HIV) while giving birth, to prevent transmission of HIV to the infant. The study was a randomized compar…

3.0

Exercise 31

True or false, Part I. Determine if the statements below are true or false. For each false statement, suggest an alternative wording to make it a true statement.

  1. The chi-square distribution, just like the normal distribution, has two parameters, mean and standard deviation.

  2. The chi-square distribution is always right skewed, regardless of the value of the degrees of freedom parameter.

  3. The ch…

3.0

Exercise 33

Open source textbook. A professor using an open source introductory statistics book predicts that 60% of the students will purchase a hard copy of the book, 25% will print it out from the web, and 15% will read it online. At the end of the semester he asks his students to complete a survey where they indicate what format of the book they used. Of the 126 students, 71 said they bought a hard copy o…

3.0

Exercise 35

Quitters. Does being part of a support group affect the ability of people to quit smoking? A county health department enrolled 300 smokers in a randomized experiment. 150 participants were assigned to a group that used a nicotine patch and met weekly with a support group; the other 150 received the patch and did not meet with a support group. At the end of the study, 40 of the participants in the…

3.0

Exercise 37

Offshore drilling, Part III. The table below summarizes a data set we first encountered in Exercise 6.23 that examines the responses of a random sample of college graduates and non-graduates on the topic of oil drilling. Complete a chi-square test for these data to check whether there is a statistically significant difference in responses from college graduates and non-graduates.

3.0

Exercise 39

Active learning. A teacher wanting to increase the active learning component of her course is concerned about student reactions to changes she is planning to make. She conducts a survey in her class, asking students whether they believe more active learning in the classroom (hands on exercises) instead of traditional lecture will helps improve their learning. She does this at the beginning and end…

3.0

Exercise 41

Shipping holiday gifts. A local news survey asked 500 randomly sampled Los Angeles residents which shipping carrier they prefer to use for shipping holiday gifts. The table below shows the distribution of responses by age group as well as the expected counts for each cell (shown in parentheses).

  1. State the null and alternative hypotheses for testing for independence of age and preferred shipping…

3.0

Exercise 43

College smokers. We are interested in estimating the proportion of students at a university who smoke. Out of a random sample of 200 students from this university, 40 students smoke.

  1. Calculate a 95% confidence interval for the proportion of students at this university who smoke, and interpret this interval in context. (Reminder: Check conditions.)

  2. If we wanted the margin of error to be no larg…

3.0

Exercise 45

Life after college. We are interested in estimating the proportion of graduates at a mid-sized university who found a job within one year of completing their undergraduate degree. Suppose we conduct a survey and find out that 348 of the 400 randomly sampled graduates found jobs. The graduating class under consideration included over 4500 students.

  1. Describe the population parameter of interest. W…

3.0

Exercise 47

Rock-paper-scissors. Rock-paper-scissors is a hand game played by two or more people where players choose to sign either rock, paper, or scissors with their hands. For your statistics class project, you want to evaluate whether players choose between these three options randomly, or if certain options are favored above others. You ask two friends to play rock-paper-scissors and count the times eac…

3.0

Exercise 49

Browsing on the mobile device. A survey of 2,254 American adults indicates that 17% of cell phone owners browse the internet exclusively on their phone rather than a computer or other device.

  1. According to an online article, a report from a mobile research company indicates that 38 percent of Chinese mobile web users only access the internet through their cell phones. Conduct a hypothesis test to…

3.0

Adapted from OpenIntro Statistics © 2019 David Diez, Mine Çetinkaya-Rundel & Christopher D. Barr. Licensed under CC BY-SA 3.0. Source: OpenIntro Statistics. Imported at revision fee2509.