Answer:
1. The chi-squared statistic = 10.36
The degrees of freedom = 17
The p-value for the test = 0.89
2. The range of the p-value from the Chi squared table = 0.75 < p-value < 0.90
Explanation:
1. The Chi squared test is given as follows;
![\chi ^(2) = \sum (\left (Observed - Expected \right )^(2))/(Expected )](https://img.qammunity.org/2021/formulas/mathematics/college/ke3mtluss2hh1jbv5bmetb94832phgh7bs.png)
Therefore,
UTI No UTI % Total
Cranberry juice 8 42 84 50
Lactobacillus 19 30 61 49
Control 18 30 60 50
The chi-squared statistic is given as follows;
![\chi ^(2) = (\left (8- 18\right )^(2))/(18) + (\left (42 - 30\right )^(2))/(30) = 10.36](https://img.qammunity.org/2021/formulas/mathematics/college/r1it5cht7yu2remob3ulqvb0iowhb5qdiv.png)
The chi-squared statistic = 10.36
The degrees of freedom, df = 18 - 1 = 17 since the all of the expected count have a minimum value of 18
With the aid of the calculator we find the p value as p as follows;
![p = 0.9 - (10.36 - 10.085)/(12.972 - 10.085) * (0.9 - 0.75)](https://img.qammunity.org/2021/formulas/mathematics/college/a8bro2cjbpxre8eeok8y02rafu6g2wx8ti.png)
The p-value for the test = 0.89
2. The range of the p-value from the Chi squared table is given as follows;
0.75 < p-value < 0.90.