In: Statistics and Probability
Looking at this contingency table, how do I find what Cramer's V, Lambda and Chi Square are?
Male | Female | |
---|---|---|
Working Full time | 303 | 263 |
Working part time | 55 | 86 |
School | 12 | 21 |
Keeping House | 8 | 107 |
Not working | 35 | 26 |
Chi Square Statistic
Cramer's V
For us, Chi-square = 90.684
k = 2 (Number of Columns)
n = 916 ( Sum of all cells)
Putting everything in above formula we get
V = 0.3146
Lambda
Let's say independent variable is Gender
Dependent Variable is Work status
Male | Female | Total | |
Working Full time | 303 | 263 | 566 |
Working part time | 55 | 86 | 141 |
School | 12 | 21 | 33 |
Keeping House | 8 | 107 | 115 |
Not working | 35 | 26 | 61 |
Total | 413 | 503 | 916 |
Let's ignore the Independent Variable (Gender) for now.
so, E1 = 141 + 33 + 115 + 61 = 350
Now, Consider the Independent variable now, and computing the prediction errors,
E2 = 55 + 12 + 8 + 35 + 86 + 21 + 107 + 26 = 350
Putting in Formula we get
Lambda = (E1 - E2) / E1 = (350 - 350) / 350 = 0