--
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+unsubscribe@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/groups/opt_out.
Yves--Thanks for the tip! Factor interactions is coming up in my course.--Ed Rigdon
On Tue, Oct 29, 2013 at 6:07 AM, yrosseel <yros...@gmail.com> wrote:
On 10/28/2013 10:04 PM, Edward Rigdon wrote:
Yves--
Maybe lavaan lacks special features like the random coefficient
method in Mplus, but you can still execute the orthogonalization
procedure of Little et al.:
http://www.tandfonline.com/doi/abs/10.1207/s15328007sem1304_1#.Um7PPfkqhng
https://docs.google.com/viewer?url=http%3A%2F%2Frhowell.ba.ttu.edu%2Flittle_bovaird_widaman_2006.pdf
and replicate Mplus example 5.13.
Yes of course, thanks for reminding me again. It is probably because I have not implemented the LMS method yet that I keep thinking that users are asking for this particular missing feature.
In fact, the semTools packages has an 'indProd' function which makes this a snap to implement.
Yves.
--
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.
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/groups/opt_out.
three.factor <- '#model
f1=~ 0.7*y1 + 0.7*y2 + 0.7*y3
f2=~ 0.7*y4 + 0.7*y5 + 0.7*y6
f3=~ 0.7*y7 + 0.7*y8 + 0.7*y9
#variances
f1~~1*f1
f2~~1*f2
f3~~1*f3
#covariances
f1 ~~ 0.3*f2
f2 ~~ 0.3*f3
#latent regression
f1~ 0.3*f2+0.3*f3 + f2*f3
'
datum <- simulateData(three.factor, sample.nobs=1000)Is there any example on the documentation about how to simulate data in lavaan where a latent interaction (like that f2*f3) is present? if there is not, would you mind sharing one with us, please? it seems like it would be a good thing to have.