Complete the following steps for this module’s R assignment:
A director of research at an acute care hospital observes an increase in the number of patients returning to the hospital within 30 days. The director determines that this is harmful to patients and harmful financially to the hospital. The dataset hospital (Links to an external site.)Links to an external site. contains data on a study the director conducted to determine which factors are related to returning to the hospital in 30 days. You can find a description of the variables in the file on pages 40 and 41 in the Auerbach and Zeitlin text.

  1. Using the CrossTables() function in the gmodels package, create a table comparing “return30” and “gender.” Then, use the data in your table to answer the question: Who is more likely to return within 30 days?
  2. Refer to pages 43-45 in the Auerbach & Zeitlin text (Recoding Data) to create a variable: “age80.”
  3. Using the CrossTables() function in the gmodels package, create a table comparing “return30” and “age80.” Then, use the data in your table to answer the question: Who is more likely to return within 30 days?
  4. Copy and paste your tables from RStudio and findings into a Word document. Use 10-point, Courier font.
  5. Upload your findings.

Sample Solution

This question has been answered.

Get Answer