Convert CDF Odds Ratio to Logged Relative Risks

Share:

Description

Given the values of the baseline hazard and odds ratio of the CDF at a grid of time points find the corresponding logged risk ratio.

Usage

1
  CDFOR2LRR(tcut, tmax, h0, CDFOR)

Arguments

tcut

Grid of time points (left endpoints)

tmax

The right endpoint of the last interval

h0

Values of the baseline hazard function on given intervals

CDFOR

Values of the odds ratio of the CDF's on the given intervals

Value

An m by 2 matrix, where m=length(tcut), having columns 'tcut' and logged RR.

Author(s)

Grant Izmirlian <izmirlian@nih.gov

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.