Unit 5: Inference for categorical variables Lecture 3: Chi-square Test of Independence Statistics 101
Nicole Dalzell June 10, 2015
Goodness of Fit Test Example
Skip Day?
The table below shows the number of pupils absent on particular days in the week. Day of the Week M T W Th F Number of Absences 125 88 85 94 108 A principal believes that students are equally likely to be absent on any day of the week. Based on this data, does it seem like students are equally likely to be absent on any given day of the week?
Statistics 101 (Nicole Dalzell) U5 - L3: Chi-square tests June 10, 2015 2 / 10 Goodness of Fit Test Example
Skip Day?
What are the hypotheses we are testing here? Day of the Week M T W Th F Number of Absences 125 88 85 94 108 Under the null hypothesis, what is the probability of being absent on Monday? Tuesday?
Statistics 101 (Nicole Dalzell) U5 - L3: Chi-square tests June 10, 2015 3 / 10 Chi-square test of independence Obesity and marital status
Obesity and marital status
A study reported in the medical journal Obesity in 2009 analyzed data from the National Longitudinal Study of Adolescent Health. Obesity was defined as having a BMI of 30 or more. The research subjects were followed from adolescence to adulthood, and all the people in the sample were categorized in terms of whether they were obese and whether they were dating, cohabiting, or married. Does there appear to be a relationship between weight and relationship status? Dating Cohabiting Married Obese 81 103 147 Not Obese 359 326 277
Statistics 101 (Nicole Dalzell) U5 - L3: Chi-square tests June 10, 2015 4 / 10