|
openGPMP
Open Source Mathematics Package
|
Class providing methods for computing cumulative distribution functions (CDFs) More...
#include <cdfs.hpp>
Static Public Member Functions | |
| static double | bernoulli (double x, double p) |
| Compute the cumulative distribution function (CDF) of the Bernoulli distribution. More... | |
| static double | beta (double x, double alpha, double beta) |
| Compute the cumulative distribution function (CDF) of the beta distribution. More... | |
| static double | binomial (int k, int n, double p) |
| Compute the cumulative distribution function (CDF) of the binomial distribution. More... | |
| static double | cauchy (double x, double x0, double gamma) |
| Compute the cumulative distribution function (CDF) of the Cauchy distribution. More... | |
| static double | chi_squared (double x, double k) |
| Compute the cumulative distribution function (CDF) of the chi-squared distribution. More... | |
| static double | exponential (double x, double lambda) |
| Compute the cumulative distribution function (CDF) of the exponential distribution. More... | |
| static double | f (double x, double df1, double df2) |
| Compute the cumulative distribution function (CDF) of the F distribution. More... | |
| static double | gamma (double x, double shape, double scale) |
| Compute the cumulative distribution function (CDF) of the gamma distribution. More... | |
| static double | inverse_gamma (double x, double shape, double scale) |
| Compute the cumulative distribution function (CDF) of the inverse-gamma distribution. More... | |
| static double | inverse_gaussian (double x, double mu, double lambda) |
| Compute the cumulative distribution function (CDF) of the inverse-Gaussian distribution. More... | |
| static double | laplace (double x, double mu, double b) |
| Compute the cumulative distribution function (CDF) of the Laplace distribution. More... | |
| static double | logistic (double x, double mu, double s) |
| Compute the cumulative distribution function (CDF) of the logistic distribution. More... | |
| static double | log_normal (double x, double mu, double sigma) |
| Compute the cumulative distribution function (CDF) of the log-normal distribution. More... | |
| static double | gaussian (double x, double mu, double sigma) |
| Compute the cumulative distribution function (CDF) of the normal (Gaussian) distribution. More... | |
| static double | poisson (int k, double lambda) |
| Compute the cumulative distribution function (CDF) of the Poisson distribution. More... | |
| static double | rademacher (double x) |
| Compute the cumulative distribution function (CDF) of the Rademacher distribution. More... | |
| static double | student_t (double x, double df) |
| Compute the cumulative distribution function (CDF) of Student's t distribution. More... | |
| static double | uniform (double x, double a, double b) |
| Compute the cumulative distribution function (CDF) of the uniform distribution. More... | |
| static double | weibull (double x, double shape, double scale) |
| Compute the cumulative distribution function (CDF) of the Weibull distribution. More... | |
| static double | normal_cdf (double x) |
| Compute the cumulative distribution function (CDF) of the standard normal distribution. More... | |
| static double | incomplete_beta (double a, double b, double x) |
| Compute the incomplete beta function. More... | |
| static double | incomplete_gamma (double a, double x) |
| Compute the incomplete gamma function. More... | |
Class providing methods for computing cumulative distribution functions (CDFs)
|
static |
|
static |
Compute the cumulative distribution function (CDF) of the beta distribution.
| x | The value at which to evaluate the CDF |
| alpha | The alpha parameter of the beta distribution |
| beta | The beta parameter of the beta distribution |
Definition at line 53 of file cdfs.cpp.
Referenced by main().
|
static |
|
static |
Compute the cumulative distribution function (CDF) of the Cauchy distribution.
| x | The value at which to evaluate the CDF |
| x0 | The location parameter of the Cauchy distribution |
| gamma | The scale parameter of the Cauchy distribution |
Definition at line 73 of file cdfs.cpp.
Referenced by main().
|
static |
Compute the cumulative distribution function (CDF) of the chi-squared distribution.
| x | The value at which to evaluate the CDF |
| k | The degrees of freedom parameter of the chi-squared distribution |
Definition at line 78 of file cdfs.cpp.
Referenced by main().
|
static |
|
static |
Compute the cumulative distribution function (CDF) of the F distribution.
| x | The value at which to evaluate the CDF |
| df1 | The numerator degrees of freedom parameter of the F distribution |
| df2 | The denominator degrees of freedom parameter of the F distribution |
Definition at line 94 of file cdfs.cpp.
Referenced by main().
|
static |
Compute the cumulative distribution function (CDF) of the gamma distribution.
| x | The value at which to evaluate the CDF |
| shape | The shape parameter of the gamma distribution |
| scale | The scale parameter of the gamma distribution |
Definition at line 102 of file cdfs.cpp.
Referenced by main().
|
static |
Compute the cumulative distribution function (CDF) of the normal (Gaussian) distribution.
| x | The value at which to evaluate the CDF |
| mu | The mean parameter of the normal distribution |
| sigma | The standard deviation parameter of the normal distribution |
Definition at line 147 of file cdfs.cpp.
Referenced by main().
|
static |
Compute the incomplete beta function.
| a | The first parameter of the incomplete beta function |
| b | The second parameter of the incomplete beta function |
| x | The value at which to evaluate the incomplete beta function |
Definition at line 201 of file cdfs.cpp.
|
static |
|
static |
Compute the cumulative distribution function (CDF) of the inverse-gamma distribution.
| x | The value at which to evaluate the CDF |
| shape | The shape parameter of the inverse-gamma distribution |
| scale | The scale parameter of the inverse-gamma distribution |
Definition at line 110 of file cdfs.cpp.
Referenced by main().
|
static |
Compute the cumulative distribution function (CDF) of the inverse-Gaussian distribution.
| x | The value at which to evaluate the CDF |
| mu | The mean parameter of the inverse-Gaussian distribution |
| lambda | The shape parameter of the inverse-Gaussian distribution |
Definition at line 118 of file cdfs.cpp.
Referenced by main().
|
static |
Compute the cumulative distribution function (CDF) of the Laplace distribution.
| x | The value at which to evaluate the CDF |
| mu | The location parameter of the Laplace distribution |
| b | The scale parameter of the Laplace distribution |
Definition at line 126 of file cdfs.cpp.
Referenced by main().
|
static |
Compute the cumulative distribution function (CDF) of the log-normal distribution.
| x | The value at which to evaluate the CDF |
| mu | The mean parameter of the log-normal distribution |
| sigma | The standard deviation parameter of the log-normal distribution |
Definition at line 139 of file cdfs.cpp.
Referenced by main().
|
static |
Compute the cumulative distribution function (CDF) of the logistic distribution.
| x | The value at which to evaluate the CDF |
| mu | The location parameter of the logistic distribution |
| s | The scale parameter of the logistic distribution |
Definition at line 134 of file cdfs.cpp.
Referenced by main().
|
static |
|
static |
|
static |
|
static |
|
static |
Compute the cumulative distribution function (CDF) of the uniform distribution.
| x | The value at which to evaluate the CDF |
| a | The minimum value of the uniform distribution |
| b | The maximum value of the uniform distribution |
Definition at line 178 of file cdfs.cpp.
Referenced by main().
|
static |
Compute the cumulative distribution function (CDF) of the Weibull distribution.
| x | The value at which to evaluate the CDF |
| shape | The shape parameter of the Weibull distribution |
| scale | The scale parameter of the Weibull distribution |
Definition at line 188 of file cdfs.cpp.
Referenced by main().