Bookmark and Share

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]

st: AW: xtreg or xtmixed?


From   "Trelle Sven" <[email protected]>
To   <[email protected]>
Subject   st: AW: xtreg or xtmixed?
Date   Mon, 19 Dec 2011 11:47:11 +0100

Dear Johan,
it looks as if your dependent variable is binary/dichotomous. I would look into xtlogit (RE).

This might be of help: http://www.ats.ucla.edu/stat/stata/topics/MLM.htm


Sven



> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:owner-
> [email protected]] Im Auftrag von Johan van der Watt
> Gesendet: Montag, 19. Dezember 2011 10:44
> An: [email protected]
> Betreff: st: xtreg or xtmixed?
> 
> Hi
> I need to do longitudinal statistics on a panel data set of 150 individuals over 4
> different time points. My dependent variable is the development of
> neuropathy (everyone is neuropathy free at baseline assessment), and a
> have numerous continuous independent variables/possible risk factors for
> development of neuropathy, such as
> CD4 count. A few of the continuous variables are not normally distributed,
> and I am able to normalize most of them by either logging or square rooting
> them. Further, looking at these variables over time, some of them also do
> not follow a linear pattern, i.e they peak at visit 2 or 3 then go down at visit 4.
> I have used the -xtreg- command with -mle-, using a continuous variable,
> such as CD4 count, Neuropathy, and Visit:
> 
> xtreg cd4_  neuropathy visit, i(patientno2) mle
> 
> but after reading online articles and bulletin boards,  I have also tried the
> mixed effects model:
> 
> xtmixed cd4_  neuropathy visit ||  patientno2:,mle
> 
> As I am a stats amateur, is this what I am doing correct? Any other options?
> 
> Thanks
> 
> *
> *   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/



*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index