[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: hazard function
On Wed, 19 Feb 2003 03:00:57 -0800 (PST) email@example.com 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-
Professor Stephen P. Jenkins <firstname.lastname@example.org>
Institute for Social and Economic Research (ISER)
University of Essex, Colchester, CO4 3SQ, UK
Tel: +44 (0)1206 873374. Fax: +44 (0)1206 873151.
* For searches and help try: