10.07.2015 Views

Mplus Users Guide v6.. - Muthén & Muthén

Mplus Users Guide v6.. - Muthén & Muthén

Mplus Users Guide v6.. - Muthén & Muthén

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 3EXAMPLE 3.8: ZERO-INFLATED POISSON AND NEGATIVEBINOMIAL REGRESSIONTITLE: this is an example of a zero-inflatedPoisson regression for a count dependentvariable with two covariatesDATA: FILE IS ex3.8a.dat;VARIABLE: NAMES ARE u1-u6 x1-x4;USEVARIABLES ARE u1 x1 x3;COUNT IS u1 (i);MODEL: u1 ON x1 x3;u1#1 ON x1 x3;The difference between this example and Example 3.1 is that thedependent variable is a count variable instead of a continuous variable.The COUNT option is used to specify which dependent variables aretreated as count variables in the model and its estimation and whether aPoisson or zero-inflated Poisson model will be estimated. In the firstpart of this example, a zero-inflated Poisson regression is estimated. Inthe example above, u1 is a count variable. The i in parenthesesfollowing u1 indicates that a zero-inflated Poisson model will beestimated. In the second part of this example, a negative binomial modelis estimated.With a zero-inflated Poisson model, two regressions are estimated. Thefirst ON statement describes the Poisson regression of the count part ofu1 on the covariates x1 and x3. This regression predicts the value of thecount dependent variable for individuals who are able to assume valuesof zero and above. The second ON statement describes the logisticregression of the binary latent inflation variable u1#1 on the covariatesx1 and x3. This regression predicts the probability of being unable toassume any value except zero. The inflation variable is referred to byadding to the name of the count variable the number sign (#) followed bythe number 1. The default estimator for this type of analysis ismaximum likelihood with robust standard errors. The ESTIMATORoption of the ANALYSIS command can be used to select a differentestimator. An explanation of the other commands can be found inExample 3.1.An alternative way of specifying this model is presented in Example7.25. In Example 7.25, a categorical latent variable with two classes is28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!