computeDGivenXi: Given the estimates of the pi and theta, compute d.

View source: R/sp23design.R

computeDGivenXiR Documentation

Given the estimates of the π and θ, compute d.

Description

This function computes d via

d(π,ξ)=\{ π_0 a + (1-π_0)\} - \{π_1 abc + (1-π_1)b \}

Usage

computeDGivenXi(piVec, xiVec)

Arguments

piVec

The two-element vector of (π_0, π_1)

xiVec

The three-element vector of (a=e^α, b=e^β, c=e^γ)

Details

This is an approximation to the hazard ratio

Value

The computed value of d, a scalar

Author(s)

Mei-Chiung Shih, Balasubramanian Narasimhan, Pei He

References

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.


sp23design documentation built on April 19, 2022, 5:08 p.m.