Part 1. Chi-Square Goodness of Fit Test (equal frequencies)
Four different brands of a pain medication used for chronic back ailments were tested to see if the number of side effects for each brand were the same. The table below lists the results of the reported number of side effects for each brand of pain medication.
[Hint: Be sure to watch the video at Week 5 Resources on the "Chi-Square Goodness-of-Fit test (equal frequencies)" before attempting this problem. Instructions for performing this test in STATDISK can be found in the Statdisk User Manual.]
Use the Chi-Square Goodness-of-Fit test to see if there is a difference between the number of side effects from the different brands of medication. Use a significance level of .01.
What are we trying to show here?
What is the p-value and what does it represent in the context of this problem?
State in your own words what the results of this Goodness-of-fit test tells us.
Repeat the above procedure using only Brands A, B, and D. Paste results here.
Do you get a different result?
Part 2. Chi-Square Goodness of Fit Test (unequal frequencies)
An opinion poll was taken to see how people felt about Health Care reform. Previous poll results indicate that within a particular population 34% were for reform, 41% were against reform, and 25% were uncertain.
[Hint: Be sure to watch the video at Week 5 Resources on the "Chi-Square Goodness-of-Fit test (unequal frequencies)" before attempting this problem. Instructions for performing this test in STATDISK can be found in the Statdisk User Manual.]
Complete the table as necessary.
[Hint: You will need to compute the expected frequencies based on the previous poll results. Round to the nearest integer.]
Use the Chi-Square Goodness-of-Fit test for Unequal frequencies to see if there is a difference between the observed frequencies (this year) and the expected frequencies (based on the previous poll results). Use a significance level of .01.
State the null and alternative hypothesis.
What conclusion would you reach, given the result of your Goodness-of-Fit test? [State in your own words.]
Part 3. Chi-Square Test of Independence
A study was done to test the claim that discharging a newborn infant discharged early (less than 30 hours after birth) is related to re-hospitalization of that infant within a week of discharge.
The following data was collected related to early discharge and re-hospitalization:
Re-hospitalized within 1 week
Early Discharge (less than 30 hours)
Late Discharge (30 - 78 hours)
Hint: Instructions for performing this test in STATDISK can be found in the Stat Disk User's Manual under the heading Chi Square Test of Independence (Contingency Tables).
Just looking at the numbers in the table, what is your best guess about whether early discharge is related to re-hospitalization? [Hint: you might compute the difference in percentages between those that were discharged early and those that were not.]
Compute a Chi-Square Test of Independence on this data using a 0.05 level of significance. Paste your results here.
What is the null and alternative hypothesis for this result?
What is the p-value for this result? What does this represent?
State your conclusion related to the context of this problem.
Part 4. Apply this to your own situation
Using one of the above statistical tests, compose and SOLVE an actual problem from the context of your own personal or professional life. You will need to make up some data and describe which test you will use to analyze the situation. Here's an example:
State the problem that you are analyzing.
Last year, I asked the kids in my neighborhood what kind of cookies they preferred. 50% said chocolate-chip, 20% said oatmeal-raisin, and 30% said sugar cookie. I want to see if this has changed.
Make up some data for the new situation.
I asked 50 neighborhood kids what kind of cookie they preferred now and here's what they said:
35 said chocolate-chip
5 said oatmeal-raisin
10 said sugar-cookie
Determine which type of Chi-Square test you will perform.
Since these are unequal frequencies, I will perform a Chi-Square Goodness-of-Fit Test (Unequal Frequencies).
;;;;;;i8i8Specify your null and alternative hypotheses.
H0: There is no difference this year in the preferences of cookies within the neighborhood kids.
H1: Things have changed.
Setup the test
Perform the test