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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Cox model with Conditional Frailty AND Stratification


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Cox model with Conditional Frailty AND Stratification
Date   Thu, 18 Aug 2011 09:31:12 +0200

On Thu, Aug 18, 2011 at 5:43 AM, Jana von Stein wrote:
> I am trying to specify a Cox model with Conditional Frailty (as in
> Box-Steffensmeier et al. 2007) along with stratification. Does anyone know
> how to do both?

The error message seems pretty clear: "option strata(varname) not
allowed for shared frailty models". This makes perfect sense if the
stratification variable and the id variable for shared frailty are the
same. That model would just not be identified as the stratification
would take care of all variance that the shared frailty might
otherwise pick up. If the stratification variable and id variable
differ, the model may be in theory identified, but I would not be
surprised if in practice most datasets just would not contain enough
information for it to converge.

Hope this helps,
Maarten

Note that the Statalist FAQ also asks you to provide full references:
See the second item of section 3.4 Consider other members
<http://www.stata.com/support/faqs/res/statalist.html#others>.

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------
*
*   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