Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weinbergerlab/brazil_state
State level hospitalization data from Brazil
https://github.com/weinbergerlab/brazil_state
Last synced: 14 days ago
JSON representation
State level hospitalization data from Brazil
- Host: GitHub
- URL: https://github.com/weinbergerlab/brazil_state
- Owner: weinbergerlab
- Created: 2018-05-01T21:33:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-27T20:35:30.000Z (over 6 years ago)
- Last Synced: 2024-11-05T10:32:34.374Z (2 months ago)
- Language: R
- Size: 676 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Brazil_state
State level hospitalization data from BrazilImplements STL+PCA method described by Shioda et al. (https://www.biorxiv.org/content/early/2018/04/27/302224). P This is a fast implementation that uses glmer rather than JAGS. Prediction intervals are calculated that account for both parameter uncertainty, observation uncertainty, and model uncertainty, following roughly apporach of Lauer et al. PNAS for generating prediction intervals.
TO GET STARTED: Save 'stl_pca_parallel_RUN' to computer and open in r studio. Run this file with sample Brazil data (which is automatically loaded from github). With your own data, change parameters listed under "user defined values" at top of code. Input data structure should have same format as sample data ( strata variable that should be a facto/character, date with a yyyy-mm-01 format, and outcome and predictor variables (integers)