Message/Author 


Hello, I was interested to run a path analysis comparing males versus females. I am also using complex weights and I wasn't sure how to write the syntax. I have a PSU, Stratum and the sampling weight...is the syntax below correct? I wasn't sure what to consider PSU and stratum. DATA: FILE IS "E:\asci.dat"; NGROUPS = 2; NOBSERVATION = 181 200; VARIABLE: NAMES ARE v1 v2 v3 v4 v5; USEVARIABLES ARE v1 v2 v3 v4 v5; WEIGHT IS v2; (is this the sampling weight from my data set?) STRATIFICATION IS v4 (is this the PSU?) CLUSTER IS v5 (is this the stratum?) ANALYSIS: TYPE IS COMPLEX; ESTIMATOR IS MLR; ITERATIONS = 1000; CONVERGENCE = 0.00005; I know the model part but just wanted to make sure I had the weighting part correct. Thank you. 


CLUSTER is PSU and STRATIFICATION is stratum. See pages 455460 of the Mplus User's Guide for a discussion of complex survey data features in Mplus. 


Thank you. I have another question if you could help me out. I have this syntax and it gives me lots of the same error message Variable: USEVARIABLES *** ERROR in VARIABLE command Duplicate variable on NAMES list: WORRY *** ERROR in VARIABLE command Duplicate variable on NAMES list: RISK *** ERROR in VARIABLE command etc...... my syntax is as follows for a multisample path analysis with type complex. TITLE: Lung Cancer DATA: FILE IS "E:\Lung cancer.dat"; VARIABLE: NAMES ARE caseid fwgt wght2 know zknow hi zhi age hist1 hist2 risk worry incomes incomec USEVARIABLES ARE caseid fwgt know hi age hist1 hist2 risk worry cigs race2 strat educ7; MISSING ARE age(999) hist1(9) hist2(9) risk(9) worry(9) cigs(99999) race2(99) educ7(9999 GROUPING IS gender (0 = female 1 = male); STRATIFICATION IS strat; CLUSTER IS caseid; WEIGHT IS fwgt; ANALYSIS: TYPE IS COMPLEX; ESTIMATOR IS MLR; ITERATIONS = 1000; CONVERGENCE = 0.00005; ..... Is it possible for you to tell me if I am doing something wrong in my syntax? thank you. 


You need a semicolon at the end of the NAMES statement. 


In my syntax there is a semicolon at the end of that statement but because the statement is longer than 90 characters the software deleted parts of it. The same happened with MISSING ARE any suggestions how to go about it? thank you. 


You need to continue the record on a second line so you do not exceed 90 characters. If you cannot see how to do this and continue to have problems, send your input, data, output, and license number to support@statmodel.com. 


Hello, I am using MLR and SB factor to compare models. I read somewhere that the fit indices also need to be adjusted as well. I looked on your website but I only found the calculation for the adjusted chisquare. Do you know if there is and where I could find the calculations for the other fit indices (CFI, RMSEA, etc)? Thank you. 


The chisquare statistic is adjusted so all statistics that use chisquare like RMSEA,CFI, etc. are already adjusted. 


Dear Prof. Muthen, I am conducting a path analysis with multiple group comparison. I know I have to report the unstandardized coefficients as opposed to the standardized ones but could you explain to me why that is? Also could you maybe provide me with a reference or two where I can learn more about this issue? Thank you. Mihaela 


The basic issue with standardized coefficients in multiple group analysis is that for raw coefficients that are constrained to be equal across groups, the standardized coefficients are not equal because the standardization uses groupspecific information. For more information, Google Sander Greenland who has written on this topic. 

Back to top 