1 Cross-Tabulations We have been looking at these for some time already. An arrangement of two categorical variables into rows and columns. Row variable Column variable Tells about relationships between two categorical variables
2 Depression and a new baby, Fathers | depress baby | 0 1 | Total | | 151 | | | | | | 53 | | | | Total | | 204 | | | |
3 Stress and social class | class stress | Low Middle Upper | Total Low | | 391 | | | | High | | 230 | | | | Total | | 621 | | | |
4 What goes into the cells? Frequencies Cell Margin Total Row percentages Column percentages Total percentages
5 Percentages Independent variable - suspected cause Dependent variable - suspected effect Percentages should be based on the independent or causal variable
6 Stress and social class | class stress | Low Middle Upper | Total Low | | 391 | | | | High | | 230 | | | | Total | | 621 | | | |
7 Make comparisons Compare categories of the independent variable To see effect on proportion in one category of the dependent variable To make comparisons we must be sure the comparisons make sense -- are of the same thing: not apples with oranges!
8 Independence Two variables, A and B, are independent if p(A) = p(A|B) p(Stress) =.37, p(Stress|Hi class) =.19 Also, note p(s|low) =.41 p(s|mid) =.35 p(s|hi) =.19 Also note, these are from the appropriate percentages, since class causes stress.
9 Independence If there is independence, then p(s) = p(s|lo) = p(s|mid) = p(s|hi) What would the frequencies be if there was independence? p(s) =.37 = p(s|lo) = p(s|mid) = p(s|hi) This.37 is taken from the margin (unconditional probability of stress)
10 Apply this | class stress | Low Middle Upper | Total Low | | 391 | | | | High | | 230 | | | | Total | | 621 | |
11 Observed and Expected Are they the same? Then p(s) = p(s|class) -- Independence Are they different? Then p(s) ‡ p(s|class) -- Relationship How can we tell?
12 Look at parts of formula What if we just sum difference without squaring? How big is a difference of 5 points? What happens when there are lots of cells in the table we are looking at?