Skip to main content

calculate_cdf_score

Function calculate_cdf_score 

Source
pub fn calculate_cdf_score(value: f64, p10: f64, p50: f64) -> f64
Expand description

Computes the cumulative distribution function of a log-normal distribution with the given p10 and p50.

In other words, if X is log-normally distributed with 10th and 50th percentile p10 and p50, then calculate_cdf_score(x, p10, p50) = P(X ≤ x).