teo_V {sinar} | R Documentation |
Compute the value of matrix V using the coefficients.
Description
V
is the theoretical matrix from Klimko-Nelson for the SINAR(1,1)
model. Basically, we know
n(a^10−a10,a^01−a01,a^11−a11,μ^ϵ−μϵ)⊤∼MNV(0,Σ)
where
Σ=V−1WV−1.
For more details, check Klimko and Nelson (1978).
Usage
teo_V(a10, a01, a11, mu_e, s2_e)
Arguments
a10 |
is the parameter in the equation X[i,j]a10X[i−1,j]+a01X[i,j−1]+a11X[i−1,j−1]+ϵi,j
|
a01 |
is the parameter in the equation X[i,j]a10X[i−1,j]+a01X[i,j−1]+a11X[i−1,j−1]+ϵi,j
|
a11 |
is the parameter in the equation X[i,j]a10X[i−1,j]+a01X[i,j−1]+a11X[i−1,j−1]+ϵi,j
|
mu_e |
is the mean of the innovations ϵi,j
|
s2_e |
is the standar deviation of the innovations ϵi,j
|
Value
The matrix V estimated empirically.
Examples
n_row <- 20
n_col <- 50
a10 <- 0.2
a01 <- 0.2
a11 <- 0.5
l <- 1 # mean and variance for poison innovations
teo_V(a10, a01, a11, l, sqrt(l))
[Package
sinar version 0.1.0
Index]