Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

VARsim

Simulated time series data for multiple imputation in dynamic modeling.


Description

A dataset simulated using a vector autoregressive (VAR) model of order 1 with two observed variables and two covariates. Data are generated following the simulation design illustrated by Ji and colleagues (2018). Specifically, missing data are generated following the missing at random (MAR) condition under which the probability of missingness in both dependent variables and covariates is conditioned on two completely observed auxiliary variables.

Usage

data(VARsim)

Format

A data frame with 10000 rows and 8 variables

Details

The variables are as follows:

  • ID. ID of the participant (1 to 100)

  • Time. Time index (100 time points from each subject)

  • ca. Covariate 1

  • cn. Covariate 2

  • wp. Dependent variable 1

  • hp. Dependent variable 2

  • x1. Auxiliary variable 1

  • x2. Auxiliary variable 2

References

Ji, L., Chow, S-M., Schermerhorn, A.C., Jacobson, N.C., & Cummings, E.M. (2018). Handling Missing Data in the Modeling of Intensive Longitudinal Data. Structural Equation Modeling: A Multidisciplinary Journal, 1-22.


dynr

Dynamic Models with Regime-Switching

v0.1.16-2
GPL-3
Authors
Lu Ou [aut], Michael D. Hunter [aut, cre] (<https://orcid.org/0000-0002-3651-6709>), Sy-Miin Chow [aut] (<https://orcid.org/0000-0003-1938-027X>), Linying Ji [aut], Meng Chen [aut], Hui-Ju Hung [aut], Jungmin Lee [aut], Yanling Li [aut], Jonathan Park [aut], Massachusetts Institute of Technology [cph], S. G. Johnson [cph], Benoit Scherrer [cph], Dieter Kraft [cph]
Initial release
2021-03-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.