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: Three level mixed random and crossed effects model
From
Mrs Mohana Rajmokan <[email protected]>
To
"[email protected]" <[email protected]>
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/