Answer:
And we can find the p value using the following excel code:
"=1-CHISQ.DIST(20.5,11,TRUE)"
Explanation:
A chi-square goodness of fit test "determines if a sample data matches a population".
A chi-square test for independence "compares two variables in a contingency table to see if they are related. In a more general sense, it tests to see whether distributions of categorical variables differ from each another".
We need to conduct a chi square test in order to check the following hypothesis:
H0: Each month is equally likely to be the birth month for any given individual
H1: Each month is NOT equally likely to be the birth month for any given individual
The statistic to check the hypothesis is given by:
After calculate the statistic we got
![\chi^2 = 20.5](https://img.qammunity.org/2021/formulas/mathematics/college/32nwbdz7o6xrn87c02kr7dgyk99ky43i1p.png)
Now we can calculate the degrees of freedom for the statistic given by:
![df=categories-1=12-1=11](https://img.qammunity.org/2021/formulas/mathematics/college/vfqfyt2679s3q13b42mrp3hfz4m2a1cnyl.png)
And we have categories =12 since we have 12 months in a year
And we can calculate the p value given by:
And we can find the p value using the following excel code:
"=1-CHISQ.DIST(20.5,11,TRUE)"