xinxi813
unread,Aug 5, 2016, 1:59:05 AM8/5/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lav...@googlegroups.com
Dear list,
I have a single indicator construct. For the purpose of the model, I need to fix the latent variance at 1 and the indicator residual variance at 0. So I have to free the fixed loading. Meanwhile, I need to label this loading so that new defined parameters can be calculated based on the estimate of this loading. How do I do it in lavaan? Thank you very much.
I have tried the following code, did not work:
eta_pre =~ sd_pre*x_pre
eta_pre=~NA*x_pre
eta_pre~~1*eta_pre
x_pre~~ 0*x_pre
Error in lavParseModelString(model) :
lavaan ERROR: duplicate model element in: eta_pre=~NA*x_pre
Best regards,
ya