pub fn quantile(obs: &[f64], thresh: &f64) -> f64
Calculate the value of the CDF of obs at a given threshold thresh. Called by quantiles.
obs
thresh