/[Apache-SVN]
ViewVC logotype

Revision 140858


Jump to revision: Previous Next
Author: tobrien
Date: Mon May 26 02:11:50 2003 UTC (21 years, 5 months ago)
Changed paths: 2
Log Message:
An implementation of ordinary least squares regression with one independent
variable. The implementation uses running sums and does not require the data
to be stored in memory.  Since I could not conceive of any significantly
different implementation strategies that did not amount to just improving
efficiency or numerical accuracy of what I am submitting, I did not abstract
the interface.

The test cases validate the computations against NIST reference data and
verified computations. The slope, intercept, their standard errors and
r-square estimates are accurate to within 10E-12 against the reference data
set.  MSE and other ANOVA stats are good at least to within 10E-8. -- Phil S.

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


Changed paths

Path Details
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/BivariateRegression.java added
Directoryjakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/BivariateRegressionTest.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26