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
ttest means and differencesHello, In the ttest help Stata notes that a test of differences occurs by subtracting the highest v…
Finding number of people of a given type for each groupI have a data set with 1000 observations. As an example, let's consider the following table: Grou…
Test for heteroscedasticity and autocorrelation after SUREG command (seemingly unrelated regression)Dear community, I have run a SUREG model and wanted to get some diagnositic tests such as test of h…
Loops to switch between different sub-foldersWhat is wrong with commands in this Stata do-file? I am trying to open all batch files that are in s…
sfcross commandhi i am using stata and "sfcross command" for calculating profit efficiency with cross sectional dat…
Subscribe to:
Post Comments (Atom)
0 Response to Adding auxiliary variables in a model
Post a Comment