ll.coverage: Gets the log likelihood of a set of observations.

Description Usage Arguments Value

Description

Gets the log likelihood of a set of observations.

Usage

1
ll.coverage(rho, alpha, obs, campaigns, z, w, cdf.fun, ...)

Arguments

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

Value

the log likelihood of the observations given the parameters


vacem documentation built on April 14, 2017, 7:28 p.m.