Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding auxiliary variables in a model

    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
Working...
X