Correlate categorical variable in pat... PreviousNext
Mplus Discussion > Categorical Data Modeling >
Message/Author
 Jessica O'Neill posted on Monday, April 30, 2018 - 11:13 am
Hello,

I am seeking some help to include a categorical variable (race) in a path model. I got this error message: "For covariances between categorical variables, specify PARAMETERIZATION=RESCOV"

Here is my code:

VARIABLE: names are age childpov stress finstrain educat2 income2
brief_sum race white2;
Usevariables are age childpov stress finstrain educat2
brief_sum race;
categorical are race;
missing are all (-99);
ANALYSIS: Estimator is MLR;
MODEL:
brief_sum on stress age educat2 childpov;
stress on finstrain childpov;
finstrain with childpov;
finstrain with educat2;
finstrain with race;
race with childpov;
race with age;
MODEL INDIRECT:
brief_sum ind stress finstrain;
OUTPUT: sampstat standardized mod tech1;


When I add the command: PARAMETERIZATION=RESCOV; to my code (after "estimator is MLR;), MPlus told me I needed to add the line of code: TYPE=MIXTURE. So I included both of those commands and still got an error message: "This analysis is only available with the Mixture or Combination Add-On."
 Bengt O. Muthen posted on Monday, April 30, 2018 - 6:05 pm
Send your output to Support along with your license number.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: