--
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.
For more options, visit https://groups.google.com/d/optout.
Hi again,
what if I want to simulate a logit variable with two predictors?
it would be like that
y2dummy <- inv.logit(0.24*x+0.47*y1)>
runif(N)
or like this
#y2dummy <- inv.logit(0.24*x) + inv.logit(0.47*y1)> runif(N)Mikko
<image.png>