statsmodels.distributions.bernstein.BernsteinDistribution.cdf#

BernsteinDistribution.cdf(x)[source]#

cdf values evaluated at x.

Parameters:
xarray_like

Points of multivariate random variable at which cdf is evaluated. This can be a single point with length equal to the dimension of the random variable, or two dimensional with points (observations) in rows and random variables in columns. In the univariate case, a 1-dimensional x will be interpreted as different points for evaluation.

Returns:
pdf values

Notes

Warning: 2-dim x with many points can be memory intensive because currently the bernstein polynomials will be evaluated in a fully vectorized computation.