In: Statistics and Probability
| Rep | Dem | Ind | total | |
| 20's | 42 | 67 | 19 | |
| 30's | 48 | 59 | 24 | |
| 40's | 45 | 45 | 20 | |
| 50's | 52 | 50 | 18 | |
| 60's+ | 65 | 49 | 18 | |
| total | 
Above is a table listing a samples voting demographic by age. is there evidence of a relationship between any of the variables?
| 
 i cant tell  | 
|
| 
 yes  | 
|
| 
 no  | 
We have used Chi Square test of independence to test the hypothesis. We have used calculator available online to perform the test:

Following is the result obtained using test:

In this case, as the p-value (0.2408) is greater than 0.05 significance level, the relationship is not significant.
Interpretation:
A chi-square test of independence showed that there was no significant association between age and voting preference, X2 (2, N = 621) = 10.3585 p = .
Correct Answer: No