testingObsModel: Case Ascertainment observational model for a discrete-time...

View source: R/testing.R

testingObsModelR Documentation

Case Ascertainment observational model for a discrete-time meta-population SIR model.

Description

Generates a testing observation model. There is assumed to be a fixed probability \alpha of an individual being recruited for testing, independent of time and individual. There is then an associated sensitivity and specificity for the test.

Usage

testingObsModel(epidemic)

Arguments

epidemic

Underlying epidemic trajectory

Value

Returns a sampling function and a log-density calculation function.


JMacDonaldPhD/REpi documentation built on Aug. 2, 2022, 2:09 p.m.