Description Usage Arguments Author(s)

Simulates an mlVAR model and data with a random variance-covariance matrix for the random effects.

1 2 3 |

`nPerson` |
Number of subjects |

`nNode` |
Number of variables |

`nTime` |
Number of observations per person |

`lag` |
The maximum lag to be used |

`thetaVar` |
Contemporaneous fixed effect variances |

`DF_theta` |
Degrees of freedom in simulating person-specific contemporaneous covariances (e.g., the individual differences in contemporaneous effects) |

`mu_SD` |
Range of standard deviation for the means |

`init_beta_SD` |
Initial range of standard deviations for the temporal effects |

`fixedMuSD` |
Standard deviation used in sampling the fixed effects |

`shrink_fixed` |
Shrinkage factor for shrinking the fixed effects if the VAR model is not stationary |

`shrink_deviation` |
Shrinkage factor for shrinking the random effects variance if the VAR model is not stationary |

Sacha Epskamp ([email protected])

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.