rpact: Confirmatory Adaptive Clinical Trial Design and Analysis


utilitiesForSurvivalTrials {rpact}R Documentation

Survival Helper Functions for Conversion of Pi, Lambda, Median

Description

Functions to convert pi, lambda and median values into each other.

Usage

getLambdaByPi(piValue, eventTime = C_EVENT_TIME_DEFAULT, kappa = 1)

getLambdaByMedian(median, kappa = 1)

getHazardRatioByPi(pi1, pi2, eventTime = C_EVENT_TIME_DEFAULT,
  kappa = 1)

getPiByLambda(lambda, eventTime = C_EVENT_TIME_DEFAULT, kappa = 1)

getPiByMedian(median, eventTime = C_EVENT_TIME_DEFAULT, kappa = 1)

getMedianByLambda(lambda, kappa = 1)

getMedianByPi(piValue, eventTime = C_EVENT_TIME_DEFAULT, kappa = 1)

Arguments


piValue, pi1, pi2, lambda, median

Value that shall be converted.

eventTime

The assumed time under which the event rates are calculated, default is 12.

kappa

The scale parameter of the Weibull distribution, default is 1. The Weibull distribution cannot be used for the piecewise definition of the survival time distribution.

Details

Can be used, e.g., to convert median values into pi or lambda values for usage in getSampleSizeSurvival or getPowerSurvival.


[Package rpact version 2.0.5 Index | www.rpact.org]