Constraints in Logistic model PreviousNext
Mplus Discussion > Categorical Data Modeling >
Message/Author
 Mark Shevlin posted on Wednesday, October 26, 2005 - 3:34 pm
I wish to impose an equality constraint on the slopes for five predictor variables (and leave one unconstrained) in a univariate logistic regression model. I have tried the following syntax without success - the model runs but the estimates are not equal. When I remove the constraints the df's and LL are the same. Hope you can help,
Thanks

TITLE:
DATA:
FILE IS "psychosis.dat";
VARIABLE:
NAMES ARE deplt1 naplt raped phy_att phy_ab neglect molested;
USEVARIABLES ARE deplt1 naplt raped phy_att phy_ab neglect molested;
MISSING ARE ALL (99);
CATEGORICAL ARE naplt ;
ANALYSIS:
TYPE = logistic ;
ESTIMATOR IS MLM;
ITERATIONS = 1000;
CONVERGENCE = 0.00005;

OUTPUT: CINTERVAL;
model:
naplt on raped phy_att phy_ab neglect molested (1);
naplt on deplt1 ;
 Linda K. Muthen posted on Wednesday, October 26, 2005 - 4:09 pm
Equality constraints are not available for TYPE=LOGISTIC; You can obtain logistic regression with equality constraints by removing TYPE=LOGISTIC; and ESTIMATOR=MLM; from the ANALYSIS command and adding ESTIMATOR = MLR;
 Mark Shevlin posted on Thursday, October 27, 2005 - 7:55 am
Many thanks Linda, that works perfectly.
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: