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 opening Excel after using merge option on -putexcel- commandI'm trying to use the -putexcel- command to create tables with a header at the top. I found the -tab…
Creating new variable from old variable for each unit in panel data settingHi: I have a dataset that looks like this: Code: * Example generated by -dataex-. For more info, …
option 3aster not allowedHi I was trying to run this regression but i am getting this error "option 3aster not allowed", i in…
Creating new variable for each id from old variable in panel data settingHi: I have a dataset that looks like this: Code: * Example generated by -dataex-. For more info, …
Convert a dataset from wide to longHello, I have a dataset (survey longitudinal data) with several variables that I want to convert fr…
Subscribe to:
Post Comments (Atom)
0 Response to Adding auxiliary variables in a model
Post a Comment