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
Generating a dummy variable that takes the value 1 if another dummy takes the value 1 at least once in longitudinal dataHello everyone! I am working with unbalanced panel data. I have 18 annual waves (2000-2017) of the …
How to right labels in the vertical lines of a graph?Hello, I´m trying to put vertical labels in a graph. In the line 3158 I would like to write "Beginn…
HP filterHello! I am a new user in Stata and I am struggling with this situation. I have panel data. I want…
how to do a bar chart excluding the most frequent one? Hello, I am trying to demonstrate in a bar chart the percentage of people in various ethnic groups.…
Metaanalysis: Total events and p-value for subgroup and overall estimatesRegarding metaanalyses: 1) Binary outcomes: Is it possible to add overall total events and non-eve…
Subscribe to:
Post Comments (Atom)
0 Response to Adding auxiliary variables in a model
Post a Comment