stats
jaxns.internals.stats
Module Contents
- normal_to_lognormal(mu, std)[source]
Convert normal parameters to log-normal parameters.
- Parameters:
mu – mean of normal RV
std – standard deviation of normal RV
- Returns:
mu, sigma of log-normal RV
- density_estimation(xstar, x, alpha=1.0 / 3.0, order=1)[source]
Estimates the density of xstar given x using a trick.
- Parameters:
xstar – array of points to estimate density at
x – array of points to estimate density from
alpha – power law exponent
order – order of norm to use
- Returns:
density at xstar