Description Usage Arguments Value Examples
A function to generate synthetic time series process based on the given structure
1 2 3 4 5 6 7 8 9 10 11 12 13 |
n |
the length of time series |
p |
the number of multivariate time series |
struct |
a character string indicating the structure of the transition matrix, here are three options: sparse, low rank and LS (low rank plus sparse) |
sp_density |
a numeric value, indicating the sparsity density of sparse components, default is 0.1 |
signal |
a numeric value, indicating the magnitude of transition matrix |
rank |
a positive integer, the rank for low rank component |
singular_vals |
a numeric vector, indicating the singular values for the low rank component, the length of singular value must equal to the rank |
spectral_radius |
a numeric value, controlling the stability of the process, default is 0.9 |
sigma |
a numeric matrix, indicating the covariance matrix of noise term |
skip |
a numeric value, indicating the number of skipped time points in the beginning of the process |
seed |
an integer, indicating the seed for random seed. |
A list object, including
the generated time series
the noise term
true transition matrix
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.