View source: R/log_lin_ic_plot.R
log_lin_ic_plot | R Documentation |
Scatter plot of information criteria versus the number of lags in log-linear Poisson Network Autoregressive model of order
p
with q
covariates (log-PNAR(p
)).
log_lin_ic_plot(y, W, p = 1:10, Z = NULL, uncons = FALSE, ic = "QIC")
y |
A |
W |
The |
p |
A vector with integer numbers, the range of lags in the model, for which the AIC, BIC and QIC will be computed. |
Z |
An |
uncons |
Logical, if TRUE an unconstrained optimization without stationarity constraints is performed (default is FALSE). |
ic |
The information criterion you want to plot, "QIC" (default value), "AIC" or "BIC". |
The function computes the AIC, BIC or QIC for a range of lag orders of the
log-linear Poisson Network Autoregressive model of order p
with q
covariates (PNAR(p
)).
A scatter plot with the lag order versus either QIC (default), AIC or BIC, and a vector with their values, for each lag order.
Mirko Armillotta, Michail Tsagris and Konstantinos Fokianos.
Armillotta, M. and K. Fokianos (2023). Nonlinear network autoregression. Annals of Statistics, 51(6): 2526–2552.
Armillotta, M. and K. Fokianos (2024). Count network autoregression. Journal of Time Series Analysis, 45(4): 584–612.
Armillotta, M., Tsagris, M. and Fokianos, K. (2024). Inference for Network Count Time Series with the R Package PNAR. The R Journal, 15/4: 255–269.
log_lin_estimnarpq, lin_ic_plot
data(crime)
data(crime_W)
log_lin_ic_plot(crime, crime_W, p = 1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.