Message/Author 


Is it possible in version 3 to get the perrun output from a bootstrap? I'm interested in a bootstrap CI for a difference between two total effects, and I'm not seeing any good way to get that. Thanks. 

bmuthen posted on Thursday, September 02, 2004  5:12 pm



No. Perhaps there is some modeling trick to parameterize the difference between two total effects but I couldn't think of one today (while keeping the car straight on the road). 


Uhoh  better be careful what I ask during commuting times! Thanks. 

Michael Eid posted on Tuesday, February 22, 2005  12:01 am



Is it possible to get bootstrap confidence intervals for rsquare in mplus? 

Thuy Nguyen posted on Wednesday, February 23, 2005  11:15 am



No, bootstrap confidence intervals for Rsquare is not available in Mplus. 

Mary Campa posted on Tuesday, March 15, 2005  6:53 am



Hello. I am running a multilevel path analysis with a mix of categorical and continuous variables with an interaction included. I am also estimating indirect effects and am having trouble getting the bootstrapping to work. I get the following error messages. *** FATAL ERROR THE WEIGHT MATRIX PART OF VARIABLE EVREPGD IS NONINVERTIBLE. THIS MAY BE DUE TO ONE OR MORE CATEGORIES HAVING TOO FEW OBSERVATIONS. CHECK YOUR DATA AND/OR COLLAPSE THE CATEGORIES FOR THIS VARIABLE. PROBLEM INVOLVING THE REGRESSION OF EVREPGD ON U_T. THE PROBLEM MAY BE CAUSED BY AN EMPTY CELL IN THE JOINT DISTRIBUTION. THE WEIGHT MATRIX PART OF VARIABLE BIRTH19 IS NONINVERTIBLE. THIS MAY BE DUE TO ONE OR MORE CATEGORIES HAVING TOO FEW OBSERVATIONS. CHECK YOUR DATA AND/OR COLLAPSE THE CATEGORIES FOR THIS VARIABLE. PROBLEM INVOLVING THE REGRESSION OF BIRTH19 ON U_T. THE PROBLEM MAY BE CAUSED BY AN EMPTY CELL IN THE JOINT DISTRIBUTION. The variables in question are dicotomous and as such cannot be collapsed any further. The U_T variable is an interaction of two other dichotomous variables (niether of which are causing the error). Is there any way to get the bootstrapping to work with this problem?? Thank you. 


It's hard to know what is happening from the information provided. Please send the full output and data if possible to support@statmodel.com. 

Anonymous posted on Friday, April 01, 2005  7:18 am



Is it possible to bootstrap the RMSEA in Mplus? I want to replicate a fit statistics study that Nevitt and Hancock wrote a few years back in Structural Equation Modeling. More to the point, I would like to be able to demonstrate that the results I have found are stable, without moving directly to a Monte Carlo format. 


No, this is not possible in the current version of Mplus. Only standard errors can be bootstrapped at this time. 

Lily posted on Saturday, April 26, 2008  12:14 am



Dear Dr. Muthen, It says in the Mplus guide page 496 that standard bootstrapping is available for the ML, WLS, WLSM,WLSMV, ULS, and GLS estimators. However, when I tried to do bootstrapping on my IRT model, single factor with 5 categorical dependent variables using ML estimator(which requires numerical integration)I got the following error message: "BOOTSTRAP is not allowed with ALGORITHM = INTEGRATION" Is there tricks to get Mplus to do bootstrapping for my model? Many thanks. 


I'm afraid not. If you need numerical integration, bootstrapping is not available. 


Hello, I am testing a path model with 3 time points. My sample is not very large (N = 112) so I am running my model with bootstrapped standard errors. I have two questions/problems: 1. When I run the model with bootstrapped st. errors, the CFI value is 0.00! Other values are normal and indicative of a good model (e.g., RMSEA, all expected important paths are significan, etc). When I run the model without the bootstrapped st. errors command on, the CFI is .96. Why is this? 2. The model fit and the paths' significance levels are much better if I leave out time 2 (post) scores, and just use Time 1 (pre) and Time 3 (followup) scores. Once I add the Time 2 scores, the important paths are no longer significant and the fit indices become worse. Shouldn't the model be better if I used more information? Is it okay to leave out Time 2 scores, when I am in fact interested in the Time 3 scores and not so much Time 2 scores. Thank you. 


1. This should not happen. Please send the full outputs and your license number to support@statmodel.com. 2. It's not possible to say much about this. When the model changes, you expect different results. You need to try to understand why your particular changes occur. 


