glmstarma ModelsList of control parameters to be passed to the glmstarma.sim function.
glmstarma_sim.control(
return_burn_in = FALSE,
init_link = "parameter",
use_sparsity = TRUE,
sparsity_threshold = 2/3
)A named list of control parameters
Logical; if TRUE, include the burn-in period in the returned simulated data. Default is FALSE.
Character or matrix. Method to initialize first link values in the burn-in period. See details.
Logical; whether to use sparse matrices for the neighborhood matrices.
Numeric in \([0, 1]\). Threshold for proportion of non-zero elements for considering neighborhood matrices as sparse (default: 2/3).
This function validates control arguments for glmstarma.sim.
By default, the initial link values for the burn-in period are generated by calculating the unconditional mean of the process based on the model parameters, ignoring covariates.
Different initial link values can submitted as a numeric matrix, with \(p\) rows (number of locations) and max_time_lag columns (maximum time lag of the model).
glmstarma.sim, glmstarma.control