Answered You can hire a professional tutor to get the answer.
Use data set HOSPITAL.DAT to answer the following questions via Stata. For each question, need to provide both Stata code and output.
1. Use data set HOSPITAL.DAT to answer the following questions via Stata. For each question, need to provide both Stata code and output.
a. Compute the mean and median for the duration of hospitalization for the 25 patients.
b. Compute the standard deviation and range for the duration of hospitalization for the 25 patients.
c. It is of clinical interest to know if the duration of hospitalization is affected by whether a patient has received antibiotics. Answer this question descriptively using either numeric or graphic methods.