You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ps...@apache.org on 2004/09/01 18:19:21 UTC
cvs commit: jakarta-commons/math/xdocs/userguide index.xml stat.xml
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 @@
<li><a href="stat.html#overview">1.1 Overview</a></li>
<li><a href="stat.html#univariate">1.2 Univariate statistics</a></li>
<li><a href="stat.html#frequency">1.3 Frequency distributions</a></li>
- <li><a href="stat.html#regression">1.4 Bivariate regression</a></li>
+ <li><a href="stat.html#regression">1.4 Simple regression</a></li>
<li><a href="stat.html#tests">1.5 Statistical tests</a></li>
<li><a href="stat.html#distributions">1.6 Distribution framework</a></li>
</ul></li>
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 @@
<p>
<a href="#1.2 Univariate statistics">Univariate Statistics</a><br></br>
<a href="#1.3 Frequency distributions">Frequency distributions</a><br></br>
- <a href="#1.4 Bivariate regression">Bivariate Regression</a><br></br>
+ <a href="#1.4 Simple regression">Simple Regression</a><br></br>
<a href="#1.5 Statistical tests">Statistical Tests</a><br></br>
</p>
</subsection>
@@ -266,10 +266,10 @@
</dl>
</p>
</subsection>
- <subsection name="1.4 Bivariate regression" href="regression">
+ <subsection name="1.4 Simple regression" href="regression">
<p>
- <a href="../apidocs/org/apache/commons/math/stat/multivariate/BivariateRegression.html">
- org.apache.commons.math.stat.multivariate.BivariateRegression</a>
+ <a href="../apidocs/org/apache/commons/math/stat/multivariate/SimpleRegression.html">
+ org.apache.commons.math.stat.multivariate.SimpleRegression</a>
provides ordinary least squares regression with one independent variable,
estimating the linear model:
</p>
@@ -323,7 +323,7 @@
<br></br>
<dd>Instantiate a regression instance and add data points
<source>
-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 @@
<dd>Instantiate a regression object and load dataset
<source>
double[][] data = { { 1, 3 }, {2, 5 }, {3, 7 }, {4, 14 }, {5, 11 }};
-BivariateRegression regression = new BivariateRegression();
+SimpleRegression regression = new SimpleRegression();
regression.addData(data);
</source>
</dd>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org