double cauchyv(double p, double m, double s);
Returns the critical point of the Cauchy random variable distribution function with median m and scale parameter s associated with probability p.
Parameters:
p | Cummulative probability for the critical point. |
---|---|
m | Location parameter. |
s | Shape parameter. |
Returns:
x such that P(X ≤ x | m, s) = p
Errors:
NUMERICS_ERROR
is raised if s ≤ 0, p ≤ 0, or p ≥ 1
Usage:
double x = cauchyv(.5, 1.5, 2.75)
Header:
#include "contdist.h"