double lognormalp(double x, double m, double v);
Returns the value of the Lognormal random variable distribution function with mean m and scale parameter v at the value x.
Parameters:
x | Critical point. |
---|---|
m | Mean parameter. |
v | Variance parameter. |
Returns:
P(X ≤ x | m, v)
Errors:
NUMERICS_ERROR
is raised if v ≤ 0
Usage:
double p = lognormalp(.5, 1.5, 2.75)
Header:
#include "contdist.h"