opensafely / immunosuppressant-meds-research

This repo is to support investigations into immunosuppressant medications and COVID-19 outcomes
1 stars 0 forks source link

Origin/fix hospitalisation&icu model #110

Closed katiebechman closed 3 years ago

katiebechman commented 3 years ago

@AnnaB45 - here are the new files 003 define covariates & 202 cox models

AnnaB45 commented 3 years ago

@katiebechman - would you be able to save the changed define covariates file as the same name as the previous one (000_define_covariates.do) rather than saving as a new file? This means that the changes between the current define covariates file and the updated one you've made will be really easy to review.

AnnaB45 commented 3 years ago

@katiebechman - on the cox models file, the current versions in the master branch remove the first loop (over the 13 different datasets) so that the models for each dataset can be run in parallel in the job server - which is much quicker. I think the changes you've made add this loop back in, is this for a particular reason?

Looking at the code the models run against four outcomes:

These are on top of the two existing outcomes that don't need to be rerun (death and positive COVID test), is that right?

katiebechman commented 3 years ago

@AnnaB45 I ahve uploaded baseline covariates saved as 000

AnnaB45 commented 3 years ago

Have moved changes to another branch/pull request so can close this one without merging