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