Answered You can hire a professional tutor to get the answer.
suppose you have a data file ithat contains data from a study which reported infection severity for each of 3 hospitals.
Can I get help for this problem in R:
suppose you have a data file ithat
contains data from a study which reported infection severity for each of 3 hospitals. Since Hospital is coded numerically, you will need to convert this variable to a categorical variable using the factor function in R.
a)What differences in severity exist among hospitals. Use 5% level of significance
b)Obtain 95% confidence intervals for mean severity within each hospital.
c)What sample size would be required to detect a difference in means of delta=20 between two hospitals at 5% level of significance with probability 0.8 if the residual standard error from aov fit is used for sd? What is the sample size for delta=10 under same conditions?
d)What difference in means between two hospitals would be detectable with probability 0.8 using a sample size of 40 in each hospital and using the residual standard error from aov fit for sd? The data in the file is the following:
Severity