Learn R Programming

pwSEM (version 1.0.0)

sim_normal.with.nesting: sim_normal.with.nesting: Simulated data with correlated errors involving endogenous variables, normally-distributed data and without any grouping structure Data generated using this mixed acyclic graph: X1->X2->X3->X4 and X2<->X4

Description

sim_normal.with.nesting: Simulated data with correlated errors involving endogenous variables, normally-distributed data and without any grouping structure Data generated using this mixed acyclic graph: X1->X2->X3->X4 and X2<->X4

Usage

sim_normal.with.nesting

Arguments

Format

'sim_normal.with.nesting'

A data set with 100 rows and 5 columns. The last column "group" holds the grouping structure

X1

A Gaussian variable

X2

A Gaussian variable

X3

A Gaussian variable

X4

A Gaussian variable

group

A character variable holding the group names