Commit Graph

6943 Commits

Author SHA1 Message Date
Mark R. Diggory 77aa09dab9 This is an Implementation of StatUtils that uses the new UnivariateStatistic Framework and passes all JUnit StatUtils tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140963 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:29:35 +00:00
Mark R. Diggory 88d6952806 Initial Tests for UnivariateStatistic package Hierarchy.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140962 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:24:50 +00:00
Mark R. Diggory aa40a7e7ce This commit adds the individual UnivariateStatistic package hierarchy, this hierarchy
is currently independent of the Univariate and StoreUnivariate Implementations and provides
storeless and storage based mechanisms for working with the individual
UnivariateStatistic implementations.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140961 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:23:52 +00:00
Mark R. Diggory b95322ce3d This patch exposes the start index, internal double array of DOubleArray Implementations.
It adds a NumberTransformer framework for mapping Objects and Bean Properties to double primitives
It also corrects some checkstyle and javadoc errors.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140960 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:20:02 +00:00
Mark R. Diggory 0fd2f5fd11 This patch exposes the start index, internal double array of DOubleArray Implementations.
It adds a NumberTransformer framework for mapping Objects and Bean Properties to double primitives
It also corrects some checkstyle and javadoc errors.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140959 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:13:35 +00:00
Mark R. Diggory 2b5b0e7a14 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21313
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140958 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:05:31 +00:00
Mark R. Diggory 561a4c85e7 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21295
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140957 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 17:58:17 +00:00
Mark R. Diggory fb359aaee0 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21277
Submitted by:	phil@steitz.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140956 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 16:59:13 +00:00
Mark R. Diggory 62577ea18b Removal of statistical (min/max) and deleteFrontElements methods from DoubleArray interface (per our previous discussion)
Adjusted dependent Test and StoreUnivariateImpl classes accordingly to accomidate changes.

Added new constructor to FixedDoubleArray for double[].


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140955 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 20:58:28 +00:00
Mark R. Diggory fd93fdf0a4 Eliminated extra pass to calc mean in std calculation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140954 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 20:31:52 +00:00
Mark R. Diggory 220d14781d moving test solvers to test directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140953 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 04:59:53 +00:00
Mark R. Diggory 2a0f365958 These only need to be in tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140952 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 04:59:27 +00:00
Mark R. Diggory 542211e8c4 Exceptions handling for math packages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140951 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 04:29:42 +00:00
Mark R. Diggory 436f05c48f PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21015
Submitted by:	phil@steitz.com


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


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140949 13f79535-47bb-0310-9956-ffa450edef68
2003-06-25 01:39:36 +00:00
Mark R. Diggory a4c605d8a6 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21003
Submitted by:	phil@steitz.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140948 13f79535-47bb-0310-9956-ffa450edef68
2003-06-25 01:35:46 +00:00
Mark R. Diggory a235488095 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21023
Submitted by:	j3322ptm@yahoo.de HotFusionMan@Yahoo.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140947 13f79535-47bb-0310-9956-ffa450edef68
2003-06-25 01:29:18 +00:00
Mark R. Diggory 0d757f3e99 Added Checks for Exceptions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140946 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 14:08:40 +00:00
Mark R. Diggory fed1f17d61 Additon of begin and length controls to StatUtils. Addition on test for array conditions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140945 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 14:03:32 +00:00
Mark R. Diggory 65062ddc86 This is the second half of this pr. Commit of analysis solver tests.
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20844
Submitted by:	J. Pietschman


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140944 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 03:02:28 +00:00
Mark R. Diggory 50520ebc12 This is the first half of this pr. Commit of analysis solvers.
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20844
Submitted by:	J. Pietschman


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140943 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 03:01:40 +00:00
Mark R. Diggory 4f17b718b3 Initial commit of package refactorings discussed in the group.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140942 13f79535-47bb-0310-9956-ffa450edef68
2003-06-22 03:57:57 +00:00
Mark R. Diggory 9b2b61b777 Removing Product from Univariate Interface, applying sumLog changes to geomean in AbstractStoreUnivariate.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140941 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 23:38:27 +00:00
Mark R. Diggory 8936d6e3a6 moving TestStatistic to stat package.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140940 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 23:07:23 +00:00
Mark R. Diggory 7dc1c05c59 Moving TestStatisticTest to stat package.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140939 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 23:02:51 +00:00
Mark R. Diggory 5e7fe90154 Moving TestStatistic implementation / interface into stat package.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140938 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 23:00:39 +00:00
Mark R. Diggory 8d3d1889fb Removed last of the Math.pow's
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140937 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:54:55 +00:00
Mark R. Diggory b84e9460b5 This is a multifile commit, it covers checkstyle errors in javadoc etc.
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20936
Submitted by:	brent@worden.org


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140936 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:21:49 +00:00
Mark R. Diggory d3f4480aff PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20980
Submitted by:	phil@steitz.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140935 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:16:43 +00:00
Mark R. Diggory 81c03fcee2 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20979
Submitted by:	phil@steitz.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140934 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:13:41 +00:00
Mark R. Diggory 7e2a7b5027 Adding tests for kurtosis and skew to UnivariateImpl testcase. Correcting initialization of moments in UnivariateImpl.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140933 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:08:23 +00:00
Mark R. Diggory e3ea7f7638 Removing mode.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140932 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 01:55:17 +00:00
Mark R. Diggory 0da1561627 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20964
Submitted by:	phil@steitz.com


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140931 13f79535-47bb-0310-9956-ffa450edef68
2003-06-20 21:05:47 +00:00
Tim O'Brien db0b59b9bc Removed the proposed solvers, many compilation problems and a broken unit test.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140930 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 21:25:03 +00:00
Tim O'Brien dc115509c8 Why not? Readded the statcvs report....
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140929 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 20:09:39 +00:00
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