Question: Please be aware that the basic knowledge of R syntax is required for this question. 2. From Fundamentals of Biostatistics by Rosner. Two drugs (A,
Please be aware that the basic knowledge of R syntax is required for this question.

2. From \"Fundamentals of Biostatistics\" by Rosner. Two drugs (A, B) are compared for the medical treatment of duodenal ulcer. For this purpose, patients are carefully matched with regard to age, sex, and clinical condition. The treatment results based on 200 matched pairs Show that for 89 matched pairs both treatments are effective; for 90 matched pairs both treatments are ineffective; for 5 matched pairs drug A is effective, whereas drug B is ineffective; and for 16 matched pairs drug B is effective, whereas drug A is ineffective. a) Conduct a test (SHOW and LABEL ALL steps) in order to assess the association between the variables at play. Report the test statistic with at least two decimals and use R to obtain the p-value with at least 5 decimals. [4 marks] b) Conduct a test (SHOW and LABEL ALL steps) in order to assess the association between the variables at play but this time consider a table in which the 400 individuals are cross-classied according to treatment and outcome but ignoring the pairing. Report the test statistic with at least two decimals and use R to obtain the p-value with at least 5 decimals. [4 marks] c) What difference did you nd between your results in parts a) and b)? Focus on the test statistic values and the p-values. Which method do you think is best to use when analyzing the data from the initial paragraph? The one from part a) or the one from part b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
