fit_beta: Fit beta distribution to symmetrical quantile triplet of...

View source: R/beta.R

fit_betaR Documentation

Fit beta distribution to symmetrical quantile triplet of probabilities

Description

Fit beta distribution to symmetrical quantile triplet of probabilities

Usage

fit_beta(lq, mq, uq, alpha = 0.25, ...)

Arguments

lq, mq, uq

values of lower, median and upper quantiles. All values should be between 0 and 1.

alpha

share of density in each tail. Default is 0.25, which means that lq corresponds to 25th quantile and uq to 75th quantile.

...

other arguments passed to stats::optim

Value

data.frame with one row and two columns: alpha and beta

Examples

fit_beta(0.6, 0.65, 0.71)

dmi3kno/qpd documentation built on Sept. 29, 2024, 6:39 p.m.