7.4.7. mclearn.performance.beta_sum_cdf¶
-
mclearn.performance.
beta_sum_cdf
(x, parameters, res=0.001)[source]¶ Compute the cdf of the sum of the k beta distributions.
Parameters: - x (array) – A subset of the domain where we want evaluate the cdf.
- parameters (array of tuples) – Each tuple (alpha_i, beta_i) is the parameters of a Beta distribution.
- res (float, optional (default=0.001)) – The precision of the convolution, measured as step size in the support.
Returns: y – The cdf evaulated at x.
Return type: array