structure matrix

56 views
Skip to first unread message

et

unread,
Feb 20, 2016, 12:02:34 PM2/20/16
to lavaan
dear lavaan users,
is there a possibility/command to get the structure matrix (not the pattern matrix) within the fit output of my sem model? 
otherwise, can i maybe extract the structure matrix/correlations of the indicators with the factors via the command 'parameterEstimates'?
thanx a lot for your help!
best,
et

Terrence Jorgensen

unread,
Feb 21, 2016, 9:23:24 AM2/21/16
to lavaan
is there a possibility/command to get the structure matrix (not the pattern matrix) within the fit output of my sem model? 

It isn't explicitly stated as an option in the ?lavInspect help page, but it is part of the option "cor.all"

example(cfa)
lavInspect(fit, "cor.all")

You can extract the rows of indicators and columns of factors to isolate the structure matrix from the rest.

lavInspect(fit, "cor.all")[ paste0("x", 1:9) , c("visual","textual","speed") ]

Terry

et

unread,
Feb 21, 2016, 12:59:21 PM2/21/16
to lavaan
thank you very much, terry!
best,
et

 
Reply all
Reply to author
Forward
0 new messages