108 Commits

Author SHA1 Message Date
Tim O'Brien
d6775caedf Readded some activity reports to the maven site, now that we have more activity some of these reports make more sense
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140928 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 20:06:48 +00:00
Tim O'Brien
bc173f639f 1. Gamma.logGamma was expecting epsilon and maxIterations but these parameters
were not being referenced in that function.  These parameters has been removed.

2. Also, the Lanczos coefficients are now a private static member variable of
the Gamma class.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140927 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 20:02:27 +00:00
Mark R. Diggory
0191e6129b Initial Deposit for StatUtils unit testing, this was derived from StoreUnivariateImplTest.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140926 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 15:59:55 +00:00
Mark R. Diggory
283716c077 Last commit got formated with tabs, this is formated with spaces
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140925 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 13:57:24 +00:00
Mark R. Diggory
202a38df83 Degegates to StatUtils now for "window" case. Implemented skew and kurt using recursive moments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140924 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 13:47:35 +00:00
Mark R. Diggory
c4c3868df6 Rolling back to previous version.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140923 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 12:42:24 +00:00
Mark R. Diggory
5179d78ef8 Simplified calculation, removing extra division.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140922 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 03:05:45 +00:00
Mark R. Diggory
7c57c2ed60 Adding corrected two-pass algorithm for variance calculation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140921 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 03:01:28 +00:00
Mark R. Diggory
374b62d120 Addition of sumLog method (natural) to get the sum of the Logs. Altered GeometricMean to calculate the geometricMean from the sum of logs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140920 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 01:56:03 +00:00
Mark R. Diggory
d4f6a5c818 Addition of product and geometericMean.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140919 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 23:23:07 +00:00
Mark R. Diggory
175c7c5fce Missed two static signatures in the methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140918 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 23:00:17 +00:00
Mark R. Diggory
5acc48ef8d Initial Addition of StatUtils. Some methods need review, implementation and possibly debugging
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140917 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 22:55:38 +00:00
Tim O'Brien
4de94a08c7 alternative root finding framework, and Brent-Drekker solver
Issue: 20844
Submitted by: J. Pietschmann
Reviewed by: T. O'Brien


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140916 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 21:16:08 +00:00
Mark R. Diggory
9318b7a749 Rolling back to version 1.5 to provide for group discussion on the subject
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140915 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 17:10:15 +00:00
Mark R. Diggory
32fd0d5a52 I'm not sure with this algorithm, but I'm going to add this test back into the Variance that protects it from returning a value less than 0.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140914 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 21:38:15 +00:00
Mark R. Diggory
0811c1790b More correction of Javadoc errors.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140913 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 21:29:49 +00:00
Mark R. Diggory
606ef299cc More correction of Javadoc errors that end up propigating into UnivarImpl and other implementations.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140912 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 21:24:30 +00:00
Mark R. Diggory
d246044d45 Correction of Javadoc errors that end up propigating into UnivarImpl and other implementations.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140911 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 20:58:53 +00:00
Mark R. Diggory
1be3d32358 This house-cleaning improves UnivariateImpl, in a number of ways.
1.) insertValue is abolished and its contents are now in addValue

2.) UnivariateImpl now extends AbstractStoredUnivariate to deligate to
 those methods directly for calculating statistics when storage is active, all methods
 deligate to AbstractStoreUniv when the DoubleArray is no longer null. This also means
that a majority of the StoreUnivariate interface is now implemented in Univariate to provide
deligates when storage is active, and to throw runtime exceptions when its not (this at least until 
we establish rolling implementations for those methods). We should consider consolidating the 
StoreUnivariate interface into the Univariate interface

3.) Calculations in addValue have been reorganized, only calculations for
the storageless solution are now present in this class. otherwise the value is 
added/Rolling to the Double array when appropriate.

I'm satisfied that it passes all Unit tests.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140910 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 20:42:24 +00:00
Tim O'Brien
464aac515f Added the graceful handling of invalid and NaN domain values. Created test
cases to verify the graceful handling.

Issue #: 20774
Submitted By: Brent Worden
Reviewed By: Tim O'Brien


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140909 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 20:13:43 +00:00
Mark R. Diggory
3f313dff3a PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20782
Submitted by:	HotFusionMan@Yahoo.com

