EventPredPriorDistribution: Calculation of the parameters of prior gamma distributions

Description Usage Arguments Value See Also

View source: R/EventPred.r

Description

This function can be used for calculating the parameters of prior gamma distributions for the event hazard rate, patient dropout hazard rate and patient enrollment rate in the EventPred function. For an example of the function call, see EventPredExample.

Usage

1
EventPredPriorDistribution(expected, uncertainty)

Arguments

expected

Numeric value defining the expected value of the event hazard rate, patient dropout hazard rate or patient enrollment rate. This value must be positive.

uncertainty

Numeric value defining the amount of uncertainly around the expected value defined above. As a general guideline, the uncertainty parameters of 0.1, 0.3 and 0.5 define high-confidence, medium-confidence and low-confidence prior distributions. This value must be between 0 and 1.

Value

The function returns a numeric vector with the shape and rate parameters of the prior gamma distribution.

See Also

EventPred


MedianaDesigner documentation built on Oct. 11, 2021, 9:10 a.m.