Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: hazard function


From   "Stephen P. Jenkins" <[email protected]>
To   [email protected]
Subject   Re: st: hazard function
Date   Wed, 19 Feb 2003 14:24:51 +0000 (GMT Standard Time)

On Wed, 19 Feb 2003 03:00:57 -0800 (PST) [email protected] wrote:
 
> In stata 7 we can obtain the K-M non-parametric graph
> of a survival function. But i have not found yet how
> to obtain a graph of the hazard. Can you help me?

I presume you are referring to a hazard option within -st-.
The problem is that the hazard rate is problematic in principle to 
estimate from continuous time spell data. Hence no option. The standard 
approach is instead to estimate a smoothed hazard rate, using a kernel 
estimator. See, inter alia, Klein and Moeschberger /Survival Analysis/ 
for a discussion of issues.
There are user-provided version 7 programs for smoothed hazards. Type 
-findit sthaz- and -findit sthaz-.  (In fact a -findit hazard- would 
have found them.)  Stata version 8 has the option built-in.

The alternative is to impose some grouping on the data and estimate a 
hazard using -ltable-


Stephen
----------------------
Professor Stephen P. Jenkins <[email protected]>
Institute for Social and Economic Research (ISER)
University of Essex, Colchester, CO4 3SQ, UK
Tel: +44 (0)1206 873374. Fax: +44 (0)1206 873151.
http://www.iser.essex.ac.uk

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index