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, 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 <>
To   "" <>
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

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

Kind Regards,

*   For searches and help try:

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