Hi, I'm having a problem in making a line graph for my growth model.
The outcome variable is depression level: dep_ (categorical)
The main independent variable is gender: sex_ (coded as 0/1)
One time-varying variable is alcohol use: alcohol_new (coded as 0/1)
Time variable is: year_new (4 waves coded as 0, 1, 2 3)
My original command is: xtmixed dep_ sex_ alcohol_new year_new i.sex_#c.year_new i.alcohol_new#c.year_new|| id: year , cov(un) variance mle
I'm wondering how could I do the predict function and then make a line graph which fits this model the best.
Thank you!
Related Posts with Graph question for growth model "xtmixed"
Heckman Panel DataHello everyone! I have small doubts regarding estimation of Heckman model in the panel data framewor…
Randomized itemsDear Stata experts, I have recently finalized a data collection from an on-line platform with embed…
interpretation of interaction of two logged variables in log-log modelDear Stata Listers, Could one advise on how to claculate the marginal effect of one logged variable…
Trying Latex(failed) …
extracting random effectsDear Stata users, I am wondering how to extract random effects after joint model (-stjm-). The f…
Subscribe to:
Post Comments (Atom)
0 Response to Graph question for growth model "xtmixed"
Post a Comment