Description Usage Arguments Value
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.
1 | likelihood_probM(microBirths, allBirths, probM)
|
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. |
a single likelihood value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.