StretchedBeta

StretchedBeta()

Beta distribution scaled to arbitrary finite bounds.

Attributes

Name Description
mean Expected value.
support Distribution support.
variance Variance.
x_range Practical plotting range.

Methods

Name Description
cdf Cumulative distribution function.
elicit Elicit a stretched beta distribution from min/mode/max values.
fit Fit a stretched beta distribution to finite observations.
pdf Probability density function.
ppf Percent point function / inverse CDF.
sample Generate random samples.
validate_params Validate stretched beta parameters.

cdf

StretchedBeta.cdf(x)

Cumulative distribution function.

elicit

StretchedBeta.elicit(min, mode, max, concentration=4.0, name=None)

Elicit a stretched beta distribution from min/mode/max values.

fit

StretchedBeta.fit(data, name=None)

Fit a stretched beta distribution to finite observations.

pdf

StretchedBeta.pdf(x)

Probability density function.

ppf

StretchedBeta.ppf(q)

Percent point function / inverse CDF.

sample

StretchedBeta.sample(size=1, *, seed=None)

Generate random samples.

validate_params

StretchedBeta.validate_params(params)

Validate stretched beta parameters.