Skip to content

Code used to produce the results presented in "A rapid review of evidence for hospital length of stay of COVID-19 patients"

License

Notifications You must be signed in to change notification settings

esnightingale/los_review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-19 length of hospital stay

This repository contains the data and code used to produce the results presented in "COVID-19 length of hospital stay: a systematic review and data synthesis". A pre-print of the manuscript is available here: https://www.medrxiv.org/content/10.1101/2020.04.30.20084780v1

The main analysis dataset can be found in data/LOS analysis dataset.csv. This contains all LoS estimates extracted from the included studies, along with data describing the study and the patient population.

These data are summarised in code/los_summary.R to produce the figures included in the manuscript.

The extracted estimates are combined into summary distributions using the script code/comb_dists.R. A function to sample from the obtained summary distributions for setting = China/Other and type = general/ICU can be found in code/los_create_distributions.R. This function returns a set of sample_size samples from the specified summary distribution, the fitted Weibull parameters of each individual study distribution and the errors between the observed and fitted quantiles.

Contributors

@esnightingale, @NaomiWaterlow, @erees and @samclifford contributed to this repository.

About

Code used to produce the results presented in "A rapid review of evidence for hospital length of stay of COVID-19 patients"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages