I have a vector float[] x containing samples of a random variable. I would like to initialize a prob. distribution fn. using these samples and then be able to call methods like https://commons.apache.org/proper/commons-statistics/commons-statistics-distribution/apidocs/org/apache/commons/statistics/distribution/ContinuousDistribution.html
I am looking for an API like: var f = ContinuousDistribution.of(x) is this available in commons-math? thanks. S.