Expand description
Statistical functions: probability densities, cumulative distribution functions and quantiles built on the error function and the incomplete gamma and beta functions.
Invalid parameters (non-positive scales, degrees of freedom, probabilities outside [0, 1])
yield NaN.
See the book entry Statistical distribution functions.
Functions§
- beta_
cdf - The CDF of a beta distribution on
[0, 1]. - binomial_
cdf - The binomial CDF
P(X <= k)forntrials with success probabilityp. - binomial_
pmf - The binomial probability mass
P(X = k)forntrials with success probabilityp. - chi_
square_ cdf - The CDF of a chi-square distribution with
kdegrees of freedom. - chi_
square_ quantile - The quantile of a chi-square distribution with
kdegrees of freedom, forpin[0, 1]. - chi_
square_ survival - The upper-tail probability
P(X > x)of a chi-square distribution (the p-value of a statistic). - f_cdf
- The CDF of the F distribution with
d1andd2degrees of freedom. - gamma_
cdf - The CDF of a gamma distribution with the given shape and scale.
- normal_
cdf - The cumulative distribution function of a normal distribution, accurate in both tails.
- normal_
pdf - The probability density of a normal distribution with the given mean and standard deviation.
- normal_
quantile - The quantile (inverse CDF) of a normal distribution, for
pin[0, 1]. - poisson_
cdf - The Poisson CDF
P(X <= k)with meanlambda. - poisson_
pmf - The Poisson probability mass
P(X = k)with meanlambda. - student_
t_ cdf - The CDF of Student’s t distribution with
nudegrees of freedom. - student_
t_ quantile - The quantile of Student’s t distribution with
nudegrees of freedom, forpin[0, 1].