Rdocumentation
powered by
Learn R Programming
surveillance (version 1.12.1)
loglikelihood: Calculation of the loglikelihood needed in algo.hhh
Description
Calculates the loglikelihood according to the model specified in
designRes
.
Usage
loglikelihood(theta, designRes)
Arguments
theta
vector of parameters $$\theta = (\alpha_1,\ldots,\alpha_m, \bold{\lambda}, \bold{\phi}, \bold{\beta}, \bold{\gamma}_1, \ldots, \bold{\gamma}_m, \bold{\psi})
designRes
Result of a call to
make.design
Value
Returns the loglikelihood
encoding
latin1
See Also
algo.hhh