Hi all-

 

New to R, and I've managed to learn a bit about Lavaan package for SEM, and
pscl package for analyzing count data.

 

I would like to find a way to combine these analyses as I am hoping to run a
model with a multi-trait, multi-reporter factor (2 reporters by 4 traits
apiece, with one overall factor to represent common variance) as a
predictor, and predict (zero-inflated) count substance use outcomes.

 

Do people have any suggestions for how to do this? It seems that Lavaan
can't handle count data, and I don't know if there is a count data package
that can handle SEM models.

I'm thinking I may have to do a two-step process and run SEM package to get
factor scores, and then put in as a predictor in count outcomes package.

 

Thanks!

Rick

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to