Hi, I'm running a SEM and included "BOOTSTRAP = 1000 (RESIDUAL);". In my output file, I can see that only 788 (of 1000) bootstrap draws were completed. In TECH9, I can see that this is mainly due to convergence problems ("NO CONVERGENCE. NUMBER OF ITERATIONS EXCEEDED."). How reliable are the results I get? E.g. my Bootstrap PValue is 0.1967  can I trust this value? Thanks for your help! 


I have an additional question after comparing results with and without bootstraping. Whereas chisquare and RMSEA are the same in both models, CFI and TLI are higher (indicating better fit) in the model including bootstraping.Why does that happen? Thanks for your help! 


Please send the two outputs, bootstrap and not, your data, and your license number to support@statmodel.com. 


I'm using the biascorrected bootstrap in the analysis of my latent growth model. My decision to use bootstrap resampling is based on recommendations made by Mackinnon and others for the analysis of indirect effects, and also because the continuous outcomes and observed variables in my model are not well behaved from a distributional point of view. My sample comprises 413 individuals and the bootstrap is based on 10,000 draws. Firstly, it is interesting to note that the standard errors of the model parameters obtained under the bootstrap approach are much larger than those obtained using the 'usual' ML analysis, with a number of previously significant effects becoming nonsignificant when using the bootstrap; this probably indicates that the smaller standard errors previously obtained were a result of the poor distributional properties of the data. My question relates to the asymmetric confidence intervals generated from the BCbootstrap; two of the four intervals for specific indirect effects that I've examined do not contain zero, therefore providing evidence of a significant effect, however the corresponding probability values are nonsignificant. For example, the 95% CI for one specific indirect effect is (2.885, 0.232), with a pvalue of 0.085. Should I rely on the confidence intervals or the pvalues for a biascorrected bootstrap? Thank you for your time. Susy Harrigan 


Bootstrap standard errors are larger that maximum likelihood standard errors in most cases. I think if you use the MLR estimator you will find the standard errors closer to the bootstrap standard errors. I would use the confidence interval results. 


Hi, Where are there no p values for the standardised models when using bootstrapping? Thanks 


We don't give standard errors when the BOOTSTRAP option is used. Therefore, no pvalues are given. 


Hi, If I am inputting a covariance matrix (and not individual raw data), is it possible to get confidence intervals for indirect effects through bootstrapping (perhaps MonteCarlo)? Thanks! 


I don't believe this is possible. 

gibbon lab posted on Tuesday, March 20, 2012  11:49 am



Using the following command, is the bootstrap resampling with replacement or without replacement in Mplus 6.12? Thanks. Analysis: bootstrap = 10000; 


The bootstrap employs sampling with replacement by definition. 

Cecily Na posted on Friday, August 10, 2012  9:28 pm



Hello, Professors, I'm working on a large survey data set with 500 bootstrapping weights (replicate weights). Obviously, Mlus only takes 500 variables. I'm wondering if I can use only part of the 500 weights, say 80? How may that affect the standard error estimates? thanks! 


This restriction was removed in Version 6.12. 

Kofan Lee posted on Wednesday, December 05, 2012  12:04 pm



Linda, I have run CINTERVAL (BCBOOTSTRAP) in Output command and obtain the confidence intervals of estimates. Also, I use SAVEDATA to create another file. The output only shows the numbers. I am confused to interpret it. Do you have any suggestion Thanks Kofan 


See the end of the output where the saved data are described. 

Kofan Lee posted on Wednesday, December 05, 2012  4:29 pm



Linda, Thanks. Here is the information I get, basically shows the file name I created. I wonder if I omit some steps. SAVEDATA INFORMATION Estimates Save file C:\Users\koflee\Desktop\120312\rq1m4bootstrap Save format Free Thank you kofan 


Please send the full output and your license number to support@statmodel.com. 


Similar to Maren Winkler above, I have had a situation whereby the bootstap algorithm does not run the samples requested but stops around 1139 (out of 5000 requested). The reason from tech 9 output appears to be that one of the variables has 0 frequencies of a category and the sample is discarded In this case would it be acceptable to increase the number of bootstrap samples requested in order to obtain a larger number of valid samples, (e.g. those without cell count of 0 for a category), until the number of obtained bootstrap samples is 5000)? Thanks in advance for your reply. 


I would instead collapse the category of the variable that has 0 frequencies. 


Thanks Linda, I have shortened the variable in a way that does not lose the meaning: Basically collapsing two of the smallest levels of the variable. This hasn't made much of an improvement. I could dichotomise to improve it further, but fear I would lose information in the process. Is forcing 5000 bootstrap samples is problematic as it would bias the confidence intervals in favour of samples that contain at least 1 instance of the problem category? Furthermore I have three outcomes in my mediation model. When I run the analysis with only 1 outcome variable the bootstrap completes 5000 draws without a problem. Would it be acceptable to run separate analyses, 1 for each DV, to avoid the bootstrap issue? 