I added this, but there are changes I'd like to make in the near future. Only the "running" aspects of the variance calc should be in the insertValue function, all other calculation should be in the getVariance function.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140908 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 14:29:30 +00:00
Mark R. Diggory
765db662a5 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20783
Submitted by:	phil@steitz.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140907 13f79535-47bb-0310-9956-ffa450edef68
2003-06-15 17:01:39 +00:00
Mark R. Diggory
09c8b57924 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20773
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140906 13f79535-47bb-0310-9956-ffa450edef68
2003-06-14 04:24:43 +00:00
Mark R. Diggory
d20ee8ab0e PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20766
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140905 13f79535-47bb-0310-9956-ffa450edef68
2003-06-14 04:17:49 +00:00
Mark R. Diggory
3a7fab66ae I am removing this file because the build.xml file is now generated by Maven and periodically updated when the project.xml file is updated. This file was used with the old build.xml file prior to our use of Maven to generate the build.xml.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140904 13f79535-47bb-0310-9956-ffa450edef68
2003-06-13 13:37:18 +00:00
Mark R. Diggory
3849e21f3b PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20633
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140903 13f79535-47bb-0310-9956-ffa450edef68
2003-06-13 13:22:41 +00:00
Tim O'Brien
83855b4cd7 Submitted Javadoc fixes from Andreou Andreas
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140902 13f79535-47bb-0310-9956-ffa450edef68
2003-06-11 14:50:30 +00:00
Mark R. Diggory
16c19dcec0 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20627
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140901 13f79535-47bb-0310-9956-ffa450edef68
2003-06-11 11:14:41 +00:00
Tim O'Brien
431f303889 * Fixed all checkstyle errors and eliminated redundant NaN checks. Now have
100% test path coverage.

* Used distribution framework TDistribution to implement
getSlopeConfidenceInterval and getSignificance methods.

PR: Issue #20657
Obtained from: Bugzilla
Submitted by: Phil Steitz
Reviewed by: Tim O'Brien


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140900 13f79535-47bb-0310-9956-ffa450edef68
2003-06-11 03:33:05 +00:00
Mark R. Diggory
b58585fb8d PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20601
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140899 13f79535-47bb-0310-9956-ffa450edef68
2003-06-11 01:19:19 +00:00
Mark R. Diggory
8d1482c461 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20570
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140898 13f79535-47bb-0310-9956-ffa450edef68
2003-06-07 13:57:54 +00:00
Mark R. Diggory
a6c324e669 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20543
Submitted by:	phil@steitz.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140897 13f79535-47bb-0310-9956-ffa450edef68
2003-06-07 01:36:57 +00:00
Mark R. Diggory
1999928282 Resolved some href " issues in Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140896 13f79535-47bb-0310-9956-ffa450edef68
2003-06-06 03:38:03 +00:00
Mark R. Diggory
aa3e2e9ef4 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20496
Submitted by:	Albert Davidson Chou


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140895 13f79535-47bb-0310-9956-ffa450edef68
2003-06-06 03:07:39 +00:00
Mark R. Diggory
41d1a0d8f0 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20514
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140894 13f79535-47bb-0310-9956-ffa450edef68
2003-06-05 18:35:24 +00:00
Mark R. Diggory
02edce0889 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20507
Submitted by:	Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140893 13f79535-47bb-0310-9956-ffa450edef68
2003-06-05 14:10:43 +00:00
Mark R. Diggory
2dec2474f9 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20488
Submitted by:	Brent Worden

Initial submission of the distribution library


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140892 13f79535-47bb-0310-9956-ffa450edef68
2003-06-05 14:03:53 +00:00
Mark R. Diggory
b0bafaff5a Adding Al as a contributor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140891 13f79535-47bb-0310-9956-ffa450edef68
2003-06-05 03:24:21 +00:00
Mark R. Diggory
a4ff28ef72 just changing my email address...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140890 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 12:48:14 +00:00
Mark R. Diggory
8fea245638 typo in the ${basedir} variable.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140889 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 12:43:14 +00:00
Mark R. Diggory
ed6d94077f fixed href link to have ""'s
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140888 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 12:23:44 +00:00
Mark R. Diggory
acde85f2bf Improved Variance calculation, test for negative variance and added some more javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140887 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 04:05:39 +00:00
Mark R. Diggory
b3dd72f6e0 Adjusted the code to be able to control the files used and the tolerance for each file (important, hard tests currently require lower tolerance to pass).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140886 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 04:03:55 +00:00
Mark R. Diggory
ba74c2510f PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20442
Submitted by:	Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140885 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 02:45:49 +00:00
Mark R. Diggory
fe27566380 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20404
Submitted by:	Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140884 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 02:40:26 +00:00
Mark R. Diggory
42e427ce8c PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20390
Submitted by:	Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140883 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 02:31:14 +00:00
Mark R. Diggory
516c15d88b PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20377
Submitted by:	Phil Steitz


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140882 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 02:24:51 +00:00
Mark R. Diggory
11898601e0 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20375
Submitted by:	Albert Davidson Chou


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140881 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 02:17:17 +00:00
Mark R. Diggory
108ea5741c Changing the name of data files, the default javac target in the ant file misses files of the extension "dat"
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140880 13f79535-47bb-0310-9956-ffa450edef68
2003-06-02 05:21:06 +00:00
Mark R. Diggory
546eeaf219 Commenting out testUnivariateImpl unitl I figure out why this fails in UnivariateImpl
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140879 13f79535-47bb-0310-9956-ffa450edef68
2003-06-02 04:58:33 +00:00