I have a model involving 16 observed variables (3 latents & 4 categorical measures) and 75 freely estimated parameters.
I am playing around with the BAYES estiamtor to try and get a better understanding of this alternative estimation method.
The posterior predictive P value for this model is < .001 and the 95% credible interval for difference in ch-sq values is (37.790, 149.462), which each indicate the hypothesized model does not fit the data well.
I was wondering if it is meaningful under the bayesian approach to consider soemthing like a standardized root mean square residual as an supplementary measure of global fit.
In "Bayesian Analysis In Mplus: A Brief Introduction" version 3, for a CFA with BAYES estimator is is still appropriate to use ML for categorical DVs? For instance, should it the syntax still look like the following: ANALYSIS: ESTIMATOR = BAYES; PROCESS = 2; FBITER = 20000; STVAL = ML;
I just attended your workshop at UConn. Very informative. The Bayesian estimation works nicely and is quite fast. One question: Is there some way to save the chains of values for the posterior distributions of the parameters? I would like to be able to use them to make some statements regarding the probability that an effect of a specified magnitude, or greater, exists. Thanks, Chuck Green
I am running a conditional latent growth model using Bayes as the estimator. I have asked for tech4 to get the mean intercept and slope. Is there a way to request or calculate a credibility interval for the mean intercept and slope? Thanks!
Thank you - that is very helpful. One follow-up question: Shouldn't the estimate I get from MODEL CONSTRAINT be the same as the one from TECH4? Mine is not. I have both continuous and dichotomous predictors, and I am wondering if there is something wrong with how I am asking for the intercept estimate...
I think the problem is that you are putting the binary covariates on the CATEGORICAL list and referring to their thresholds. The CATEGORICAL list is for dependent variables. You should remove them from the CATEGORICAL list and refer to their means not their thresholds.
I am running a small sample (N=79) SEM model and using the Bayes estimator. What kinds of fit statistics are customary in the literature for Bayes models - I noticed that the AIC and BIC are not generated with the ESTIMATOR = BAYES command? I should note that I have no missing data. Thanks!
See the following paper which is available on the website:
Muthén, B. (2010). Bayesian analysis in Mplus: A brief introduction. Technical Report. Version 3.
Jan Zirk posted on Wednesday, April 25, 2012 - 8:36 am
Dear Linda or Bengt, I have three questions concerning the Bayes estimator. 1) The rule of thumb says that under the 'traditional' maximum-likelihood estimation of SEM models we need at least about 10-20 cases per variable to provide appropriate stability of a model. As Bayesian estimation does not apply large sample theory of normality, does it mean that in the case of a bigger number of variables in a model than the above rule-of-thumb under ML allows for, Bayesian approach is more suitable, and do you know any rule of thumb concerning the sample size for Bayesian estimation? 2) As Bayesian estimator does not require the normal distributions, would it be appropriate not to define a binary dependent (or mediating) variable with the 'categorical are' command in the Bayesian input, to obtain the DIC index? 3) is there an equivalent of the chi-sq difference test for testing nested models under Bayesian estimation?
1) I don't know of a rule of thumb - even a rule for ML is debatable and highly dependent on the context. But in general, Bayes could work better than ML for smaller samples.
2) No, you still have to use the proper model, in this case logistic/probit.
3) There is "Bayes factors"
Jan Zirk posted on Wednesday, April 25, 2012 - 10:13 am
Dear Bengt, Thanks very much for your quick response. As to 3) is there any literature with an example showing how to use bayes factors for nested models comparison in MPlus? I did not find it in the User's Guide.
We do not currently have nested model testing in Bayes.
Jan Zirk posted on Thursday, April 26, 2012 - 2:14 pm
I see. Thanks very much.
Jan Zirk posted on Wednesday, May 02, 2012 - 8:16 am
Dear Linda or Bengt, I would like to ask about the parameterization under Bayes estimator.
According to "Bayesian Analysis of Latent Variable Models using Mplus" (http://www.statmodel.com/download/BayesAdvantages18.pdf) parameterization PX outperforms V and L. Is PX default for BAYES? Is it possible to change parameterization under Bayes (as it is for ML- delta vs. theta)?
I try to run "run15.inp" for the paper- Muthen, B. & Asparouhov, T. (2011). Bayesian SEM: A more flexible representation of substantive theory. Psychological Methods, 17, 313-335.
I have one question regarding the understanding of the syntax: ---------------------------------- define: standardize y1-y15; MODEL: y1 on y2@0; ! to get stdy ---------------------------------- Why do you standardize y1-y15? Why can you get stdy by adding "y1 on y2@0"?
I standardize because I want the priors to work in a standardize metric. A certain prior variance has different implications for observed variables with different variances. I am allowed to standardize here because the model is "scale-free".
The y1 on y2@0 statement is just a trick - ignore it.
Jan Zirk posted on Thursday, October 17, 2013 - 4:04 pm
I have a problem with XY standardized coefficients in my objective Bayesian SEM. They are larger than 1 and so the reviewers may be critical. What could be a good solution to get rid of this problem? How would you set the priors or model constraints to help with these? Only 2 standardized coefficients are larger than 1. The remaining have usual values.
We have a FAQ on "Standardized coefficient greater than 1". This usually has to do with highly correlated predictors; so that's the real issue. I'm not sure you want to use priors to get rid of it, but perhaps instead re-formulate the model.
Jan Zirk posted on Friday, October 18, 2013 - 1:47 am
Thanks very much.
Jan Zirk posted on Friday, October 18, 2013 - 10:58 am
When including the variances and means of predictors under ml it is possible to avoid listwise deletion thanks to fiml. what is the 'bayesian fiml'? Including variances and means in a bayesian regression also avoids listwise deletion; may I ask you for a reference as to this fiml-like solution but with bayesian approach ?
Making the covariates part of the model is possible also in Bayes. I don't know that there is a reference for this; it goes back to basic principles that any variable, the parameters of which are part of the model, is handled by MAR-type missing data theory.
Jan Zirk posted on Friday, October 18, 2013 - 8:51 pm
After reading your paper titled "Muthen, B. & Asparouhov, T. (2011). Bayesian SEM: A more flexible representation of substantive theory. Psychological Methods, 17, 313-335.", I try to modify "run15.inp" for my data set.
The indicators for CFA are categorical variables. Therefore, I add a statement "CATEGORICAL =" in my syntax.
I wonder any references or examples I can read/follow in terms of the specification of priors for cross-loadings and residual correlations.
In order to run a Bayesian CFA with categorical indicators (6 points Likert-scale), I read you paper "Bayesian Analysis Using Mplus: Technical Implementation" and have few questions.
Q1. On P.10, you provide a matrix (11) with partially a correlation matrix and partially a covariance matrix. What is the partially covariance matrix about? (the covariances between which parameters??)
Q2. Do I have to give priors for thresholds of each categorical variables?
Q3. Do you have any suggestion regarding the priors for thresholds? Normal distribution with mean zero and variance 6?
Q4. Can I give prior N(0,.01) for cross-loadings?
Q5. Do I need to standardize the categorical indicators? (My thought is NO because my priors are in a standardize metric)
Dear Bengt and Linda, where can I find the data and input for Figure 3 and Tables 16-18 in "Muthen, B. & Asparouhov, T. (2012). Bayesian SEM: A more flexible representation of substantive theory. Psychological Methods, 17, 313-335."? This is the Bayesian SEM reanalysis of Kaplan's (2009) model using the National Educational Longitudinal Study of 1988.
DavidBoyda posted on Wednesday, March 19, 2014 - 3:29 am
I have a question regarding the Bayes estimator. If I was to compare a model using the Bayes estimator to the same model using MLR, would I expect wildly differing results between these two estimators in the same way perhaps that ML might giver slightly differing results to MLR?
I have question regarding the Bayes estimator and that it outputs a one-tailed P-value - yet also outputs a 95%CI. Im under the notion that the CI overs both tails - so I dont really understand the one-tailed approach.
You can say what you have in the quote. I am not sure about a good source - check the Schafer book we refer to in our UG. Perhaps you can also refer to our Bayes implementation papers:
Asparouhov, T. & Muthén, B. (2010). Bayesian analysis of latent variable models using Mplus. Technical Report. Version 4. Click here to view Mplus inputs, data, and outputs used in this paper. download paper contact second author
Asparouhov, T. & Muthén, B. (2010). Bayesian analysis using Mplus: Technical implementation. Technical Report. Version 3.