In: Statistics and Probability
For each of the following situations give the degrees of freedom and an appropriate bound on the P-value (give the exact value if you have software available) for the χ2 statistic for testing the null hypothesis of no association between the row and column variables.
(a) A 2 by 2 table with χ2 = 0.98.
df = | |
P-value = |
(b) A 4 by 4 table with χ2 = 18.31.
df = | |
P-value = |
(c) A 2 by 8 table with χ2 = 22.14.
df = | |
P-value = |
(d) A 5 by 3 table with χ2 = 13.21.
df = | |
P-value = |
I have provided the calculations in image -1,2.
The R-software output for exact p-value is provided in third image.
Command for obtaining p-value is:
1-pchisq(test_statistic_value,df)