Ch15-CDFOR2LRR: Convert CDF Odds Ratio to Logged Relative Risks

Description Usage Arguments Value Author(s)

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


PwrGSD documentation built on Dec. 11, 2021, 9:43 a.m.