Anonymous posted on Wednesday, April 27, 2005 - 6:58 pm
Hi everyone, I am a newbie to MPLUS. I have a question about basic logic behind the path analysis with categoical outcome. Why is the probit regression set to be the default model to estimate the path coefficients? Why not use logit regression since it is preferable in population studies? I check the user's guide, but it does not explain the reason. Does anyone come across any paper that explain why? Thanks in advance!
The probit model is the default in Mplus because it is a more general model than the logit model for multivariate dependent variables. The logit model is also available in Mplus. There are general statistical references describing multivariate logistic distributions and their restrictions related to correlations.
This is my first time using Mplus as well as doing path analysis.
I have dichotomous outcomes and independent variables that are either dichotomous or nominal (eg. race).
Here is the setup: u1, u2 and u3 are the dichotomous dependent variables and x1 and x2 are independent variables with x2 representing race categories.
VARIABLE: NAMES ARE u1 u2 u3 x1 x2; CATEGORICAL IS u1 u2 u3;
ANALYSIS: ESTIMATOR = ML; MODEL: u1 ON u2 u3 x1 x2; u3 ON x3 ; u2 ON u3;
A few questions: a) Is this a correct set up? b)how do I specify that x2 (race) is a nominal variable? c) can the coefficients provided be interpreted as path coefficients? or how do I identify the direct and indirect effects?
My goal is to have path coefficients for the relationships and a corresponding significance test. I appreciate your help.
If race is a nominal variable, you need to create a set of dummy variables to use as covariates. With three categories, two dummy variables are needed. You can use DEFINE to create these dummy variables. See a regression textbook if you do not know how to do this.
The tyoe of regression coefficients in a path analysis are determined by the scale of the dependent variable and the estimator that is used. With ML and categorical dependent variables, logistic regression coefficients are estimated. Examples 3.11 through 3.17 show various path analyses. Example 3.16 shows how to use MODEL INDIRECT to obtain indirect effects.
Thank you Linda for your quick response.I have been able to run the model after creating the dummy variables.
Now I have two questions. 1) One is regarding indirect effects. I did follow example 3.16 and put the indirect effects as follows:
VARIABLE:NAMES ARE u1 u2 u3 x1 x2 x3 x4 x5 x6; USEVARIABLES ARE u1 u2 u3 x1 x2 x4 x5 x6; CATEGORICAL IS u1 u2 u3 ; ANALYSIS:ESTIMATOR = MLR; MODEL: u1 ON u2 u3 x1 x2 x4 x5 x6; u2 ON u3; u3 ON x2; MODEL INDIRECT: u1 IND u2 u3 x2; u1 IND u3 x2; u1 IND u2 u3;
I get this error message. Anything I need to do differently?
*** ERROR MODEL INDIRECT is not available for analysis with ALGORITHM=INTEGRATION.
2) The data comes from a sample survey and I analyzed it separately without the indirect effects and the # of observations it uses (n=1,261) is different from the number of observations I expect to see (n=1,643). Is there anything that may cause the drop in the number of observations?
MODEL CONSTRAINT can be used to compute indirect effects when MODEL INDIRECT is not available. However, in Mplus with maximum likelihood and categorical mediators, this cannot be done. With categorical mediators, indirect effects should be computed using probit regression and weighted least squares estimation.
If cases are not used, you should have a message to that effect, for example, observations with missing on observed exogenous variables are deleted. If this is not the case, you may be reading the data incorrectly and should send your files and license number to email@example.com.
Thanks again Linda for your help. I did the analysis with constraint. and it works fine. I created the constraints as products of the path coefficients. I have a couple of questions.
a) Would that be correct even in the case with logit models? b) Can I exponentiate the indirect effect and interpret it as an odds ratio? If not how would I go about describing the extent of indirect effect?
I still have problems with the sample size in the weighted vs. unweighted analysis and have sent the data and the Mplus code. Thanks for your help.
You cannot have an indirect effect with a categorical mediator with maximum likelihood estimation. If the mediator is continuous that is okay. In this case and the final dependent variable is categorical, you can exponentiate the indirect effect to obtain an odds ratio.
Even though I cannot have indirect effect with a categorical mediator under MLE, in my set up it is acceptable to exponentiate indirect effects obtained by multiplying the path coefficients to obtain an odds ratio. Am I understanding your comment right?
If possible, I would appreciate suggestions to any references that address this issue.
This would not be correct for the model you show above because the mediator is categorical. The reason is that when the mediator is a dependent variable, it is treated as a latent response variable whereas when it is an independent variable, it is treated as a continuous variable. I know of no reference for this. The mediator must treated in the same way both when it is a dependent variable and an independent variable to compute at indirect effect.
You mentioned a few posts ago that with categorical mediators one should use probit regression with WLS to get indirect effects. a) Would that approach work in my case? b) Can indirect effects be obtained by multiplying the path coefficients?
Cecily Na posted on Sunday, December 12, 2010 - 2:22 pm
Dear Linda, I did an SEM model with categorical variables. The output has means/intercepts/threshold for each level of every categorical variable. Where can I find the overall intercept for the probit structural equation? What syntax command should I use?
For example, STD [z score] = intercept + b1*crime + b2* drug; where crime and drug are all categorical variables.
You are reading the data incorrectly. You probably have blanks in the data set which are not allowed with free format data. If you can't see the problem, send the input, data, output and your license number to firstname.lastname@example.org.
I'm running a path model (N=10.000) with a binary (75/25-split) dependent variable, 8 independent variables and indirect effects.
When I specify the MODEL INDIRECT command I get the message...
* The chi-square value for MLM, MLMV, MLR, ULSMV, WLSM and WLSMV cannot be used for chi-square difference testing in the regular way. MLM, MLR and WLSM chi-square difference testing is described on the Mplus website. MLMV, WLSMV, and ULSMV difference testing is done using the DIFFTEST option.
...and when using MODEL CONSTRAINT the output didn't provide any fit indices. Can I ignore this message or what exactly does it mean?
I'm doing a path analysis with two continuous DVs and one binary DV with MLR estimation. All IVs are continuous. For the logit part, I get "reasonable" parameter estimates and their SEs, but the odds ratio estimates show the following:
LOGISTIC REGRESSION ODDS RATIO RESULTS
GYNTULEH ON VDR 0.000 ODR *********
What's wrong with the odds ratio estimates? For the binary DV, ca. 60 cases have value of 1 and ca. 170 cases have value of 0.
Leslie Roos posted on Thursday, June 27, 2013 - 7:18 am
I'm running a mediation model with 2 binary mediators and a nominal outcome. I'm interested in determining if there is a significant mediation for each of the mediators on each 2 of the levels of the nominal outcome variable vs. nominal reference group. My understanding is with nominal outcome variables & model constraint, it is not possible to obtain Indirect Odds ratios, however it is possible to obtain if the indirect effect is significant.
What would be the best way to determine the significance of the indirect effect of the mediator at each level of the nominal outcome? Below is the relevant part of the model. I was attempting to constrain the nominal outcome (Jail2L) at the first 2 levels.
Hi! Iím examining a multiple mediator model through path analysis. I have variables at four time points and the model include three IVís (at t1), three DVís at t2 (1 binary and 2 continuous), three DVís at t3 (1 binary and 2 continuous) and one final continuous DV at t4. I have used WLSMV with THETA and examined indirect effects using MODEL INDIRECT together with the BOOTSTRAP analysis command.
Iíve got a response from a reviewer suggesting that I should use Monte Carlo Integration to attain a logit rather than a probit model, since ďin a multivariate case these are superiorĒ. Iím not sure in what ways this would be beneficial or the more correct way to examine my model.
From what I have read on this forum, using WLSMV rather than MLR with INTEGRATION=MONTECARLO and MODEL CONSTRAINT, is the better option is you have categorical mediators. Is this correct? If yes, can you point me to any references supporting this?
Also, if I were to do as the reviewer suggests, then I would not be able to have the residuals of my mediators be correlated (risk of having a misspecificed model). Is this an argument I can use to support the WLSMV approach?
When you have a mediation model, ML becomes problematic if you have categorical mediators in that you would have to combine linear and non-linear regressions. WLSMV instead works with a latent response variable mediator.
I don't know what the reviewer means by logit being superior for the multivariate case. I would say the opposite because the probit with WLSMV is more flexible in the multivariate case - like you say correlated residuals. Although missing data can be an issue. See also our FAQ on estimator choices with categorical variables.
Mark Thomas posted on Thursday, September 08, 2016 - 6:40 am
Hi Dr. Muthen,
I am trying to run a path analysis with logistic regression with subgroup analyses (male vs. female). I have successfully ran separate models for the binary outcome with the whole sample, and continuous outcome for subgroup analyses. However, I encounter the following issue when I try to do logit with dichotomous variables.
" ALGORITHM=INTEGRATION is not available for multiple group analysis. Try using the KNOWNCLASS option for TYPE=MIXTURE."
My code: VARIABLE: NAMES ARE SEX AGE RACE EDU BMI SMK ALCHL KILO BPhy BVerb BAng BHost CMH BPAQ MAP EPI NOR SLOPE AUC ZMS DIMS; USEVARIABLES ARE BAng epi nor slope auc map diMS SEX AGE RACE EDU ; MISSING ARE .; CATEGORICAL IS DIMS; GROUPING IS SEX (0=Male, 1=Female);
With ML and categorical outcomes, you must use KNOWNCLASS instead of GROUPING. When classes are known, this is the same as multiple group analysis. See Example 5.33 where this is shown for Bayes. Just use ML instead of Bayes.
I am running half-longitudinal mediation models using model constraint. I calculated Odds Ratios for the indirect effect, and am now wondering how to interpret the results. Could you please help me interpret the Odds ratios for indirect effect?