double weibullv(double p, double g, double b);
Returns the critical point of the Weibull random variable distribution function with gamma g and beta b associated with probability p.
Parameters:
p | Cummulative probability for the critical point. |
---|---|
g | Shape parameter. |
b | Scale parameter. |
Returns:
x such that P(X ≤ x | g, b) = p
Errors:
NUMERICS_ERROR
is raised if g ≤ 0, b ≤ 0, p ≤ 0, or p ≥ 1
Usage:
double x = weibullv(.5, 1.5, 2.75)
Header:
#include "contdist.h"