Collection of various models for estimating the growth advantage and spread of the Omicron (B.1.1.529) COVID-19 variant in Austria.
A Bayesian multinomial GLMM is fitted to the variant of concern data from Austria for estimating the growth advantage of Omicron (B.1.1.529) over Delta (B.1.617.2). Currently the Delta, Omicron and Alpha variants of concern are included in the GLMM, since cases of those variants were reported in the investigated period.
A weekly random effect is used in the GLMM to account for overdispersion in weekly case data.
For reasoning behind this choice please see: Harrison, X. A. Using observation-level random effects to model overdispersion in count data in ecology and evolution. PeerJ 2, e616 (2014)..
The Bayesian multinomial GLMM is implemented using brms.
Model sources can be found in /R/functions/model/multinomial_models.R.
Fit of the multionmial GLMM to variants in Austria.
Projection based upon the multinomial GLMM.
Since the representativeness of sampling of variant of concern cases is not guaranteed we also estimated a probability of Omicron becoming dominant (more than half of all cases) based upon a sampling adjustment. This adjustment is 0 for representative sampling, meaning that none of the unsampled/unassigned cases are assumed to actually be Delta. For a sampling adjustment of 1 fully targeted sampling of Omicron cases is assumed, where all Omicron cases would have been found and all unsampled/unassigned cases are assumed to be Delta variant cases.
Based upon this the posterior probability of Omicron being more than half of all cases is calculated.
An experimental epidemia model is also included, for estimating a time-varying reproduction number based upon a sampling factor introduced for accounting for the ratio of cases assigned to any variant of concern to all cases in each week.
Based upon this samples are drawn from the posterior of rt for estimating a multiplicative advantage between the effective time varying reproduction numbers of the Delta and Omicron variants.
This model is still very experimental and under development.
A quasibinomial GLM was also implemented to provide an additional cross-check for the Bayesian multinomial GLMM results.
Various variant plots were also implemented.
An area plot showing the variant cases as a proportion of all cases.
An area plot showing th variant cases as a proportion only of the cases assigned to any variant of concern.
This project uses the renv and targets R packages for reproducible research.
First you need to install renv and then install all required R packages using
renv::restore()
The whole project can then be built using targets by just calling
tar_make()
Full locally parallelized build using targets futures is also supported using for example
tar_make_future(workers=8)
Variant of concern cases identified using variant specific PCR or sequencing are loaded from the weekly case data published by AGES.