Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Extracting coefficients from xtmixed model


From   Debs Majumdar <debs_stata@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Extracting coefficients from xtmixed model
Date   Wed, 29 Jun 2011 11:07:36 -0700 (PDT)

Hello,

   I have an unbalanced data set with 6 visits and the sample size goes down from around 900 at baseline to 480 at the last visit. I wanted to extract the estimate for visit from my longitudinal data. One of my fellow colleagues asked me to use


   statsby , by(rid): regress dep_A visit,

 which give me "_b_visit" in the output. First, Is this a good way to do this? I would rahter fit a mixef effects model.



When I tried to use the same command after adding more covariates using statsby , by(rid): regress dep_A visit bvol hcv whitmathyp, I don't really get any a different result and I think because I do have missing values for the predictors.


I was thinking of the following model and extracting"_b_visit" for the participants. How does one do it in Stata?


xtmixed dep_A visit bvol hcv whitmathyp ||rid:visit, cov(uns)


Thanks,

 Debs


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index