Description Usage Arguments Details Value Author(s) References See Also Examples
Calculates the composite likelihood information criterion for a latent autoregressive count model fitted through maximum pairwise likelihood.
1 |
object |
a fitted model object of class |
... |
optional arguments. |
Function CLIC
computes the composite likelihood information criterion (Varin and Vidoni, 2005) for a latent autoregressive count model estimated by maximum pairwise likelihood. See Pedeli and Varin (2020) for details.
When comparing models fitted by maximum pairwise likelihood to the same data, the smaller the CLIC, the better the fit.
a numeric value with the corresponding CLIC.
Xanthi Pedeli and Cristiano Varin.
Pedeli, X. and Varin, C. (2020). Pairwise likelihood estimation of latent autoregressive count models. Statistical Methods in Medical Research.doi: 10.1177/0962280220924068.
Varin, C. and Vidoni, P. (2005). A note on composite likelihood inference and model selection. Biometrika, 92, 519–528.
lacm
.
1 2 3 4 5 6 7 8 9 10 | data("polio", package = "lacm")
## model components
trend <- 1:length(polio)
sin.term <- sin(2 * pi * trend / 12)
cos.term <- cos(2 * pi * trend / 12)
sin2.term <- sin(2 * pi * trend / 6)
cos2.term <- cos(2 * pi * trend / 6)
## fit model with pairwise likelihood of order 1
mod1 <- lacm(polio ~ I(trend * 10^(-3)) + sin.term + cos.term + sin2.term + cos2.term)
CLIC(mod1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.