In: Advanced Math
384 patients with coronavirus have been hospitalised in the city hospital. 240 have been treated with anti-viral medication and 144 have not.
Perform a hypothesis test to determine if there is a relationsip between patients being given anti-viral drugs and developing pneumonia. Use a 1% level of significance.
The observed values are presented below.
Anti-viral drug treatment:
with drugs | with no drugs | total | |
Pneumonia | 60 | 120 | 180 |
No pneumonia | 180 | 24 | 204 |
total | 240 | 144 | 384 |
1- fill the expected values in the table below
anti-viral drug treatment
with drugs | with no drugs | total | |
Pneumonia | ? | ? | 180 |
No pneumonia | ? | ? | 204 |
total | 240 | 144 | 384 |
2- fill in the two missing x2 values
contribution to the x2 test statistics
with drugs | with no drugs | ||
pneumonia | 24.5 | ? | |
no pneumonia | ? | 36.0294 |
3- calculate test statistics (2dp)
4- reject H0 if x2 > ___ (3dp)
5- (reject/ do not reject) H0, there is (sufficient/insufficient) evidence to indicate that there is a relationship between drug treatment and pneumonia