import { variance } from "https://deno.land/x/simplestatistics@v7.7.5/index.js";
The variance is the sum of squared deviations from the mean.
This is an implementation of variance, not sample variance:
see the sampleVariance
method if you want a sample measure.