augment_cases: Augment the time series of cases

Description Usage Details Value Author(s)

View source: R/project.R

Description

Augment the time series of cases for the days ahead to be able to project deaths.

Usage

1
augment_cases(cases, previous, ndays, nsim = 10000)

Details

Augmentation of case data for the next ndays days involves drawing samples from a distribution (here gamma distribution) with parameters estimated from the last previous days.

Value

Matrix of observed and augmented cases. Dimensions of this matrix are (2 * nsim) X (previous) where the observed values are repeated across

Author(s)

Sangeeta Bhatia


sangeetabhatia03/ascertainr documentation built on April 30, 2020, 10:14 a.m.