Hi everyone,
I am analyzing data from a large-scale survey. I used the command mi (sequential imputation using chained equations) to impute the missing values in the dataset.
I am trying to figure out how individual-level factors (e.g., parental education, household income) and neighborhood factors (e.g., grand mean of parental education, urbanicity) affect students’ school drop-out (binary response: 0 for completion, and 1 for drop-out). I also want to include sampling weight (weight) into the model.
I tried to use mi estimate: meqrlogit function to run a two-level model, with individual-level factors and sampling weight included into level 1, and neighborhood-related factors included in level 2.
The code is like below:
mi estimate: meqrlogit Dropout Parent_edu income [pweights = weight] || neighborhoodid: urban Paredu_grand
However, it comes out an error that “weights not allowed”. My question is, how can I include sampling weight into a two-level logistic model of imputed data?
Thank you so much in advance!
Related Posts with Including sampling weight into multilevel logistic model with imputed data
GPH files compatibility: Stata 15 and 16Hi everyone, I am trying to open .gph files created in Stata 16 using Stata 15. However, I get this…
how to use test postestimation after contrast with ar. following mixedHello, I am using Stata/SE 15.1. I have difficulties in running a post-estimation test using "test…
Latent Class analyses and repeated measuresinput int ID byte(TIME_POINT A B C) 1 0 5 10 10 1 1 25 25 25 1 2 50 50 25 2 0 50 25 25 2 1 25 75 75 …
fixed effect model in xtivreg2 and singletonsI am running a fixed-effect model using xtivreg2 in stata, where my panel variable is firms and my t…
Problem with sureg: last estimates not foundDear All, I have a panel with the following structure: N=6 T=53 (monthly data). I am trying to esti…
Subscribe to:
Post Comments (Atom)
0 Response to Including sampling weight into multilevel logistic model with imputed data
Post a Comment