Error in `[.data.frame`(data, , unlist(ov.names)) :
undefined columns selected
It looks like it expects visual, textual, and speed
to be variables in the dataframe, rather than latent constructs.Error in solve.default(E) : Lapack routine dgesv: system is exactly singular: U[1,1] = 0 Warning messages: 1: In estimateVCOV(lavaanModel, samplestats = lavaanSampleStats, options = lavaanOptions, : lavaan WARNING: could not compute standard errors! 2: In pchisq(chisq, df) : NaNs produced
Thanks!
If I get it right you can use <~for constructing a formative scale and =~for a reflective one?
Can you use for both of them the cfa function?
Does it suffice to use the syntax of the reflective scale modeling, but only adjusting for <~?For the formative scale, do you have to correlate the items immediately in your syntax or afterwards after exploring the modification indices?
Here below you can find my syntax. Y, Z or X respresents latent factors. v combined with a number represents a manifest variable.
library (lavaan)
SEmodel <- ‘ Z <~Y1 + Y2 + Y3 + Y4 + v60_R + Y6 + Y7
Y1 =~ v71 + v72
Y2 =~v4801 + v4802 + v4803 + v4804 + v4805 + v4806 + v4807 + v4809
Y3 <~X1 + X2 + v50_R + v51_R + v40_R
X1 =~ v3503 + v3509 + v3510
X2 =~v3504 + v3507 + v3508
Y4 <~ v61_R + v62_R
Y6 <~v80_R + v26_R + v27_R + X3
X3 =~ v3201 + v3202 + v3203 + v3204 + v3205 + v3206 + v3207 + v3208Y
Y7 <~v90_R + v91_R’
Fit <- cfa(SEmodel, data = Dataset1)
Summary (fit, fit.measures=TRUE, standardized=TRUE, modindices=TRUE)
I am wondering if I have to add in my model the correlations between the formative indicators of one factor. For example of factor Z, the correlations between Y1, Y2, Y3, Y4, v60_R , Y6 ,Y7. Or should I wait for the modification indices and their values?
Thank you very much for your help. Kind regards,
Sofie
--
You received this message because you are subscribed to a topic in the Google Groups "lavaan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lavaan/hnMCckaARoo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lavaan+un...@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at http://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.
I am wondering if I have to add in my model the correlations between the formative indicators of one factor. For example of factor Z, the correlations between Y1, Y2, Y3, Y4, v60_R , Y6 ,Y7. Or should I wait for the modification indices and their values?
--
Y1 =~ v71 + v72
Y2 =~v4801 + v4802 + v4803 + v4804 + v4805 + v4806 + v4807 + v4809
Y3 <~X1 + X2 + v50_R + v51_R + v40_R
X1 =~ v3503 + v3509 + v3510
X2 =~v3504 + v3507 + v3508
Y4 <~ v61_R + v62_R
Y6 <~v80_R + v26_R + v27_R + X3
X3 =~ v3201 + v3202 + v3203 + v3204 + v3205 + v3206 + v3207 + v3208Y
Y7 <~v90_R + v91_R
Here are some reflective scales and for every Y there are manifest variables?
Thank you all for your help,
Kind regards,
Sofie Van Regenmrotel
--
Is it possible with lavaan to estimate a model with only a formative construct and a structural model (no reflective construct) / does it make sense to do so? Something like this, for example:
Would it help to do this, versus just putting the 4 components of y into the second equation directly? Lavaan estimates factor-based models, so it must obey factor-based rules. Under those rules, there is no way for the algorithm to decide the weights for the four components of y.
You could perhaps derive the numbers that you want using a sheaf coefficient:
http://intersci.ss.uci.edu/wiki/pdf/Heise1972NominalInducedandBlockvarsinregressionanal.pdf
The idea is that you allow the components to have direct effects on the ultimate dependent and then transform their combined contribution into an estimate of the coefficient for the composite predicting the dependent. I think it is elegant and under-used.
--Ed Rigdon
--
You received this message because you are subscribed to the Google Groups "lavaan" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lavaan+un...@googlegroups.com.
If your predictors / components are highly correlated, you are going to see negative weights. If you don’t like negative partialed weights, you could avoid them by estimating your sheaf coefficients using correlation weights rather than regression weights. Correlation weights ignore collinearity among the components, so if all zero order correlations with the dependent variable are positive, then the weights will be positive as well.
http://link.springer.com/article/10.1007/s11336-009-9127-y#page-1
Besides avoiding negative weights, correlation weights have superior properties in out-of-sample prediction, except when sample sized is very high and the actual predictability of the dependent variable is quite high.
--Ed Rigdon
From: lav...@googlegroups.com [mailto:lav...@googlegroups.com] On Behalf Of TRM
Sent: Thursday, August 14, 2014 3:09 PM
To: lav...@googlegroups.com
Subject: Re: formative measurement model for CFA
OK, so I derived the components of y1 using the sheaf coefficient (7 variables actually, instead of 4) by "hand" following the steps in Heise's paper, so hopefully they are correct. Is the idea then to take those new coefficients for the formative LV and add them in like this:
--
It is not entirely clear to me what steps you took. If you wanted to derive a value for the formatively defined variable, then yes, you add up the components using the weights. But you don’t add up the weights to get another parameter. As Heise notes in his Step 2, you compute the variance of the formatively defined variable using the standard formula:
Variance of the sum =
Sum of the variances
+ 2 times the sum of the covariances
You need the variance of the formatively defined variable in order to get the sheaf coefficient.
--Ed Rigdon
From: lav...@googlegroups.com [mailto:lav...@googlegroups.com] On Behalf Of TRM
Sent: Thursday, August 14, 2014 3:45 PM
To: lav...@googlegroups.com
Subject: Re: formative measurement model for CFA
Thanks Ed. Was I correct in my model syntax in adding the sheaf-derived coefficients into the formula for the formative variable or have I missed something there?
--
Dear all,
--