commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject [Statistics] Distributions
Date Sat, 13 Jan 2018 12:38:26 GMT
Hello.

I propose to migrate codes currently in
   org.apache.commons.math4.distribution
to a module "commons-statistics-distribution" in the
new component.

At first, I'll consider only the "one-dimensional"
distributions to avoid a dependency on the
   org.apache.commons.math4.linear
package.
"EmpiricalDistribution" and "EnumeratedDistribution"
are also excluded from the move.

Adaptation:
  * Create sub-packages for "discrete" and "continuous"
    distributions.
  * Make custom exception (similar to pending work is
    "Commons Numbers"[1]).

Issue:
  * Method
      double inverseCumulativeProbability(double p)
    depends on a "solver" defined in
       org.apache.commons.math4.analysis.solvers
    package.
  A solution would be to copy the necessary functionality
  ("BrentSolver") as an "internal" utility.
  Another would be to provide an API for "externalizing"
  the functionality. E.g.
      double inverseCumulativeProbability(double p,
                                          RootSolver p)
  were "RootSolver" would an interface defined in
  "Commons Statistics".


Regards,
Gilles

[1] https://issues.apache.org/jira/browse/NUMBERS-40


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message