computeDGivenXi | R Documentation |
This function computes d via
d(π,ξ)=\{ π_0 a + (1-π_0)\} - \{π_1 abc + (1-π_1)b \}
computeDGivenXi(piVec, xiVec)
piVec |
The two-element vector of (π_0, π_1) |
xiVec |
The three-element vector of (a=e^α, b=e^β, c=e^γ) |
This is an approximation to the hazard ratio
The computed value of d, a scalar
Mei-Chiung Shih, Balasubramanian Narasimhan, Pei He
Lai, Tze Leung and Lavori, Philip W. and Shih, Mei-Chiung. Sequential Design of Phase II-III Cancer Trials, Statistics in Medicine, Volume 31, issue 18, p.1944-1960, 2012.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.