loglikelihood {surveillance} | R Documentation |
Calculates the loglikelihood according to the model specified in designRes
.
loglikelihood(theta, designRes)
theta |
vector of parameters θ = (α_1,…,α_m, \bold{λ}, \bold{φ}, \bold{β}, \bold{γ}_1, …, \bold{γ}_m, \bold{ψ}), where \bold{λ}=(λ_1,…,λ_m), \bold{φ}=(φ_1,…,φ_m), \bold{β}=(β_1,…,β_m), \bold{γ_1}=(γ_11,…,γ_(1,2S_1)), \bold{γ_m}=(γ_m1,…,γ_(m,2S_m)), \bold{ψ}=(ψ_1,…,ψ_m). If the model specifies less parameters, those components are omitted. |
designRes |
Result of a call to |
M. Paul, L. Held