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.

The post R Assignment appeared first on Template.

CLAIM YOUR 30% OFF TODAY

X
Don`t copy text!
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
???? Hi, how can I help?