I would think running separate analyses would be okay. But I wonder why putting them together causes a problem. You might want to investigate this further. 


Thanks Linda, I think it's because of a combination of things: Small sample size and ordinal outcome variables that are restricted in range in the lower end of the variable. It maybe that I will have to live with the lower than desired number of Bootstrap samples. I was thinking about using Bayesian estimator to deal with the skew in the DVs but that prevents bootstrapping, because of numerical integration requirement. I thought that bootstrapping allowed one to compensate for bias arising from small sample size. I still don't understand why one shouldn't or couldn't ramp up the bootstraps to achieve a higher number of samples, and ignore the invalid draws. Apart from 'it takes longer to run' are there any known statistical reasons why one should definitely not do this? V 


Bayes does not need bootstrapping in that it both allows nonnormal distributions for estimates and works well with small samples. Bayes does not use numerical integration. No statistical reasons against using many bootstraps. But there is the practical issue of having many chances of drawing "difficult" samples in cases where the datamodel relationship makes "difficult" more likely. 


Ok. Thats useful to know. Last questions on this subject I hope. 1. What sample size would be required for bayes estimation considering I have one IV one mediator and three DVs and one moderator of the x to m path? 2. As regards the practical issue of many bootstraps and ignoring the invalid samples, there would be no effect on accuracy of the bias correction, given large numbers of draws? 3. Just to clarify, when I get large numbers of invalid samples: is the practical problem about not getting enough of the difficult samples in a situation where difficult is more likely? Thanks for the dialogue, btw. I don't know any other stats software that has such prompt statistical support. Mplus gets 10 stars out of 10 for that. 


1. That depends on so many factors that you are best off doing a Monte Carlo simulation in Mplus to decide it for your particular setting. See UG chapter 12. 2. Ignoring the invalid samples does pose a danger of distorting the results. 2.3. I would try to figure out why some bootstrap samples have problems. This will clarify why the datamodel situation is difficult. 

Tracy Witte posted on Thursday, April 11, 2013  7:56 am



Similar to Winkler's 2010 inquiry above, I am finding that chisquare and all other fit indices are identical with bootstrapping (residual), compared to the ML results. I thought that the bootstrapping (residual) command gives us the Bollen and Stine transformed bootstrap, which adjusts chisquare to reflect the fact that chisquare is not centrally distributed with bootstrapping. Is this an anomaly with my dataset? Or is it typical for the ML fit statistics to be identical to the boostrapped fit statistics? 


We only bootstrap standard errors. 

Tracy Witte posted on Thursday, April 11, 2013  9:11 am



Thanks for your quick response! If you do not bootstrap the fit statistics, then what is the difference between the Bollen & Stine (residual) bootstrapping and standard bootstrapping? 


We use the same approach for the standard errors as Bollen & Stine use for chisquare. See the following for a brief description: http://en.wikipedia.org/wiki/Bootstrapping_%28statistics%29#Resampling_residuals 


USEVARIABLES ARE Age gender AUDstat druguse DMQsoc DMQcop DMQen QF; Nominal IS AUDstat; ANALYSIS: BOOTSTRAP = 1000; MODEL: AUDstat QF on DMQcop DMQen; AUDstat on DMQsoc druguse gender age; MODEL INDIRECT: AUDstat IND QF DMQcop; AUDstat IND QF DMQen; OUTPUT: CINTERVAL; I am using the above syntax to attempt to run bootstrapped mediation in mplus 5, but keep getting the cannot use with algorithm = integration error, even though I don't have that in my syntax. 


Your nominal variable requires numerical integration. ALGORITHM=INTEGRATION is the default in this case. 


Okay, thank you, Dr. Muthen. Is there any way to get this model to run using a dichotomous outcome? 


If you variable is dichotomous, use the CATEGORICAL option instead of the NOMINAL option. Then you can use WLSMV. 


Dear Linda, from which output do I have to report the estimator of the direct and total effects? Of the output with bootstrap (estimator and confidenzinterval)or of the output without bootstrap  because bootstrap only show the standard errors (bootstrap)? Thank you! 


Please send your output and highlight the two places you are looking at. 


Dear Bengt O., thank you for your answer. How can I post my output here with higlighted elements? 


Send it along with your license number to support@statmodel.com. 


Dear Linda, A quick question re bootstrapping in full SEM: is it possible to specify the sample size in bootstrapping? I am testing a particular model on two different samples (with different characteristics), and would like to compare the fit stats & factor loadings. However, they are not proportionate in terms of N, and I need to make a likeforlike comparison. Hence, I want to run the bootstrapping with the same N specified on each sample. Just wondering if this was possible. Many thanks. 


No, there is no option to do this. 

Back to top 