In: Statistics and Probability
Response |
||
Treatment |
Favorable |
Unfavorable |
Placebo |
16 |
48 |
Drug |
40 |
20 |
What is the probability of a favorable response for those who took the drug? And for those who took the placebo? Test to see if there is an association between the treatment and the response. You may use computer software to do the calculations, but you must show the equations and values (other than the data in the table) of parameters in the equations. (2 pts)
probability of a favorable response for those who took the drug
=Number of favorable response with drug/total drugs taken by the number of people
=40/(40+20) = 40/60 =0.67
probability of a favorable response for those who took the placebo
=Number of favorable response with placebo/total placebo taken by the number of people
=16/(16+48)
=0.25
#now to check the association we need to do the chi sq test
Ho: There is no relation between Response and Treatment
Ha: There is strong relation between Response and Treatment
Since the p value of the test is less than 0.05 and hence we can say that we need to Reject Ho here
Hence we conclude that there is strong relation between Response variable and Treatment option
Above analysis done in R.
Hope the above answer has helped you in understanding the problem. Please upvote the ans if it has really helped you. Good Luck!!