Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"Sun, Wensheng" <email@example.com>
Thu, 3 Jan 2013 17:01:53 -0600
xtmixed depvar time(indepvar1) i.treatment(indepvar2) timextreatment(inter= action), ||id:time, covariance(unstructured) residuals(independent) mle var= iance
I want indepvar1 (time) to be random in coefficient and intercept, eg. Each id has its own slope and overall, different treatment has different slope at each time point. However, when I do
margins treatment, at(time=3D(0 6 12 24)) then marginsplot, I got two straight parallel lines. How should I fix that?
Thank you very much!
* For searches and help try: