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: Three level mixed random and crossed effects model


From   Mrs Mohana Rajmokan <mohana.rajmokan@uqconnect.edu.au>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Three level mixed random and crossed effects model
Date   Thu, 13 Sep 2012 02:59:07 +0000

Dear List,

I am trying to fit a 3 level random and crossed effects model to a continuous outcome to estimate the respective variance components of each level of the 3  (for doctors)

Level3: Physicians ID
Level2: Patient's ID
Level1: stage ( 1 and 2)

For this study, each doctors have predicted the mortality rate for all the patients in two times. Thus clinician and patient is crossed effect and patient and stage is nested ( I think)

I presumed that  Physicians id is crossed with patient and patient is nested with stage. 

I tried the crossed random effects model for this data

Model1:
xtmixed  mortality_est || doctorsid:R. patient|| doctorsid:R.stage
Model2:
 xtmixed  mortality_est || doctorsid:R. patient|| doctorsid:R. stage||  patient:
Model3:
xtmixed  mortality_est ||stage:||doctorsid:R.patient||z:,variance
but did not converge
Any suggestion will be very appreciated.

Thanks
Kind Regards,
Mohana 


*
*   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