fn sti_percentile_index(n: usize, p: f64) -> usize
0-based index of STI’s percentile: the sorted value at 1-based index round(p·N).
round(p·N)