Statistics Chapter 11 (Associations among categorical variables) Flashcards
In what table do you compare two categorical variables
In a contingency table
What are conditional proportions and what does dependence mean
The proportion of the response variable for one level of the explanatory variable
The the explanatory variable affects the response variable they are associated and dependent
What are the five steps for significance test for categorical variables (for independence or not)
- Assumption
- Hypothesis
- Test statistic
- P-value
- Conclusion
What are the 3 assumptions
- Both variables are categorical
- It is a random sample
- Every cell has 5 samples
In a significance test for categorical variables, what does H0 state
That the variables are independent
P(A and B) = P(A) * P(B)
What does a high X^2 value state
It states that there is strong evidence against H0
It does not state that there is is strong associtation
How do you measure the strength of an association
- Difference in the relative risks (conditional proportions)
- Ratio of relative risks (conditional proportions)
When can you do a z test while comparing two categorical variables
Only if you have 2 columns and 2 rows
If more you have to do a X^2 test
What is the difference between observed and expected frequencies In a significance test for categorical variables
observed is what you actually see and get as results
expected is the frequency you expect if H0 is true