h_get_min_inf_beta: Helper for Minimal Informative Unimodal Beta Distribution

View source: R/fromQuantiles.R

h_get_min_inf_betaR Documentation

Helper for Minimal Informative Unimodal Beta Distribution

Description

As defined in Neuenschwander et al (2008), this function computes the parameters of the minimal informative unimodal beta distribution, given the request that the p-quantile should be q, i.e. X ~ Be(a, b) with Pr(X <= q) = p.

Usage

h_get_min_inf_beta(p, q)

Arguments

p

(number)
the probability.

q

(number)
the quantile.

Value

A list with the two resulting beta parameters a and b.


Roche/crmPack documentation built on April 30, 2024, 3:19 p.m.