Message/Author 


I'm trying to run twostage path analysis with one categorical dependent variable in M plus. I need to get predicted proabilites and changes of predicted probabilities. I also need robust standized errors adjusted by clustering a variable Z. I could not find the ways of doing those. Could you kindly help me to be able to those? 


By two stage, do you mean a model with two equations? Is the final dependent variable binary? 


Dear Linda, Yes, I have two equations within my model. First equation has a continuous dependent variable and second equaiton has a binary variable (final dependent variable). I'm trying to run a path analysis with ML estimation. I need to get predicted probabilities and changes of predicted probabilities across varying independent variables (most of them are binary, too). I also need to robust standized error adjusted by clustering a certain variable with onetailed test. I would really appreciate it, if you can help me find the way out. 


Your equations are y = a1 + b*x u = a2 + b1*y + b2*x therefore u = a2 + b1 (a1 +b*x) +b2*x u = a2 + b1*a1 + b1*b*x + b2*x logit = a2 + b1*a1 + b1*b*x + b2*x Note that Mplus estimates a threshold for a2. To make the threshold an intercept, the sign must change. With ML and the logit link which is the default, the probability of u=1 is: 1 / (1 + exp(logit)) You can vary the values of x. For standard errors that take clustering into account, use TYPE = COMPLEX; 


Dear Linda Thank you for your advice. However, what I really want to know is whether there are commands to get those statistics in M plus and the way of inputting coomands to get those in M plus, if any. Or should I calculate those by myself? Thank you very much for your help. 


We don't calculate probabilities when covariates are involved because they depend on the value of the covariate that is chosen. You will need to calculate them yourself. 

J Owens posted on Thursday, January 10, 2013  3:09 pm



Hi There, I was wondering how you would recommend calculating predicted scores for a path model in which the final dependent variable is continuous (GPA) but one of the two prior dependent variables is binary. The equations above are very helpful in terms of calculating the predicted probabilities for my intervening binary dependent variable, but I'm wondering how to use these probabilities or underlying logit values in calculating the final dependent variable, GPA. My equations look like this: (v is a continuous dependent variable, u is a binary dependent variable, and y is a continuous dependent variable) v = a1 + b1*x u = a2 + b2*v y = a3 + b3*v + b4*u Thank you very much! 


If you use estimation by WLSMV or Bayes, the continuous latent response variable u* is used instead of the binary u so that only linear relationships are considered and in this case you simply express the "reducedform" inserting the v and u equations in the y equation so that y becomes a function of x. If you use ML, things are more complex because the binary u is the predictor of y. For that case, see formulas in Muthén, B. (2011). Applications of causally defined direct and indirect effects in mediation analysis using SEM in Mplus. which is on our web site. 

J Owens posted on Thursday, January 10, 2013  6:20 pm



Thank you very much, Bengt! 

Back to top 