Sigma_Summers_composites: Data: Summers

Sigma_Summers_compositesR Documentation

Data: Summers

Description

A (18 x 18) indicator correlation matrix.

Usage

Sigma_Summers_composites

Format

An object of class matrix (inherits from array) with 18 rows and 18 columns.

Details

The indicator correlation matrix for a modified version of \insertCiteSummers1965;textualcSEM model. All constructs are modeled as composites.

Source

Own calculation based on \insertCiteDijkstra2015;textualcSEM.

References

\insertAllCited

Examples


require(cSEM)

model <- "
ETA1 ~ ETA2 + XI1 + XI2
ETA2 ~ ETA1 + XI3 +XI4

ETA1 ~~ ETA2

XI1  <~ x1 + x2 + x3
XI2  <~ x4 + x5 + x6
XI3  <~ x7 + x8 + x9
XI4  <~ x10 + x11 + x12
ETA1 <~ y1 + y2 + y3
ETA2 <~ y4 + y5 + y6
"

## Generate data
summers_dat <- MASS::mvrnorm(n = 300, mu = rep(0, 18), 
                             Sigma = Sigma_Summers_composites, empirical = TRUE)

## Estimate
res <- csem(.data = summers_dat, .model = model) # inconsistent

## 
# 2SLS
res_2SLS <- csem(.data = summers_dat, .model = model, .approach_paths = "2SLS",
                 .instruments = list(ETA1 = c('XI1', 'XI2', 'XI3', 'XI4'),
                                     ETA2 = c('XI1', 'XI2', 'XI3', 'XI4'))
)


cSEM documentation built on Nov. 25, 2022, 1:05 a.m.