gwinferno.preprocess.conversions.mu_var_from_alpha_beta#
- mu_var_from_alpha_beta(alpha, beta, xmax=1)[source]#
Convert α, β shape parameters of the Beta distribution to the mean and variance.
- Parameters:
- alphaarray_like
α shape parameter.
- betaarray_like
β shape parameter.
- xmaxarray_like, default=1
Maximum value with support.
- Returns:
- array_like, array_like
Tuple of arrays with shape matching inputs that represent the means and variances corresponding to the shape parameters.