loglikelihood {surveillance}R Documentation

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 = (α_1,...,α_m, λ, phi, β, gamma_1, ..., gamma_m, psi),

where λ=(λ_1,...,λ_m), phi=(phi_1,...,phi_m), β=(β_1,...,β_m), gamma_1=(gamma_11,...,gamma_(1,2S_1)), gamma_m=(gamma_m1,...,gamma_(m,2S_m)), psi=(psi_1,...,psi_m).
If the model specifies less parameters, those components are omitted.

designRes Result of a call to make.design

Value

Returns the loglikelihood

Author(s)

M. Paul, L. Held

See Also

meanResponse


[Package surveillance version 1.1-2 Index]