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]

From |
"Yusvita Triwiadhian S." <[email protected]> |

To |
[email protected] |

Subject |
Re: st: Estimating the hazard function |

Date |
Sun, 11 Sep 2011 15:54:29 +0700 |

Mr. brendan, I have a problem like you. I also want to know the h(t) estimated at each time point. but I still don't know how to get it. On Sun, Sep 11, 2011 at 7:04 AM, Brendan Corcoran <[email protected]> wrote: > Thanks Steven. > > How do I actually incorporate the hazard contributions into -kdensity-? > > The analysis time variable is _t, and I've generated the hazard > contributions through running -sts gen H=h- > > Just unsure how to apply -kdensity- to _t while also using the hazard > contributions -H- to weight it somehow. > > > On Sat, Sep 10, 2011 at 10:26 PM, Steven Samuels <[email protected]> wrote: >> >> You can use -kdensity- to estimate the hazard function and, as in -stcurve-, set the smoothing options yourself. The difference is that -kdensity- has an option to generate the smoothed estimates. >> >> Steve >> On Sep 1 >> >> 0, 2011, at 3:10 PM, Brendan Corcoran wrote: >> >> I want to get a hold of the data produced by -sts graph, hazard- i.e. >> the h(t) estimated at each time point. This is so I can produce >> hazard graphs in other applications. >> >> I understand that -sts gen dh=h- produces the estimated hazard >> component deltaH_j = H(t_j) - H(t_(j-1)), and that to calculate h(t) >> -sts graph, hazard- calculates a weighted kernel-density estimate >> using deltaH_j. >> >> But how could I get the actual h(t) values calculated here, or as a >> second option how could I run the weighted kernel-density estimate >> myself? >> >> >> * >> * 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/ >> > > * > * 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/ > * * 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/

**References**:**st: Estimating the hazard function***From:*Brendan Corcoran <[email protected]>

**Re: st: Estimating the hazard function***From:*Steven Samuels <[email protected]>

**Re: st: Estimating the hazard function***From:*Brendan Corcoran <[email protected]>

- Prev by Date:
**Re: st: Trends and Time dummies** - Next by Date:
**st: competing risks model - unobserved heterogeneity** - Previous by thread:
**Re: st: Estimating the hazard function** - Next by thread:
**Re: st: Estimating the hazard function** - Index(es):