To review these concepts, go to Analyzing Categorical Data Study Guide.
Analyzing Categorical Data Practice Questions
Practice
A small sandwich shop has six different sandwiches on the menu: turkey, beef, veggie, salami, ham, and pastrami. Unfortunately, the shop has been losing business and, to save money, has to discontinue one of its sandwiches. The owner of the shop believes that 28%, 12%, 20%, 14%, 22%, and 4% of his customers order turkey, beef, veggie, salami, ham, and pastrami, respectively. He plans a study to determine whether or not these percentages are correct.
- Give the response variable and identify the parameters associated with its categories.
- Identify the hypotheses to be tested.
Find the p-values associated with the following values of the test statistic, x2:
- x2 = 9.348, df= 3
- x2 = 9.348, df = 5
- x2 = 35, df = 11
- x2 = 9.348, df = 10
The sandwich shop owner randomly selected 150 of his customers that purchased a sandwich within the last month and recorded the type of sandwich the customer ordered. Of the 150 orders, 45 ordered turkey, 14 ordered beef, 33 ordered veggie, 16 ordered salami, 37 ordered ham, and 5 ordered pastrami.
- Find the expected counts within each sandwich category.
- Determine the value of the test statistic.
- Find the p-value associated with the test statistic.
- Determine whether or not to reject the null hypothesis and state the conclusion in the context of the problem.
A researcher wanted to know whether men and women drive the same types of vehicles in the researcher's home state. She randomly selected 125 males and 125 females from all vehicle owners in her state and recorded what type of vehicle each drives. The data are presented in Table 20.6.

- State the null and alternative hypotheses of interest to this researcher.
- Find the expected counts.
- Verify whether or not the conditions for the test are satisfied and, if so, find the value of the test statistic.
- Find the p-value.
- Decide whether or not to reject the null hypothesis.
- State the conclusions in the context of the problem.
- The student government wanted to know whether or not the freshmen who live on campus develop more school spirit by the end of the academic year than those who do not live on campus. They commissioned a poll to find out. The pollster randomly selected freshmen to participate in the study. Each selected freshman was asked whether or not he or she lives on campus and asked whether he or she considers him- or herself to have no school spirit, some school spirit, or a lot of school spirit. The results are shown in Table 20.9.

Is there statistical evidence to support an association between whether a freshman lives on campus and the amount of his or her school spirit?
Solutions
- The response variable of interest is the customer's preferred sandwich choice. We may define
pT = proportion of customer's ordering turkey
pB = proportion of customer's ordering beef
pV = proportion of customer's ordering veggie
pS = proportion of customer's ordering salami
pH = proportion of customer's ordering ham
pP = proportion of customer's ordering pastrami
- The set of hypotheses of interest is
H0: pT = 0.28, pB = 0.12, pV = 0.20, pS = 0.14, pH = 0.22, pP = 0.04
Ha: not H0
- p- value = 0.0250
- The p-value is between 0.05 and 0.1.
- p-value < 0.0005
- p-value > 0.3
-

- 3.2452
- p-value > 0.30
- We would not reject the null hypothesis that the percentages of turkey, beef, veggie, salami, ham, and pastrami being ordered are as the sandwich shop owner has hypothesized.
- H0 : p1j = p1, p2j = p2, . . . prj, j = M, F where M stands for males and F stands for females.
Ha : not H0.
-

- The conditions for the test are satisfied. The test statistic = 25.2554.
- p-value < 0.0005
- We reject the null hypothesis.
- Evidence exists that males and females differ in the proportion of the types of vehicles they drive
- X2 = 36.9370; p < 0.001.We conclude to reject the null hypothesis. A relationship exists between whether or not a student lives on campus and how much school spirit he or she has.
Ask a Question
Have questions about this article or topic? AskToday on Education.com
WORKBOOKS
May Workbooks are Here!
WE'VE GOT A GREAT ROUND-UP OF ACTIVITIES PERFECT FOR LONG WEEKENDS, STAYCATIONS, VACATIONS ... OR JUST SOME GOOD OLD-FASHIONED FUN!
Get Outside! 10 Playful Activities
Local SAT & ACT Classes
Popular Articles
- Kindergarten Sight Words List
- The Five Warning Signs of Asperger's Syndrome
- What Makes a School Effective?
- Child Development Theories
- Why is Play Important? Social and Emotional Development, Physical Development, Creative Development
- 10 Fun Activities for Children with Autism
- Test Problems: Seven Reasons Why Standardized Tests Are Not Working
- Bullying in Schools
- A Teacher's Guide to Differentiating Instruction
- Steps in the IEP Process

Celebrate Memorial Day! Worksheets and Activities About American History 
Add your own comment