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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Examples: Regression And Path Analysiscategorical variable the number sign (#) followed by the number of thecategory. This alternative specification allows individual parameters tobe referred to in the MODEL command for the purpose of giving startingvalues or placing restrictions.EXAMPLE 3.7: POISSON REGRESSIONTITLE: this is an example of a Poisson regressionfor a count dependent variable with twocovariatesDATA: FILE IS ex3.7.dat;VARIABLE: NAMES ARE u1-u6 x1-x4;USEVARIABLES ARE u1 x1 x3;COUNT IS u1;MODEL: u1 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 theexample above, u1 is a count variable that is not inflated. The ONstatement describes the Poisson regression of u1 on the covariates x1and x3. The default estimator for this type of analysis is maximumlikelihood with robust standard errors. The ESTIMATOR option of theANALYSIS command can be used to select a different estimator. Anexplanation of the other commands can be found in Example 3.1.27

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

Saved successfully!

Ooh no, something went wrong!