From essays to dissertations, we have experts for all of your assignments!

dot
  • 1.provide your instructions
  • 2.choose an expert in your field
  • 3.track the order progress

R Assignment

A director of research at an acute care hospital observes an increase in patients returning to the hospital within 30 days. The director determines that this is harmful to patients as well as financially harmful to the hospital. The dataset hospital1 contains data on a study the director conducted to determine what factors are related to returning to the hospital within 30 days. The director wants to test the hypothesis that patients with and without spouses are not equally likely to return within 30 days. The null hypothesis would be that patients with and without spouses are equally likely to return to the hospital within 30 days.

Refer to your textbook and also the R screencast videos on this module’s lecture page for examples.

See pages 111123 in the Auerbach and Zeitlin text and the chi-square video on this module’s lecture page for examples.
Using the CrossTable() function in the gmodels package, create a table comparing “spouse” to “return30.” Interpret the findings you see. Specifically, was the criteria for rejection of the null hypothesis (H0) met? How can you tell?
Copy your table from RStudio and your findings to Word document. Use size-10 Courier font.
Upload your findings.

Requirements
Upload your data table and your findings by the deadline posted on this page.
Your work should be submitted in a document with 10-point Courier font.
This assignment will be graded on the basis of completion.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes