likelihood_probM: Likelihood function for time-varying microcephaly

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Calculates the likelihood of observing a vector of microcephaly births given the total number of births and microcephaly probabilities. Note that all vectors must be equal lengths.. Assuming binomial distribution.

Usage

1
likelihood_probM(microBirths, allBirths, probM)

Arguments

microBirths

the vector of observed microcephaly cases over time

allBirths

the corresponding total number of births

probM

the corresponding vector of microcephaly probabilities as calculated by generate_probM.

Value

a single likelihood value


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