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"
Replacing missing values with median (PANEL DATA)Hi, Statalist. I'm working on panel dataset where I want to replace the missing values in my column…
Marginal Effect BIOPROBIT Hello to all, I am working with the state BIOPROBIT command. I have 2 dependent variables: y = 1: 4…
Weighting in Stata when weight variable accounts for both sample-based and population-based corrections?Hello, I am using National Survey Data (specifically, UK LCF) for Regression Analysis that contains…
Analyzing the properties of OLS and IV estimators when an important variable ability is omittedPlssss, can somebody help me with my university assignment of Econometrics Course and help me with c…
ARDL Co-Integration ApproachDear friends and colleagues, First of all, I would like to say that I'm new to this forum, so apolog…
Subscribe to:
Post Comments (Atom)
0 Response to Graph question for growth model "xtmixed"
Post a Comment