In: Statistics and Probability
5-year Survival |
|||
Treatment |
No |
Yes |
Total |
Yes |
4300 |
750 |
5050 |
No |
7200 |
650 |
7850 |
Total |
11500 |
1400 |
12900 |
Q: is the treatment effective? (Calculate and show the chi-squared test p value in your answer.) |
using excel>addin>phstat>nultiple sample test
we have
Chi-Square Test | ||||||
Observed Frequencies | ||||||
5 year survival | Calculations | |||||
treatment | no | yes | Total | fo-fe | ||
yes | 4300 | 750 | 5050 | -201.938 | 201.938 | |
no | 7200 | 650 | 7850 | 201.938 | -201.938 | |
Total | 11500 | 1400 | 12900 | |||
Expected Frequencies | ||||||
5 year survival | ||||||
treatment | no | yes | Total | (fo-fe)^2/fe | ||
yes | 4501.938 | 548.062 | 5050 | 9.058088 | 74.40572 | |
no | 6998.062 | 851.938 | 7850 | 5.827178 | 47.8661 | |
Total | 11500 | 1400 | 12900 | |||
Data | ||||||
Level of Significance | 0.05 | |||||
Number of Rows | 2 | |||||
Number of Columns | 2 | |||||
Degrees of Freedom | 1 | |||||
Results | ||||||
Critical Value | 3.841459 | |||||
Chi-Square Test Statistic | 137.1571 | |||||
p-Value | 1.11E-31 | |||||
Reject the null hypothesis |
H0:the treatment is not effecticve
Ha:the treatment is effecticve
the value of chi square is 137.157
p value is 0.000
since p value is less than 0.05 so we reject ho and conclude that the treatment is effecticve