SINAR11(dgp_params, M_rows, N_cols, dist, dist_ao, prerun)SINAR11
Notedocblock
A struct to define a first-order integer spatial autoregressive (SINAR(1, 1)) model:
\(\qquad X_{t_1, t_2}=\alpha_1 \circ X_{t_1-1, t_2}+\alpha_2 \circ X_{t_1, t_2-1}+\alpha_3 \circ X_{t_1-1, t_2-1}+\varepsilon_{t_1, t_2}.\)
dgp_params::Tuple(α₁::Float64, α₂::Float64, α₃::Float64)Note that α₁, α₂, and α₃ ∈ [0, 1) and α₁ + α₂ + α₃ < 1 to guarantee stationarity.m::IntThe number of rows for the final “SOP” matrix. Note that the final spatial matrix (“picture”) equals m + 1.n::IntThe number of columns for the final “SOP” matrix. Note that the final spatial matrix (“picture”) equals n + 1.prerun::IntA value to initialize the DGP to guarantee stationarity. These number of rows and columns will be discarded for the final spatial matrix.dist::DistributionA distribution for . You can use any univariate distribution from theDistributions.jlpackage.dist_ao::Union{Nothing, Distribution}Nothing or a distribution for additive outliers. For additive outliers you can use any univariate distribution from theDistributions.jlpackage.prerun::IntA value to initialize the DGP to achieve stationarity. These number of rows and columns will be discarded after the initialization.
sar11 = SINAR((0.5, 0.3, 0.2), 11, 11, 100)