Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Meta-analysis help: how to convert hazard ratio to risk ratio

    I am working on a meta-analysis using Stata. All the primary studies report risk ratio except one study that reported hazard ratio. Is there a formula to convert a hazard ratio to a risk ratio?

    Thanks,
    Al Bothwell

  • #2
    In short, probably not. Under very specific conditions, the HR and RR will coincide when everyone has complete followup (no dropouts or censoring). This may be unrealistic in your specific situation. It may be possible to compute an approximate RR by inspection of the Kaplan-Meier curves by finding the group-specific failure (or event) rates at a fixed time-point, since these are probabilities. Where you will likely run into problems, is how to compute the variance of the survival probabilities. Greenwood's formula (or more modern methods used in Stata) require you to know how many censoring events there were up to the fixed time-point. (It's not justified to use the binomial variance formula because of the censoring.) If somehow you have this information, then you can proceed by the usual methods to get your RR, variance and CI.

    An alternative is to contact the authors, explain your research question and request they perform a reanalysis to obtain the RR estimates you need. They would be in the best position to provide this.

    Comment


    • #3
      Leonardo Guizzetti
      Under very specific conditions, the HR and RR will coincide when everyone has complete followup (no dropouts or censoring).
      I don't think that's right.

      Suppose we have two exponential survival functions, say one with constant hazard 1 and the other with constant hazard 2. Then the hazard ratio is 2:1 = 2. But at any given time t, the surviving proportions will be exp(-t) and exp(-2t), respectively. But the relative risk of death at time t will be (1-exp(-t))1-exp(-2t)). While that approaches 2 in the limit as t -> 0, it also approaches 1 in the limit as t -> infinity, and takes on all possible values in between at realistic values of t.

      As far as I am aware, there is no systematic relationship between RR and hr over time periods that are not, in effect, infinitesimal.

      Comment


      • #4
        Thanks for the counterexample Clyde. I was imagining maybe a different condition where one estimated a regression model using survival data under those conditions I noted but I hadn't really thought the idea all the way through.

        Comment


        • #5
          I've been playing around with this for the past hour or so. It is not a coincidence that in the limit as t->0, hr(t) and RR(t) tend to be equal. I can prove it, subject to mild regularity conditions on the survival functions:

          Theorem:
          Let S*1(t) and S2(t) be two survival functions, both continuously differentiable in a neighborhood of t = 0.
          Let h1 and h2 be the corresponding hazard functions, and hr(t) the hazard ratio h1(t)/h2(t). Define the relative risk of failure up to time t to be
          RR(t) = (1-S1(t))/(1-S2(t)).
          Then limt->0 hr(t) exists if and only if if limt->0 S1’(t)/S2’(t) exists (‘ denotes d/dt), and, in that case, limt->0 RR(t) also exists and all three of these limits are equal.

          Proof:
          By definition, for any survival function S(t), its hazard function h(t) = -S’(t)/S(t). Consequently,
          limt->0 hr(t) = limt->0 = limt->0 [-S1’(t)/S1(t)]/[ -S2’(t)/S2(t)] = limt->0 [S1’(t)/S2’(t)] * [S2(t)/S1(t)] .
          Now, by definition of a survival function we have S(0) = 1, and by continuity, therefore, limt->0 S(t) = 1.
          So, we get limt->0 hr(t) = limt->0 -S1’(t)/S2’(t) * 1 = limt->0 -S1’(t)/S2’(t).
          Therefore limt->0 hr(t) exists if and only if limt->0 -S1’(t)/S2’(t) exists, and if so, they are equal.

          Now let’s consider limt->0 RR(t).
          Since RR(t) = (1-S1(t))/(1-S2(t)), and both S1 and S2 approach 1 as t -> 0, we can apply L’Hopital’s rule.
          This gives us: limt->0 RR(t) = limt->0 -S1’(t)/(-S2’(t)) = limt->0 S1’(t)/(S2’(t)) if the last of these exists.
          So limt->0 RR(t) exists if limt->0 S1’(t)/(S2’(t)) exists, and in that case they are equal.

          But now we have established that limt->0 RR(t) and limt->0 hr(t) both exist if limt->0 S1’(t)/(S2’(t)) does, and in that case they are both equal to it, and, therefore, equal each other.

          Comment:
          Note that if limt->0 S1’(t)/(S2’(t)) does not exist, then neither does limt->0 hr(t). However, limt->0 RR(t) might exist anyway, in which case it is definitely not approximated by the hazard ratio.

          How important is the condition that limt->0 S1’(t)/(S2’(t)) exist? For the commonly used survival distributions, I think this usually holds, if only because Si’(0) is always finite, and is usually non-zero (i = 1, 2). One can, however, illustrate survival functions for which this will fail. For example, if S1(t) = exp(-t) and S2 = exp(-t2), then the derivative ratio in question tends toward infinity as t approaches 0.

          In the end, I'm not sure how useful this will be to O.P. If he is interested in the RR over sufficiently short survival times, it will be approximately equal to the hazard ratio. But sufficiently short may be doing more work there than he can accommodate in his situation.
          Last edited by Clyde Schechter; 29 Dec 2022, 15:37.

          Comment


          • #6
            Thank you for the great comments. I will contact the authors to request for RR. As a backup option, I will try setting a 2x2 table using the data reported in the article and then calculate RR.

            Comment

            Working...
            X