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
georouteHello, I've a list of pair of coordinates for varX and varY and I'm using georoute to calculate the …
Bootstrap two stagesHi all, I am trying to perform the following: extract n bootstrap samples from a strongly balanced …
Calculating cost of equity through fama and french 3 factor modelHello, I have to calculate the cost of equity capital based on fama and french 3 factor model. For …
Multiple observations with some different covariates and non-integer weightsHi. I have a dataset with some multiple observations, but the observations are different for one sp…
discrete-time survival analysis xtcloglog late entryDear members, I am running a discrete-time survival analysis on an unbalanced panel data by using x…
Subscribe to:
Post Comments (Atom)
0 Response to Including sampling weight into multilevel logistic model with imputed data
Post a Comment