Estimating the Baseline Hazard Function

On this webpage, we use the notation found at Estimating the Cox Regression Coefficients using Solver.

The Cox regression model takes the form

image071

whereimage072

Property 1: An estimate of h0(tj) for any j = 1, …, m (due to Kalbfleisch and Prentice) is:

image108x

where cj is a solution to the equation

image109x

In the general case, this equation must be solved by iterative means (e.g. Newton’s Method or Solver), but in the case where dj = 1 for all j, by simple algebra we get

image110x

Property 2: The following is an estimate for cj:

image111x

Observation: The estimate for cj from Property 2 can be used as the initial guess when using any of the iterative methods to solve the equation in Property 1.

The quantity cj is an estimate of the probability that a subject survives from tj to tj+1, and so the estimated baseline survival function is

image117x

for any t in the interval tk ≤ t < tk+1 for any k = 1, …, m-1. S0(t) = 1 for t < t1. If there are no censored times ≥ tm, then S0(t) = 0 for t ≥ tm. Otherwise, let te  = the largest censored time. Then for any t in the interval tm ≤ t < te, then S(t) = \prod_{j=1}^{m} c_j and S(t) is undefined for any t > te.

By Property 1 of Survival Analysis Basic Concepts, the baseline cumulative hazard function is

image118x

By Property 2, the following property follows.

Property 3:

image119ximage120x

References

Kalbfleisch, J. D., Prentice, R. L. (2002) The statistical analysis of failure time data. 2nd Ed. Wiley
https://books.google.it/books/about/The_Statistical_Analysis_of_Failure_Time.html?id=BR4Kq-a1MIMC&redir_esc=y

11 thoughts on “Estimating the Baseline Hazard Function”

  1. Hi Charles,

    Regarding baseline function of Ho and cumulative hazard function, please help to explain example with figures and how to set up in excel.

    Thanks, Gabriel

    Reply
    • Hello Gabriel,
      I have received your email with an example from SAS that you would like to see duplicated in Excel. Do you have a reference for how the data to be graphed was generated by SAS?
      Charles

      Reply
      • Hi Charles,

        Currently, I am learning the probability of loan for credit impairment. I don’t have any data reference. I want to learn Cox here, and how to apply “Estimating the Baseline Hazard Function”. Thus would appreciate you could provide example and guideline in excel.

        Thanks,

        Reply
          • Indeed, it would be nice if there was an example for the calculation of the “Baseline Hazzard Function” in the “Examples worbooks”.

            Best regards, Roberto.

          • Hello Roberto,
            Yes, this is an excellent idea. I had hoped to do this a long time ago but still haven’t managed to turn my attention to it.
            I will work on this after I finish updating the website and examples workbooks for compatibility with Rel 8.0.
            Charles

Leave a Comment