posterior_known_inc_seir: Posterior function for forecasting analysis

Description Usage Arguments Value

View source: R/posteriors.R

Description

Using the microcephaly risk model, produces a forecast of microcephaly affected births for all time periods and calculates a likelihood of observing given microcephaly cases NOTE that baselineProb is on a log scale in this analysis

Usage

1
2
posterior_known_inc_seir(pars, startDays, endDays, buckets, microCeph, births,
  zikv, nh, inc_buckets, inc_start, inc_end, solver = "rlsoda")

Arguments

pars

model parameters

startDays

vector of all starting days for reporting buckets

endDays

vector of all end days for reporting buckets

buckets

vector of all reporting bucket sizes

microCeph

vector of reported microcephaly cases

births

vector of birth numbers

zikv

vector of ZIKV incidence

nh

vector of population sizes over time

inc_buckets

vector of reporting windows for ZIKV incidence

inc_start

vector of all start days for ZIKV reporting buckets

inc_end

vector of all end days for reporting ZIKV buckets

solver

which ODE solver to use, either "rlsoda" or "lsoda"

Value

a single value for the posterior


jameshay218/zikaProj documentation built on Jan. 9, 2020, 7:26 p.m.