Probability
Collection for calculating probability using real numbers.
- These methods can be used in the
Matrix
,Complex
method chain. - This class cannot be called directly.
Static Method Summary
Static Public Methods | ||
public static |
Beta function. |
|
public static |
Cumulative distribution function (CDF) of beta distribution. |
|
public static |
Incomplete beta function. |
|
public static |
Inverse function of cumulative distribution function (CDF) of beta distribution. |
|
public static |
Probability density function (PDF) of beta distribution. |
|
public static |
Cumulative distribution function (CDF) of binomial distribution. |
|
public static |
Inverse function of cumulative distribution function (CDF) of binomial distribution. |
|
public static |
Probability density function (PDF) of binomial distribution. |
|
public static |
Cumulative distribution function (CDF) of chi-square distribution. |
|
public static |
Inverse function of cumulative distribution function (CDF) of chi-square distribution. |
|
public static |
Probability density function (PDF) of chi-square distribution. |
|
public static |
Error function. |
|
public static |
Complementary error function. |
|
public static |
Inverse function of complementary error function. |
|
public static |
Inverse function of error function. |
|
public static |
Factorial function, x!. |
|
public static |
Cumulative distribution function (CDF) of F-distribution. |
|
public static |
Inverse function of cumulative distribution function (CDF) of F-distribution. |
|
public static |
Probability density function (PDF) of F-distribution. |
|
public static |
Cumulative distribution function (CDF) of gamma distribution. |
|
public static |
Inverse function of cumulative distribution function (CDF) of gamma distribution. |
|
public static |
Gamma function. |
|
public static |
Incomplete gamma function. |
|
public static |
Log-gamma function. |
|
public static |
Probability density function (PDF) of the gamma distribution. |
|
public static |
Binomial coefficient, number of all combinations, nCk. |
|
public static |
Cumulative distribution function (CDF) of normal distribution. |
|
public static |
Inverse function of cumulative distribution function (CDF) of normal distribution. |
|
public static |
Probability density function (PDF) of normal distribution. |
|
public static |
Incomplete beta function lower side. |
|
public static |
Incomplete gamma function lower side. |
|
public static |
Cumulative distribution function (CDF) of Poisson distribution. |
|
public static |
Inverse function of cumulative distribution function (CDF) of Poisson distribution. |
|
public static |
Probability density function (PDF) of Poisson distribution. |
|
public static |
Incomplete beta function upper side. |
|
public static |
Incomplete gamma function upper side. |
|
public static |
Cumulative distribution function (CDF) of Student's t-distribution. |
|
public static |
Cumulative distribution function (CDF) of Student's t-distribution that can specify tail. |
|
public static |
Inverse of cumulative distribution function (CDF) of Student's t-distribution. |
|
public static |
Inverse of cumulative distribution function (CDF) of Student's t-distribution in two-sided test. |
|
public static |
Probability density function (PDF) of Student's t-distribution. |
Static Public Methods
public static betacdf(x: number, a: number, b: number): number source
Cumulative distribution function (CDF) of beta distribution.
public static betainc(x: number, a: number, b: number, tail: string): number source
Incomplete beta function.
public static betainv(p: number, a: number, b: number): number source
Inverse function of cumulative distribution function (CDF) of beta distribution.
public static betapdf(x: number, a: number, b: number): number source
Probability density function (PDF) of beta distribution.
public static binocdf(x: number, n: number, p: number, tail: string): number source
Cumulative distribution function (CDF) of binomial distribution.
public static binoinv(y: number, n: number, p: number): number source
Inverse function of cumulative distribution function (CDF) of binomial distribution.
public static binopdf(x: number, n: number, p: number): number source
Probability density function (PDF) of binomial distribution.
public static chi2cdf(x: number, k: number): number source
Cumulative distribution function (CDF) of chi-square distribution.
public static chi2inv(p: number, k: number): number source
Inverse function of cumulative distribution function (CDF) of chi-square distribution.
public static chi2pdf(x: number, k: number): number source
Probability density function (PDF) of chi-square distribution.
public static erf(x: number): number source
Error function.
Params:
Name | Type | Attribute | Description |
x | number |
public static erfc(x: number): number source
Complementary error function.
Params:
Name | Type | Attribute | Description |
x | number |
public static erfcinv(p: number): number source
Inverse function of complementary error function.
Params:
Name | Type | Attribute | Description |
p | number |
public static erfinv(p: number): number source
Inverse function of error function.
Params:
Name | Type | Attribute | Description |
p | number |
public static factorial(n: number): number source
Factorial function, x!.
Params:
Name | Type | Attribute | Description |
n | number |
public static fcdf(x: number, d1: number, d2: number): number source
Cumulative distribution function (CDF) of F-distribution.
public static finv(p: number, d1: number, d2: number): number source
Inverse function of cumulative distribution function (CDF) of F-distribution.
public static fpdf(x: number, d1: number, d2: number): number source
Probability density function (PDF) of F-distribution.
public static gamcdf(x: number, k: number, s: number): number source
Cumulative distribution function (CDF) of gamma distribution.
public static gaminv(p: number, k: number, s: number): number source
Inverse function of cumulative distribution function (CDF) of gamma distribution.
public static gamma(z: number): number source
Gamma function.
Params:
Name | Type | Attribute | Description |
z | number |
public static gammainc(x: number, a: number, tail: string): number source
Incomplete gamma function.
public static gammaln(x: number): number source
Log-gamma function.
Params:
Name | Type | Attribute | Description |
x | number |
public static gampdf(x: number, k: number, s: number): number source
Probability density function (PDF) of the gamma distribution.
public static nchoosek(n: number, k: number): number source
Binomial coefficient, number of all combinations, nCk.
public static normcdf(x: number, u: number, s: number): number source
Cumulative distribution function (CDF) of normal distribution.
public static norminv(p: number, u: number, s: number): number source
Inverse function of cumulative distribution function (CDF) of normal distribution.
public static normpdf(x: number, u: number, s: number): number source
Probability density function (PDF) of normal distribution.
public static p_beta(x: number, a: number, b: number): number source
Incomplete beta function lower side.
public static p_gamma(x: number, a: number, gammaln_a: number): number source
Incomplete gamma function lower side.
public static poisscdf(k: number, lambda: number): number source
Cumulative distribution function (CDF) of Poisson distribution.
public static poissinv(p: number, lambda: number): number source
Inverse function of cumulative distribution function (CDF) of Poisson distribution.
public static poisspdf(k: number, lambda: number): number source
Probability density function (PDF) of Poisson distribution.
public static q_beta(x: number, a: number, b: number): number source
Incomplete beta function upper side.
public static q_gamma(x: number, a: number, gammaln_a: number): number source
Incomplete gamma function upper side.
public static tcdf(t: number, v: number): number source
Cumulative distribution function (CDF) of Student's t-distribution.
public static tdist(t: number, v: number, tails: number): number source
Cumulative distribution function (CDF) of Student's t-distribution that can specify tail.
public static tinv(p: number, v: number): number source
Inverse of cumulative distribution function (CDF) of Student's t-distribution.