Homework 10

Due: 2025-05-06, 11:59pm

Submission instructions

For this homework you should submit a ZIP archive containing:

  • A single document with the answers to all the following items in HTML format only. Make sure you include plain English blocks in between the code, and its output to interpret what R is giving you.
  • Code file used to generate the answers (RMD format). There should be comments in the code blocks.

  • Please remember to mix your comments with code and output.
  • Do not forget acknowledgements.

1. AKI alert data (100%)

Read in the AKI alert data collected by Wilson and colleagues. The study sought to determine whether electronic health record alerts for Acute Kidney Injury (AKI) would improve patient outcomes.

  • Consult the data dictionary and read in the dataset. How many hospitals are represented in the dataset and how many patients were in each? Make a table.
  • Calculate the proportion of patients who died in 14 days in each of the hospitals.
  • Calculate the log odds ratio for the association between death in 14 days and the AKI alert intervention in each hospital along with the standard error for that estimate.
  • Use a meta-analysis approach to calculate the overall odds ratio for association between death in 14 days and the alert.
  • Make a forest plot of the effects in each of the hospitals and comment.
  • Compare the conclusions from the meta analysis to a linear mixed model with that from a single mixed effects logistic regression model.

2. Acknowledgements

Cite resources or individuals helping you.