Log-Normal
- greybox.distributions.dlnorm(q, loc=0, scale=1, log=False)[source]
Log-Normal distribution density.
locis the mean of the underlying normal on the log scale (meanlog),scaleis the corresponding standard deviation (sdlog).- Parameters:
q (array_like) – Quantiles (must be positive).
loc (float) – Mean of the underlying normal distribution (on log scale).
scale (float) – Standard deviation of the underlying normal distribution.
log (bool) – If True, return log-density.
- Returns:
Density values.
- Return type:
array
- greybox.distributions.plnorm(q, loc=0, scale=1)[source]
Log-Normal distribution CDF.
locis the mean of the underlying normal on the log scale (meanlog),scaleis the corresponding standard deviation (sdlog).- Parameters:
q (array_like) – Quantiles.
loc (float) – Mean of the underlying normal distribution.
scale (float) – Standard deviation of the underlying normal distribution.
- Returns:
CDF values.
- Return type:
array
- greybox.distributions.qlnorm(p, loc=0, scale=1)[source]
Log-Normal distribution quantile function.
locis the mean of the underlying normal on the log scale (meanlog),scaleis the corresponding standard deviation (sdlog).- Parameters:
p (array_like) – Probabilities.
loc (float) – Mean of the underlying normal distribution.
scale (float) – Standard deviation of the underlying normal distribution.
- Returns:
Quantile values.
- Return type:
array