Greetings,
I am new to STATA. I would like to ask how to insert auxiliary variables in one of my string commands, of a longitudinal mixed model with logit link with random intercept. I have the following variables:
1) event (2 levels): dependent variable with missing data
2) group_pt group_pz_cg follow_up2 follow_up3 follow_up4: independent variables.
I would like to use FIML estimation to estimate the missing values on the dependent variables. I have two auxiliary variables I would like to insert two auxiliary variables in the model (depr, and qol) to make this estimation more efficient.
Could someone help me with the syntax? I report below the syntax with the model without any estimation
. meglm event group_pt group_pz_cg follow_up2 follow_up3 follow_up4, || id:, covariance(exchangeable)family(binomial) link(logit) or
Thanks in advance!
Paolo
Related Posts with Adding auxiliary variables in a model
Error updating somersd; perhaps due to general update problem?I'm unable to use the cendif command within the somersd package. The error I get is identical to tha…
count the number of distinct observations across variablesHello Stata folks, I am working on a dataset that each school ID has 7 years of data capturing princ…
GraphHello, any guidance or where to start if I want to build a graph similar to this one? Thanks …
Rounding, multiple decimals off and LocalsI have been trying to get the round function to feed some locals that I use to create graphs labels,…
Problems with spmapGood afternoon, the comment is new with the generation of database in STATA. OBJECTIVE: GENERATE MAP…
Subscribe to:
Post Comments (Atom)
0 Response to Adding auxiliary variables in a model
Post a Comment