Cauchy distribution https://en.wikipedia.org/wiki/Cauchy_distribution.
More...
|
| __construct (float $x₀, float $γ) |
| Constructor. More...
|
|
| pdf (float $x) |
| Probability density function. More...
|
|
| cdf (float $x) |
| Cumulative distribution function Calculate the cumulative value value up to a point, left tail. More...
|
|
| inverse (float $p) |
| Inverse CDF (Quantile function) More...
|
|
| mean () |
| Mean of the distribution (undefined) More...
|
|
| median () |
| Median of the distribution. More...
|
|
| mode () |
| Mode of the distribution. More...
|
|
| variance () |
| Variance of the distribution (undefined) More...
|
|
| inverse (float $target) |
| The Inverse CDF of the distribution. More...
|
|
| between (float $x₁, float $x₂) |
| CDF between - probability of being between two points, x₁ and x₂ The area under a continuous distribution, that lies between two specified points. More...
|
|
| outside (float $x₁, float $x₂) |
| CDF outside - Probability of being below x₁ and above x₂. More...
|
|
| above (float $x) |
| CDF above - Probability of being above x to ∞ Area under a continuous distribution, that lies above a specified point. More...
|
|
| rand () |
| Produce a random number with a particular distribution. More...
|
|
| __construct (... $params) |
| Constructor. More...
|
|
|
const | PARAMETER_LIMITS |
|
const | SUPPORT_LIMITS |
|
const | GUESS_THRESHOLD = 10 |
|
const | GUESS_ALLOWANCE = 8 |
|
◆ __construct()
MathPHP\Probability\Distribution\Continuous\Cauchy::__construct |
( |
float |
$x₀, |
|
|
float |
$γ |
|
) |
| |
Constructor.
- Parameters
-
float | $x₀ | location parameter |
float | $γ | scale parameter γ > 0 |
◆ cdf()
MathPHP\Probability\Distribution\Continuous\Cauchy::cdf |
( |
float |
$x | ) |
|
◆ inverse()
MathPHP\Probability\Distribution\Continuous\Cauchy::inverse |
( |
float |
$p | ) |
|
Inverse CDF (Quantile function)
Q(p;x₀,γ) = x₀ + γ tan[π(p - ½)]
- Parameters
-
- Returns
- float
◆ mean()
MathPHP\Probability\Distribution\Continuous\Cauchy::mean |
( |
| ) |
|
◆ median()
MathPHP\Probability\Distribution\Continuous\Cauchy::median |
( |
| ) |
|
Median of the distribution.
- Returns
- float x₀
◆ mode()
MathPHP\Probability\Distribution\Continuous\Cauchy::mode |
( |
| ) |
|
Mode of the distribution.
- Returns
- float x₀
◆ pdf()
MathPHP\Probability\Distribution\Continuous\Cauchy::pdf |
( |
float |
$x | ) |
|
◆ variance()
MathPHP\Probability\Distribution\Continuous\Cauchy::variance |
( |
| ) |
|
Variance of the distribution (undefined)
- Returns
- float
◆ PARAMETER_LIMITS
const MathPHP\Probability\Distribution\Continuous\Cauchy::PARAMETER_LIMITS |
◆ SUPPORT_LIMITS
const MathPHP\Probability\Distribution\Continuous\Cauchy::SUPPORT_LIMITS |
The documentation for this class was generated from the following file:
- src/Probability/Distribution/Continuous/Cauchy.php