when I run the model in lavaan, I get a Rsquared for the Y-model that is through the roof (0.975 vs. 0.2725 in SPSS).
I tried both link = "logit" and the default probit.I am not sure what's going on....
--
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.
I didn't get a warning message when running with the logit link. Thanks for the clarification, it seems to be ignored as the output is actually exactly the same.
lavInspect(fit, "options")$link--
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.
Is there another way to get the mean of the predicted probabilities for the two events from my model?
?predict.glm--
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.
Thank you so much for your quick and helpful reply!
On Thu, Apr 5, 2018, 2:26 PM Terrence Jorgensen <tjorge...@gmail.com> wrote:
--Is there another way to get the mean of the predicted probabilities for the two events from my model?At this point, you would need to write out your regression equation and calculate the predicted probabilities yourself. But you do not have any latent common factors in your model, it is just a path analysis. So you can run the separate regression models in glm() and use the predict() function to save your predicted probabilities?predict.glmTerrence D. JorgensenPostdoctoral Researcher, Methods and StatisticsResearch Institute for Child Development and Education, the University of AmsterdamUvA web page: http://www.uva.nl/profile/t.d.jorgensen
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.
Why are there different?