Skip to content

Multinomial, quasibinomial and epidemia based models for analyzing the growth of the COVID-19 Omicron (B.1.1.529) variant in Austria

Notifications You must be signed in to change notification settings

fvalka/covid19-austria-omicron

Repository files navigation

covid19-austria-omicron

Collection of various models for estimating the growth advantage and spread of the Omicron (B.1.1.529) COVID-19 variant in Austria.

Bayesian Multinomial GLMM

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. Multinomial GLMM fit

Projection based upon the multinomial GLMM. Multinomial GLMM projection

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. Multinomial GLMM projection

Epidemia Time-Varying Effective Reproduction-Number Model

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.

Quasibinomial GLM

A quasibinomial GLM was also implemented to provide an additional cross-check for the Bayesian multinomial GLMM results.

Fit of the quasibinomial GLM Binomial GLM fit

Fit shown on a log-odds scale Binomial GLM fit, log odds

Variant plots

Various variant plots were also implemented.

An area plot showing the variant cases as a proportion of all cases. Variants assigned

An area plot showing th variant cases as a proportion only of the cases assigned to any variant of concern. Variants only

Build

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)

Data Sources

Variant of concern cases identified using variant specific PCR or sequencing are loaded from the weekly case data published by AGES.

SARS-CoV-2-Varianten in Österreich

About

Multinomial, quasibinomial and epidemia based models for analyzing the growth of the COVID-19 Omicron (B.1.1.529) variant in Austria

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages