Question: Please write R code for following picture ## [1] 0.966 (a) Consider the data table below of a study comparing radiation therapy with surgery in

Please write R code for following picture  Please write R code for following picture ## [1] 0.966 (a)

## [1] 0.966 (a) Consider the data table below of a study comparing radiation therapy with surgery in treating cancer of the larynx. Calculate the Wald and score CIs for the difference of two proportions. (b) Using the coverage function above, estimate the true confidence levels for both the Wald and score CIs for the difference of two probabilities. (c) Now, keeping 2 fixed, calculate estimated coverage probabilities when 1 = seq(from = 0.05, to-0.95, by = 0.05) for both Wald and score intervals. Create a plot comparing these results, and comment on what you see. Cancer Not Controlled Surgery Radiation Therapy Cancer Controlled 21 15 Fs F6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!