Skip to main content

gaussian_scale

Function gaussian_scale 

Source
pub fn gaussian_scale(level: f64) -> Result<f64, AnalysisError>
Expand description

The scale k of the ellipse holding the share level of a normal spread whose mean and covariance are known: k² = −2 ln(1 − level) (the module’s docs).

§Errors

AnalysisError::Domain for a level outside (0, 1).