Normal
- greybox.distributions.dnorm(q, loc=0.0, scale=1.0, log=False)[source]
Normal distribution density.
For the normal distribution,
locis the mean (μ) andscaleis the standard deviation (σ).- Parameters:
q (array_like) – Quantiles.
loc (float) – Location parameter (mean, μ).
scale (float) – Scale parameter (standard deviation, σ).
log (bool) – If True, return log-density.
- Returns:
Density values.
- Return type:
array
- greybox.distributions.pnorm(y, loc=0.0, scale=1.0, log=False, lower_tail=True)[source]
Normal distribution CDF.
- Parameters:
y (array_like) – Quantiles.
loc (float) – Location parameter (mean).
scale (float) – Scale parameter (standard deviation).
log (bool) – If True, return log-CDF.
lower_tail (bool) – If True, return lower tail probability.
- Returns:
CDF values.
- Return type:
array