From f3676b5011fcda362d414114d662471ff3364ee8 Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Sun, 21 Mar 2004 22:39:56 +0000 Subject: [PATCH] Javadoc git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141140 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/math/stat/BivariateRegression.java | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/java/org/apache/commons/math/stat/BivariateRegression.java b/src/java/org/apache/commons/math/stat/BivariateRegression.java index 740a03534..bc02236c3 100644 --- a/src/java/org/apache/commons/math/stat/BivariateRegression.java +++ b/src/java/org/apache/commons/math/stat/BivariateRegression.java @@ -49,7 +49,7 @@ import org.apache.commons.math.distribution.TDistribution; * the necessary computations to return the requested statistic. * * - * @version $Revision: 1.14 $ $Date: 2004/02/21 21:35:15 $ + * @version $Revision: 1.15 $ $Date: 2004/03/21 22:39:56 $ */ public class BivariateRegression implements Serializable { @@ -117,9 +117,12 @@ public class BivariateRegression implements Serializable { * data. *

* (data[0][0],data[0][1]) will be the first observation, then - * (data[1][0],data[1][1]), etc.

- * - * This method does not replace data that has already been added. + * (data[1][0],data[1][1]), etc. + *

+ * This method does not replace data that has already been added. The + * observations represented by data are added to the existing + * dataset. + *

* To replace all data, use clear() before adding the new * data. * @@ -154,7 +157,8 @@ public class BivariateRegression implements Serializable { /** * Returns the "predicted" y value associated with the - * supplied x value. + * supplied x value, based on the data that has been + * added to the model when this method is activated. *

* predict(x) = intercept + slope * x *

@@ -264,7 +268,7 @@ public class BivariateRegression implements Serializable { * Preconditions:

* @@ -292,7 +296,7 @@ public class BivariateRegression implements Serializable { } /** - * Returns + * Returns * Pearson's product moment correlation coefficient, * usually denoted r. *