tenAR.sim {tensorTS} | R Documentation |
Generate TenAR(p) tensor time series
Description
Simulate from the TenAR(p) model.
Usage
tenAR.sim(t, dim, R, P, rho, cov, A = NULL, Sig = NULL)
Arguments
t |
length of output series, a strictly positive integer. |
dim |
dimension of the tensor at each time. |
R |
Kronecker rank for each lag. |
P |
autoregressive order. |
rho |
spectral radius of coefficient matrix |
cov |
covariance matrix of the error term: diagonal ("iid"), separable ("mle"), random ("svd"). |
A |
coefficient matrices. If not provided, they are randomly generated according to given |
Sig |
only if |
Value
A tensor-valued time series generated by the TenAR(p) model.
See Also
Examples
set.seed(123)
dim <- c(3,3,3)
xx <- tenAR.sim(t=500, dim, R=2, P=1, rho=0.5, cov='iid')
[Package tensorTS version 1.0.2 Index]