Message/Author 


Hi, I was trying to save the estimates of a DSEM analysis for subsequent monte carlo based power analysis. Unfortunateley, I get the following error message: *** WARNING in SAVEDATA command Saving of ending values for the ESTIMATES option is not available for models with covariates. Request for ESTIMATES is ignored. Is there a solution or some quick workaround for that issue? I would leave the covariate out, but this is acutally the effect of interest. Many thanks in advance! Best, Julian 


I would recommend output:svalues; I gives you the model you need to put in model montecarlo. The covariate sample statistics should be computed separately. 


Many thanks! Ill try that! 


This worked! Thanks! I do have a follow up question: What if my covariate is a binary variable with 60/40 distribution? How can I generate this binary variable making sure the distribution is 60/40 and it follows the population model specifications? Best, Julian 


Sorry, I forgot to say that it is a betweenlevel covariate. Best, Julian 


Look up the command CUTPOINTS in the User's Guide. Here is an example MONTECARLO: NAMES ARE y w; NOBS = 10000; NREP = 10; NCSIZES = 1; CSIZES = 100(100); lagged=y(1); between=w; cutpoints=w(0.25); ANALYSIS: estimator=bayes; TYPE IS TWOLEVEL; MODEL MONTECARLO: %within% y*1; y on y&1*0.4; %between% y*0.9;[y*2]; w*1; y on w*1; MODEL: %within% y*1; y on y&1*0.4; %between% y*0.9;[y*2]; y on w*1; 


Thanks for your help! Everything worked as wished! Best, Julian 


In the output of the monte carlo analysis of a DSEM model with estimator=Bayes: Is the "%sig. coef." calculated from a frequentist or Bayesian perspective (the latter meaning that this is equal to the percentage of times the CI interval did not include 0?). If it is frequentist only, is there a possibility to get also the results of the Bayesian way? Many thanks! Best, Julian 


The results in that column are based on the Bayesian CIs. 

Back to top 