Test the hypothesis that philosophy and charitable giving ar
Test the hypothesis that philosophy and charitable giving are independent using the following data and a 0.5 significance level.
Solution
chi square=N(ad-bc)^2/(a+b)(b+c)(c+d)(a+d)
chi square=4.511
critcal value is 3.8414
since the ts is greater than the critical value, H0 is rejected and we conclude that the two variables are not independent.
| conservative | liberal | total | |
| generous | 60=a | 45=b | 105 |
| chea[p | 40=c | 55=d | 95 |
| total | 100 | 100 | 200 |
