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
Gradient code bugDear forum visitors! I got a problem, working with panel data and max likelihood model. Specificall…
Sparse group Lasso for multinomial logistic regressionHi everyone, I'm planning to do a multinomial logistic regression and would like to use the sparse …
Reverse Causality Test with Panel DataHi there, I was wondering if it was possible for some assistance on how to carry out a reverse caus…
Problem specifying conditions with ipolate commandHello, I have yearly panel data on 4 variables for all U.S. states, and the data are in wide format…
Understanding command "fracreg" (fractional logistic regression)Hello everyone, I would like to apply a fractional logistic regression using the command "fracreg" …
Subscribe to:
Post Comments (Atom)
0 Response to Adding auxiliary variables in a model
Post a Comment