I will run weighted LCA analyses using NSDUH data. How do I take into account the complex sample NSDUH dasign in M-Plus? There's a weight variable, a strata variable and a psu (primary sampling unit)variable. I believe that I can add the weight variable just by specifying the Weight in the input file. But how do I add strata and psu? Do I need or not to use Type=complex?
There is a discussion of the complex survey data features of Mplus in Chapter 14 of the user's guide. I think this will answer your questions. You do not need TYPE=COMPLEX if you have only a weight variable. You need either TYPE=COMPLEX or TYPE=TWOLEVEL if you are using other complex survey data features.
After reading Chapter 14, I decided to ask my research assistant to ran a model using NSDUH data including weight, strata and psu. She's getting errors using the statification and cluster options. When she types both into the Variable command (as below), she gets an error, "unknown option: stratification". Additionally, when she takes out the statification option she gets the error "The labels %WITHIN% or %BETWEEN% must be specified before class labels".
How does she solve this? Is it really necessary to add strata and psu when we just want to have sample weighted estimates? Thanks, Silvia
We ask that Mplus Discussion posts not exceed the space available in one window and not include input and output. Please send the input, data, output, and license number to email@example.com and I will be happy to look at it.
If the WEIGHT option is used, the weighted results are plotted.
Cecily Na posted on Friday, February 15, 2013 - 12:45 pm
Hello professors, I am working on a national survey with strata (no clusters). I plan to use only subpopulation defined by two variables (majority individuals + living in metropolitan areas). I also need to use weights. So I should use type=complex? However, my analysis is a two-level model, with variables associated with individuals and stratum-level variables. How can I take that into account? Also when subpopulation is defined by condition A and B, what's the syntax? (Subpopulation is condition 1= A and condition 2 =B; ?)
I am running an LCA model using complex survey data (NESARC-III). I want to add in auxiliary categorical variables using the dcategorical command, but received the following error. Is there an alternative approach I can use? Or another fix?
*** ERROR in VARIABLE command Auxiliary variables with DCATEGORICAL or DCONTINUOUS are not available with TYPE=MIXTURE COMPLEX.