Answer:
Explanation:
The null and alternative hypothesis:
![H_o \text{: Quality of management and reputation of company are independent}](https://img.qammunity.org/2022/formulas/mathematics/college/aj4xi6o4ar4v2flizi03x9sbvzgnm1jxzu.png)
![H_a \text{: Quality of management is not independent of the reputation of company }](https://img.qammunity.org/2022/formulas/mathematics/college/7di6x5b78geqqbxchjflcpzzdr77gogudu.png)
The observed values:
Excellent Good Fair Total
Excellent 40 25 8 73
Good 35 35 10 80
Fair 25 10 12 47
Total 100 70 30 200
The expected values = (Row total/column total)/grand total)
Excellent Good Fair
Excellent 36.5 25.55 10.95
Good 40 28 12
Fair 23.5 16.45 7.05
O E (O - E)²/E
40 36.5 0.3356
35 40 0.6250
25 23.5 0.0957
25 25.55 0.0118
35 28 1.7500
10 16.45 2.5290
8 10.95 0.7947
10 12 0.3333
12 7.05 3.4755
9.951
![X^2 = \sum ((O-E)^2)/(E) \\ \\ \mathbf{X^2 = 9.951}](https://img.qammunity.org/2022/formulas/mathematics/college/4pg3y6t7f6qpvh66zjxvw5dcx2kst03w6e.png)
Degree of freedom
![df = (r-1)(c-1)](https://img.qammunity.org/2022/formulas/mathematics/college/1fnc7yi81y1fsz2drnyqnknjgoxxep4qzy.png)
![df = (3 - 1 ) (3 - 1)](https://img.qammunity.org/2022/formulas/mathematics/college/64to8su3fvooiao0wnil42qjjw0uv13rod.png)
![df = (2)(2)](https://img.qammunity.org/2022/formulas/mathematics/college/hc26kv1nrcxcu4qgln79v9706h5le5lr2v.png)
![df = 4](https://img.qammunity.org/2022/formulas/mathematics/college/p1dyhppnghxwualxs0bj9bd0zjomqkn9ye.png)
Using Excel formula =CHIDIST(x²,d.f)
The P-value = 0.0413