Question: solve using r studio Question 2 A study investigated the recovery period for COVID-19 patients in two different countries namely Country 1 and Country 2.

Question 2 A study investigated the recovery period for COVID-19 patients in two different countries namely Country 1 and Country 2. Researchers tested the claim that average recovery period (in days) in Country 1 is longer than Country 2 at 1% significance level using random samples of 10000 patients in Country 1 and 7500 patients in county 2 who have recovered a) Conduct the hypothesis testing procedure using critical value approach and interpret your result(Manual Solution). b) Validate your result in part a) manually using R (Use p-value approach). (Manual Computation) c) Using the relevant predefined functions, validate your answer in parts a and b by applying both critical value and p-value approaches. Run Source 1 3 4 5 6 7- 8 9 10- 11 Source on Save # Defining a function 2. hypo.pvalue.mean alfa do NOT reject HO ") 32 } 33} 34 Question 2 A study investigated the recovery period for COVID-19 patients in two different countries namely Country 1 and Country 2. Researchers tested the claim that average recovery period (in days) in Country 1 is longer than Country 2 at 1% significance level using random samples of 10000 patients in Country 1 and 7500 patients in county 2 who have recovered a) Conduct the hypothesis testing procedure using critical value approach and interpret your result(Manual Solution). b) Validate your result in part a) manually using R (Use p-value approach). (Manual Computation) c) Using the relevant predefined functions, validate your answer in parts a and b by applying both critical value and p-value approaches. Run Source 1 3 4 5 6 7- 8 9 10- 11 Source on Save # Defining a function 2. hypo.pvalue.mean alfa do NOT reject HO ") 32 } 33} 34
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
