STAT 100 Lecture Notes - Lecture 10: Null Hypothesis, Odds Ratio, Categorical Variable
Document Summary
Odds, odds ratio, risk, relative risk, proportion, probability, percentage. Testing for a relationship between 2 categorical variables. Chi square test of independence test used for relationship between 2 categorical variables. In the test : ho (null hypothesis) - there is no relationship in population between 2 variables (ex. Flu and shot: ha- there is a relationship in the population between these 2 variables. Side note: angel notes go through the math for this test but we are not responsible to know it. Put the data into a 2 way table table done in last class: called observed count table. Compute what the sample data would look like if no relationship: we create an expected table the table we would expect to see if no relationship. We make decision if p value is less than . 05 and reject hypothesis: if more than . 05 then.