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: RE: Survival analysis - individual survival functions


From   "Seed, Paul" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: Survival analysis - individual survival functions
Date   Thu, 16 Dec 2010 20:31:43 +0000

Thanks Steve.  
I had been hoping to avoid doing all the algebra (or at 
least get some pre-calculated values to check my algebra 
against).  

It6 seems I'm out of luck.

Date: Wed, 15 Dec 2010 20:09:30 -0500
From: Steven Samuels <[email protected]>
Subject: Re: st: Survival analysis - individual survival functions

Paul,

  -predict- gives values at the observations after every regression  
command. To get it for arbitrary values of the inputs, you have to do  
it yourself.   S(t| t_0) = S(t)/S(t_0), and the formulas for S(.) are  
on page 358 of the Stata Manual (V 11).  You can get the linear  
predictor for any values of the X's with  -margins-  or -adjust- 
( Stata<11).  Add the appropriate auxiliary parameters (returned  
results e(theta), e(aux_p), e(gamma), e(sigma), e(kappa)); your t and  
t_0; then plug  everything into the formulas.

Steve

Steven J. Samuels
[email protected]
18 Cantine's Island
Saugerties NY 12477
USA
Voice: 845-246-0774
Fax:    206-202-4783


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