Description
This ticket digs deeper into probability distributions, which are a key foundation of statistics.
Three new functions are introduced:
1) normalDistribution: This is a distribution function which returns a normal distribution generator. It is designed to be used with both the sample and the kolmogorovSmirnov functions. Eventually a function will be added for every distribution supported by Apache Commons Math.
2) sample: Returns array of numbers that conforms to a given distribution. You pass it a distribution function and size and it returns the array that conforms to the distribution.
3) kolmogorovSmirnov: Performs a goodness of fit test for distributions. This function can will do both a one and two side test. The one sided test compares a sample to a distribution function. The two sided test compares two samples to see if that were pulled from the same distribution.
Attachments
Attachments
Issue Links
- is related to
-
SOLR-10651 Streaming Expressions statistical functions library
- Closed