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: [email protected]
For additional commands, e-mail: [email protected]