hyperfine.distributions.modified_beta_pdf
- hyperfine.distributions.modified_beta_pdf(z: Sequence[float], alpha: Annotated[float, slice(0, None, None)], beta: Annotated[float, slice(0, None, None)], z_max: Annotated[float, slice(0, None, None)]) Sequence[float][source]
Probability density function for a modified beta distribution.
This modified form extends the beta distribution’s domain from \(z \in [0, 1]\) to \(z \in [0, z_{\mathrm{max}}]\).
- Parameters:
z – Position.
alpha – First shape parameter.
beta – Second shape parameter.
z_max – Upper bounds of the domain.
- Returns:
The probability density at position z.