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
Generate sum of variables with sequential variables namesHi everyone, I have a data with these sequential variable names. p1_1_1_1 p1_1_1_2 p1_1_1_3 p1_1…
Multilevel Panel Data with CPS DataGood evening, Using the below Census Population Survey variables, I need to figure out the change i…
Removing NA Across varI have data in string as shown below data1 data2 NA NA NA NA NA NA NA 8415739 NA 10024002 N 1205788…
Generate var using sequential variables namesHi everyone, p1_1 p1_2 p1_3 p2_1 p2_2 p2_3 p3_1 p3_2 p3_3 1 1 1 2 2 2 3 3 3 1 1 1 2 2 2 3 3 3 1 1 …
Identification of Treatment and Control GroupRespected members, I am trying to employ DID as a means of analysis. In my dataset of 287 firms bet…
Subscribe to:
Post Comments (Atom)
0 Response to Adding auxiliary variables in a model
Post a Comment