pub fn tm_stat(val: f64, params: Params) -> f64
tm_statistic in 1d: (value-centre)/dispersion generalized to any measure of central tendency and dispersion