Skip to contents

A simulated cross-lagged dataset with 2 measures (x and y) assessed three times each (x1-x3, y1-y3). The cross-lagged model was generated by get_crosslagged_model() and was fed to simsem::generate() with population parameter values:

  • \(x_t \sim .7 \times x_{t-1}\)

  • \(y_t \sim .7 \times x_{t-1}\)

  • \(x_t \sim .4 \times y_{t-1}\)

  • \(y_t \sim .4 \times y_{t-1}\)

  • \(x_t \sim\sim .35 \times x_t\)

  • \(y_t \sim\sim .35 \times y_t\)

  • \(y_t \sim\sim .25 \times x_t\)

Usage

df

Format

A data frame with 500 rows and 6 variables:

x1

Numeric variable

x2

Numeric variable

x3

Numeric variable

y1

Numeric variable

y2

Numeric variable

y3

Numeric variable

Source

Simulated data using the simsem package