loglikelihood {surveillance} | R Documentation |
Calculates the loglikelihood according to the model specified in designRes
.
loglikelihood(theta, designRes)
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).
|
designRes |
Result of a call to make.design |
Returns the loglikelihood
M. Paul, L. Held