psteitz 2004/09/01 09:19:21 Modified: math/xdocs/userguide index.xml stat.xml Log: Modified regression section to reflect class name change. Revision Changes Path 1.11 +2 -2 jakarta-commons/math/xdocs/userguide/index.xml Index: index.xml =================================================================== RCS file: /home/cvs/jakarta-commons/math/xdocs/userguide/index.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- index.xml 23 Jun 2004 16:26:16 -0000 1.10 +++ index.xml 1 Sep 2004 16:19:21 -0000 1.11 @@ -41,7 +41,7 @@
• 1.1 Overview
• 1.2 Univariate statistics
• 1.3 Frequency distributions
• -
• 1.4 Bivariate regression
• +
• 1.4 Simple regression
• 1.5 Statistical tests
• 1.6 Distribution framework
• 1.22 +7 -7 jakarta-commons/math/xdocs/userguide/stat.xml Index: stat.xml =================================================================== RCS file: /home/cvs/jakarta-commons/math/xdocs/userguide/stat.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- stat.xml 12 Aug 2004 15:34:14 -0000 1.21 +++ stat.xml 1 Sep 2004 16:19:21 -0000 1.22 @@ -33,7 +33,7 @@ @@ -266,10 +266,10 @@

- +

- - org.apache.commons.math.stat.multivariate.BivariateRegression + + org.apache.commons.math.stat.multivariate.SimpleRegression provides ordinary least squares regression with one independent variable, estimating the linear model:

@@ -323,7 +323,7 @@

Instantiate a regression instance and add data points -regression = new BivariateRegression(); +regression = new SimpleRegression(); regression.addData(1d, 2d); // At this point, with only one observation, // all regression statistics will return NaN @@ -362,7 +362,7 @@
Instantiate a regression object and load dataset double[][] data = { { 1, 3 }, {2, 5 }, {3, 7 }, {4, 14 }, {5, 11 }}; -BivariateRegression regression = new BivariateRegression(); +SimpleRegression regression = new SimpleRegression(); regression.addData(data);
--------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org