Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adibender/covid19-changepoint-analysis-germany-bavaria
https://github.com/adibender/covid19-changepoint-analysis-germany-bavaria
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/adibender/covid19-changepoint-analysis-germany-bavaria
- Owner: adibender
- Created: 2020-10-27T13:40:50.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-19T12:35:31.000Z (almost 4 years ago)
- Last Synced: 2024-12-20T23:51:32.538Z (2 days ago)
- Language: R
- Size: 40 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Analysis of the early Covid-19 epidemic curve in Germany by regression models with change points
**The code in this repository refers to an initial analysis provided in the preprint. The revised code is available here: https://zenodo.org/record/4449816**
This repository contains code and data needed in order to reproduce results presented in "Analysis of the early Covid-19 epidemic curve in Germany by regression models with change points".
It contains two folders one with data and code for Bavaria, one for Germany:
1. **`bavarian`**:
- **`data`**: Data that contains the raw data for the analysis + additional data for Figure 1
- `graphic_bav.R` : graphic for comparison of the three curves (reported, disease onset, back-projection)
- `backproj_bav.R`: estimates the back-projection and conducts change-point analysis for the infections
- `disease_onset_bav.R`: conducts change-point analysis for the (raw) disease onset data (without back-projection)
- `breakpoint_fun.R` and `breakpoint_fun_onset.R`: These script contain the functions that calculate the breakpoints, which are sourced in the `backproj_bav.R` and `disease_onset_bav.R`2. **`german`**: Equivalent to contents of **`bavarian`** folder except using data for whole Germany.
The whole analysis can be reproduced in one go by running
```r
source("run-analyses.R")
```