convertedRate {interim}R Documentation

Scheduling interim analyses in clinical trials

Description

Function convertedRate converts a drop-out rate from one period to another. If the drop-out rate is defined for w1 weeks convertedRate yields the drop-out rate for w2 weeks.

Usage

convertedRate(r, w1, w2)

Arguments

r

rate between 0 and 1 (0 < r < 1)

w1

number of weeks for which r is defined

w2

number of weeks to which the rate shall be converted

Details

convertedRate is an auxilliary function that converts drop-out rates for different time periods.

The function can be used in order to convert drop-out rates required for function treatment. Function treatment requires the drop-out rate for the respective treatment duration as input. Typically known annual drop-out rates can be converted to the respective rate for the treatment duration accordingly by setting w1 to 52 and w2 to the respective treatment duration.

Value

The converted drop-out rate.

See Also

treatment for simulating the treatment duration for a given recruitment scenario

Examples

convertedRate(r=0.3,w1=52,w2=26)

[Package interim version 0.8.0 Index]