Description Usage Arguments Value
Gets the log likelihood of a set of observations.
1 | ll.coverage(rho, alpha, obs, campaigns, z, w, cdf.fun, ...)
|
rho |
the rho parameter |
alpha |
the alpha parameter |
obs |
the observations. Must have columns y, date, age |
campaigns |
campaign definitions. Must have columns date, v, N, age.low, age.high |
z |
the z matrix. calculated if null |
w |
the w matrix. calculated if null |
cdf.fun |
the cdf function used to calculate the w.matrix, not needed if w is provided. This is large F in paper eq. 7,8 |
... |
additional arguments to cdf.fun |
the log likelihood of the observations given the parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.