! The following code will run the zero-inflated Poisson (ZIP) model (assuming ! data has been renamed to NegOutcomeData.dat). MPLUS can do the random effects ! model, but this requires a reconstruction of the data set. There's a video on ! the UCLA Stat support website that is quite clear: ! ! http://www.ats.ucla.edu/stat/mplus/seminars/lzip/default.htm ! DATA: FILE is NegOutcomeData.dat; VARIABLE: NAMES ARE MSI das_c infidelityTRUE genderl afc_c sex_c das_c_inf ; COUNT is MSI (i); MODEL: MSI ON das_c infidelityTRUE genderl afc_c sex_c das_c_inf ; MSI#1 ON das_c infidelityTRUE genderl afc_c sex_c das_c_inf ;