EventPredPriorDistribution: Calculation of the parameters of prior gamma distributions

View source: R/EventPred.r

EventPredPriorDistributionR Documentation

Calculation of the parameters of prior gamma distributions

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

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 Aug. 28, 2023, 9:06 a.m.