import { default } from "https://deno.land/x/simplestatistic@v7.7.1/src/quantile_rank_sorted.js";
This function returns the quantile in which one would find the given value in the given array. With a sorted array, leveraging binary search, we can find this information in logarithmic time.