A class representing the analysis prior design prior for Bayesian borrowing.
Super class
DesignPrior -> AnalysisPriorDesignPrior
Methods
Inherited methods
AnalysisPriorDesignPrior$new()
Initializes a new instance of AnalysisPriorDesignPrior.
Usage
AnalysisPriorDesignPrior$new(
model,
case_study_config,
simulation_config,
mcmc_config
)AnalysisPriorDesignPrior$given_control_rate()
The analysis prior given the target control rate
The model's own prior given the control rate when it defines one, as the binomial models do; otherwise the analysis prior is truncated to the range the control rate leaves the effect.
AnalysisPriorDesignPrior$cdf()
Computes the cumulative distribution function (CDF) of the analysis prior design prior.