Skip to content
Code for manuscript: "The covariate-adjusted residual estimator and its use in both randomized trials and observational settings"
TeX R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
code
data
manuscript
README.md

README.md

CARE-in-RCTs-and-obs

Code for manuscript: "The covariate-adjusted residual estimator and its use in both randomized trials and observational settings"

To re-run the analysis for this paper follow these steps:

  1. Run the script code/CARE-installation.R. This will install all of the packages needed to run the code.
  2. Run the script code/CARE-simulation.R. This runs the simulation study presented in the manuscript. We also provide the output data from our run of the simulation study in data/simulation-output/sim-output.rds.
  3. Run the script manuscript/CARE-figures.Rnw to create the figures for the manuscript.
  4. Run the script manuscript/CARE-manuscript.Rnw to create the manuscript.
You can’t perform that action at this time.