R-squared change approaches in Hayes (2021)

33 views
Skip to first unread message

Santiago Garcia

unread,
Jan 11, 2022, 10:58:48โ€ฏAM1/11/22
to lavaan
Hi lavaan group, could someone translate "Approach 3: Direct matrix calculation ofย ๐‘…2๐‘…๐‘’๐‘‘๐‘ข๐‘๐‘’๐‘‘" and "Approach 4: Specifyingย ฮพย 2ย as a saturated correlate in the reduced model" from Hayes (2021) into lavaan syntax for SEM models?
Two examples using data=HolzingerSwineford1939 would be really appreciated.ย 
Hayes T. provides the Mplus code only and I am not able to use that to follow the procedure within the lavaan environment.ย 

Hayes, T. (2021). R-squared change in structural equation models with latent variables and missing data.ย Behavior Research Methods, 1-31.ย https://doi.org/10.3758/s13428-020-01532-y

Thank you very much.
Sant

Terrence Jorgensen

unread,
Jan 11, 2022, 12:05:11โ€ฏPM1/11/22
to lavaan
could someone translate "Approach 3: Direct matrix calculation ofย ๐‘…2๐‘…๐‘’๐‘‘๐‘ข๐‘๐‘’๐‘‘" and "Approach 4: Specifyingย ฮพย 2ย as a saturated correlate in the reduced model" from Hayes (2021) into lavaan syntax for SEM models?
Hayes T. provides the Mplus code onlyย 

The author provides R functions in the appendices for Approach 3, with examples of how to use them in 3 R syntax files (using lavaan) in the electronic supplementary materials (ESM 6 7 and 8).

Approach 4 simply replaces a regression path with a covariance.ย  So if your model has 2 latent predictors "ksi1" and "ksi2" of a latent outcome "eta":

eta ~ ksi1 + ksi2
ksi1 ~~ ksi2 # estimated by default using sem(), or set auto.cov.lv.x=TRUE

Then you would compare that R-squaredย with one from an equivalent model where ksi2 is not a predictor (but is still correlated with eta's residual):

eta ~ ksi1
ksi2 ~~ ksi1 + eta

Terrence D. Jorgensen
Assistant Professor, Methods and Statistics
Research Institute for Child Development and Education, the University of Amsterdam

Reply all
Reply to author
Forward
0 new messages