Description Usage Arguments Value Author(s) Examples
Generates sparse vector autoregressive coefficients matrices and precision matrix from various network structures and using these matrices generates repeated multivariate time series dataset.
1 2 3 |
model |
Specifies the order of vector autoregressive models. Vector autoregressive
model of order 1 is applied if |
time |
Number of time points. |
n.obs |
Number of observations or replicates. |
n.var |
Number of variables. |
seed |
Random number seed. |
prob0 |
Initial sparsity level. |
network |
Specifies the type of network structure. This could be random, scale-free, hub
or user defined structures. Details on simultions from the various network
structures can be found in the R package |
prec |
Precision matrix. |
gamma1 |
Autoregressive coefficients matrix at time lag 1. |
gamma2 |
Autoregressive coefficients matrix at time lag 2. |
A list containing:
theta |
Sparse precision matrix. |
gamma |
Sparse autoregressive coefficients matrix. |
sigma |
Covariance matrix. |
data1 |
Repeated multivariate time series data in longitudinal format. |
Fentaw Abegaz and Ernst Wit
1 2 3 4 5 6 |
Generating data from the multivariate normal distribution with the random graph structure...
done.
Generating data from the multivariate normal distribution with the random graph structure...
done.
Generating data from the multivariate normal distribution with the random graph structure...
done.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.