btracey
c2c92a04af
Added Kolmogorov-Smirnov distance function and test
2014-09-18 16:20:10 -07:00
btracey
15c954b8e0
merged in with master
2014-09-17 08:57:04 -07:00
btracey
00dd9a3a94
Fixed typo in JensenShannon comment
2014-09-17 08:52:56 -07:00
btracey
0aff95f9f4
Next set of changes to ks
2014-09-17 08:51:55 -07:00
btracey
d1b94afb52
Corrected comment for Jensen-Shannon.
2014-09-16 23:50:01 -07:00
btracey
1da795789e
Fixed check for zero probability value in JensenShannon and updated test.
2014-09-16 23:46:39 -07:00
btracey
8bcee81676
started adding KolmorgorovSmirnoff
2014-09-16 23:43:01 -07:00
btracey
6f420f1ff0
Added JensenShannon distance function with test
2014-09-16 22:57:24 -07:00
Brendan Tracey
9cabea418c
Merge pull request #6 from pradeep-pyro/stat_distances
...
Added a few statistical distances
2014-09-02 22:27:49 -07:00
pradeep
29411bd797
Fix documentation
2014-09-03 11:25:57 +08:00
btracey
fae354edd8
Fixed spelling of Kullback-Leibler.
2014-09-01 10:19:05 -07:00
pradeep
ceb78858fe
Reorder functions in alphabetical order.
...
Remove normalization in bhattacharyyaCoeff().
2014-09-01 16:35:40 +08:00
pradeep
ca4b71f0fa
Fixed bugs;
...
Added Bhattacharyya(), Hellinger() and tests;
Removed Intersection().
2014-09-01 14:26:59 +08:00
pradeep
37fc389329
Added Bhattacharya, Chi-square and Intersection distance to compare distributions.
2014-08-19 15:05:31 +08:00
btracey
244075b735
Make golint happy. Change StDev to StdDev.
...
This CL changes the function signature from StDev to StdDev to match the other StandardXxx functions.
Additionally, this PR fixes the comments that don't start with the correct name
and changes +=1 to ++ by recommendation from golint
2014-08-05 21:58:31 -07:00
btracey
ff697f7af6
Proper indentation of CumulantKind behaviors for CDF and Quantile
2014-08-05 21:29:21 -07:00
btracey
758d7216bc
Changed formattign on histogram function. Changed name of Percentile to CDF and improved panic message
...
Lists should be separated out into their own block (see the reflect package).
It was decided in code review that Quantile and Percentile are confusing
so it was decided to change it to Quantile and CDF
2014-08-05 19:19:27 -07:00
btracey
7718fff24b
Moved Quantile panic behavior into the switch case
2014-08-05 11:03:23 -07:00
btracey
a00167aefa
Flipped the names of Quantile and Percentile. Added CumulantKind to Quantile and Percentile functions.
2014-08-05 11:01:47 -07:00
btracey
7facd5b491
Renamed SortWeightedData to SortWeighted
2014-08-04 23:36:06 -07:00
btracey
1bb472a6c9
Incorporated PR comments
2014-08-04 23:23:39 -07:00
btracey
279d2bd0a9
Initial commit of sample statistics functions to the stat package
2014-08-04 16:13:19 -07:00