After running my LMS codes, I was warned as follows:> library("nlsem")>> model <- specify_sem(num.x = 20, num.y = 3, num.xi = 7, num.eta = 1,+ xi = "x1-x3, x4~x6, x7~x9, x10~x12, x13~x15,x16-x18, x19~x20",+ eta = "y1-y3", interaction = "eta1~xi1:xi2")Error in value[[3L]](cond) :Wrong input for specifying exogenous or endogonous latent variables (xi or etas). See ?specify_sem.How can I do to revise my codes?I checked and recheck "specifiy_sem", but had no idea about this.
--
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 https://groups.google.com/group/lavaan.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/b227046c-0f95-4311-b277-e806e6abf6a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have identified the problems. x4~x6 should be replaced by x4-x6.
在 2019年5月22日星期三 UTC+8下午11:54:29,周露阳写道:
After running my LMS codes, I was warned as follows:
> library("nlsem")>> model <- specify_sem(num.x = 20, num.y = 3, num.xi = 7, num.eta = 1,+ xi = "x1-x3, x4~x6, x7~x9, x10~x12, x13~x15,x16-x18, x19~x20",+ eta = "y1-y3", interaction = "eta1~xi1:xi2")Error in value[[3L]](cond) :Wrong input for specifying exogenous or endogonous latent variables (xi or etas). See ?specify_sem.How can I do to revise my codes?I checked and recheck "specifiy_sem", but had no idea about this.
--
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 https://groups.google.com/group/lavaan.
To view this discussion on the web visit https://groups.google.com/d/msgid/lavaan/1ba5d6af-2a0b-4994-8e88-cdda699c759a%40googlegroups.com.
At first glance, I'd say it's x16-x18 and y1-y3. All other declarations use ~ and not -. Best.
Am 22.05.19, 17:54, "周露阳" <85853...@gmail.com> schrieb:
After running my LMS codes, I was warned as follows:--> library("nlsem")>> model <- specify_sem(num.x = 20, num.y = 3, num.xi = 7, num.eta = 1,+ xi = "x1-x3, x4~x6, x7~x9, x10~x12, x13~x15,x16-x18, x19~x20",+ eta = "y1-y3", interaction = "eta1~xi1:xi2")Error in value[[3L]](cond) :Wrong input for specifying exogenous or endogonous latent variables (xi or etas). See ?specify_sem.How can I do to revise my codes?I checked and recheck "specifiy_sem", but had no idea about this.
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 lav...@googlegroups.com.