Commit Graph

74 Commits

Author SHA1 Message Date
Mark R. Diggory 5971a93e3f PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23013
Submitted by:	Brent Warden
Reviewed by:	Mark Diggory

I also regenerated the build.xml using Maven to get the Discovery dependency added in.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140996 13f79535-47bb-0310-9956-ffa450edef68
2003-09-17 19:29:32 +00:00
Tim O'Brien 233420ee6b Bugzilla #22002: applied Brent W's patch which dealt with URSFactory and URSFImpl as well as numerous improvements to javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140988 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 21:58:11 +00:00
Mark R. Diggory 59f46d6a64 Adding J. Pietschmann
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140982 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 20:08:00 +00:00
Mark R. Diggory dfb732fb0c Rotating Commons Collections version to SNAPSHOT to get latest primitive collections implementations.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140964 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 19:24:18 +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
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 736e42145c project.xml had two dependencies sections, I removed the empty one.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140878 13f79535-47bb-0310-9956-ffa450edef68
2003-06-02 04:48:21 +00:00
Mark R. Diggory 91f675100d Adding myself to the developers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140873 13f79535-47bb-0310-9956-ffa450edef68
2003-06-01 15:43:40 +00:00
Tim O'Brien 25b3e45109 * add the numerical analysis and prob/stat references that have been posted or
included in javadoc recently, plus a few more generic references.
* update the task list based on accomplishments and discussion

PR: Issue 20357
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@140872 13f79535-47bb-0310-9956-ffa450edef68
2003-05-30 15:40:28 +00:00
Tim O'Brien 70c8906868 Removed tasklist report, until this has content, no reason for the added distraction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140871 13f79535-47bb-0310-9956-ffa450edef68
2003-05-29 23:30:48 +00:00
Tim O'Brien a0ff9fd630 linkcheck report was throwing 404s for every URL, I've removed it until someone can generate a meaningful report
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140870 13f79535-47bb-0310-9956-ffa450edef68
2003-05-29 23:26:24 +00:00
Tim O'Brien c9fc45757a Addition of a BeanListUnivariateImpl which can gather univariate statistics on a
List of JavaBeans.  This implementation extends the ListUnivariateImpl, and uses the
PropertyUtils classes from commons-beanutils.  With this implementation, the following
is possible:

List persons = new ArrayList();
// populate array with 100 persons
Univariate ageU = new BeanListUnivariateImpl( persons, "age" );
Univariate incomeU = new BeanListUnivariateImpl( persons, "jobInfo.income" );
System.out.println( "Mean age is: " + ageU.getMean() );
System.out.println( "Mean income is: " + incomeU.getMean() );

Better error handling is needed near our use of PropertyUtils.

This patch introduces a dependency on commons-beanutils, which in turn depends
on commons-collections and commons-logging.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140863 13f79535-47bb-0310-9956-ffa450edef68
2003-05-29 19:41:32 +00:00
Tim O'Brien 43c787eb35 Adds the one sample, t-test statistic to TestStatistic and implementations.
Also add unit tests. - BW

PR: Issue #20231
Obtained from: Bugzilla
Submitted by: Brent Worden
Reviewed by: Tim O'Brien


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140859 13f79535-47bb-0310-9956-ffa450edef68
2003-05-26 17:29:36 +00:00
Tim O'Brien b84e61ffcf From Phil Steitz patch submission for Issue #20175
The attached patch includes the following improvements to Univariate and
UnivariateImpl:

* Improved efficiency of min, max and product maintenance when windowSize is
  limited by incorporating suggestion posted to commons-dev by Brend Worden
  (added author credit).  Thanks, Brent!

* Added javadoc specifying NaN contracts for all statistics, definitions for
  geometric and arithmetic means.

* Made some slight modifications to UnivariateImpl to make it consistent with
  NaN contracts

* All interface documentation moved to Univariate. The interface specification
  includes the NaN semantics and a first attempt at clealy defining exactly
  what "rolling" means and how this effects what statistics are defined when.

* Added test cases to verify that min, max, product are correctly maintained
  when "rolling" and to verify that NaN contracts are satisfied.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140857 13f79535-47bb-0310-9956-ffa450edef68
2003-05-23 17:33:18 +00:00
Tim O'Brien 5918a1fe1e Readded the linkcheck and tasklist reports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140856 13f79535-47bb-0310-9956-ffa450edef68
2003-05-23 16:28:16 +00:00
Tim O'Brien 5de3587b86 Commited patch for issue 20112 from Phil Steitz.
EmpiricalDistribution -- represents an empirical probability distribution and
supports generation of data values that are "like" values in an input file
without making any assumptions about the functional form of the probability
distribution that the data come from.   This is useful in simulation
applications where historical data about component performance are
available but do not follow standard distributions (or any application that
requires random data generation from an empirical distribution). Also
generates data for grouped frequency histograms based on the input file.

ValueServer -- a wrapper for RandomData and EmpiricalDistribution that
generates values in each of the following modes:
  * DIGEST_MODE -- uses an empirical distribution
  * REPLAY_MODE -- replays data from an input file
  * UNIFORM_MODE -- generates uniformly distributed random values
  * EXPONENTIAL_MODE -- generates exponentially distributed random
                        values
  * GAUSSIAN_MODE -- generates Gaussian distributed random values
  * CONSTANT_MODE -- returns the same value every time.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140848 13f79535-47bb-0310-9956-ffa450edef68
2003-05-21 14:21:15 +00:00
Robert Burrell Donkin 7d540cfa99 Corrected upload directory.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140844 13f79535-47bb-0310-9956-ffa450edef68
2003-05-20 19:54:58 +00:00
Tim O'Brien a008ed1316 Added Mark Diggory as a contributor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140842 13f79535-47bb-0310-9956-ffa450edef68
2003-05-20 13:24:50 +00:00
Robert Burrell Donkin 2ebf818b42 Mavenization phase one - moving documentation build to maven, will complete by generating build.xml etc later.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140839 13f79535-47bb-0310-9956-ffa450edef68
2003-05-20 10:24:32 +00:00
Tim O'Brien d6f7028269 Added a FixedDoubleArray. FixedDoubleArray supports a rolling mechanism
that reuses an array of fixed length.  This classes was added to an efficient
rolling mechanism.

FixedDoubleArray was influenced by discussions on the commons-dev list and
patches submitted by Mark Diggory.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140836 13f79535-47bb-0310-9956-ffa450edef68
2003-05-17 23:24:21 +00:00
Tim O'Brien 5f2a1cbbc5 Made a nubmer of change to the ExpandableDoubleArray.
* This class now supports
the ability to move the starting index of the internal element array.  This
allows one to move the beginning of the element array, and form a sort of
"window", this will come into play when we want to provide moving
averages, or "rolling".

* Added an addElementRolling(double v) - this will increment the startIndex
and add the element to the end of the internal element array

* brought the Clover test cases up to 100% for this class

Added a class ContractableDoubleArray:

* This is an extension of ExpandableDoubleArray - it addes a configuration
parameter contractionCriteria.  Essential if the contractionCriteria is
2.0f we commit to never having the internal storage array provide more
than 2.0 times the storage capacity needed.  Once the internal
storage array exceed this measurement, the internal storage array is
pruned to the size of the internal element array.

Also, my IDE scolded me for some ununsed imports in ListUnivariateImpl, they
have been removed.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140831 13f79535-47bb-0310-9956-ffa450edef68
2003-05-15 15:38:48 +00:00
Tim O'Brien 352f134f0e A maven project.xml was added for conv
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140824 13f79535-47bb-0310-9956-ffa450edef68
2003-05-12 19:28:54 +00:00