getMinInfBeta: Get the minimal informative unimodal beta distribution

Description Usage Arguments Value

View source: R/fromQuantiles.R

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

1

Arguments

p

the probability (> 0 and < 1)

q

the quantile (> 0 and < 1)

Value

the two resulting beta parameters a and b in a list


crmPack documentation built on May 30, 2017, 4:42 a.m.