added missing @since tags
JIRA: MATH-529 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1073459 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
34616efd4c
commit
816b795371
|
@ -44,6 +44,7 @@ public abstract class AbstractMultipleLinearRegression implements
|
|||
|
||||
/**
|
||||
* @return true if the model has no intercept term; false otherwise
|
||||
* @since 2.2
|
||||
*/
|
||||
public boolean isNoIntercept() {
|
||||
return noIntercept;
|
||||
|
@ -51,6 +52,7 @@ public abstract class AbstractMultipleLinearRegression implements
|
|||
|
||||
/**
|
||||
* @param noIntercept true means the model is to be estimated without an intercept term
|
||||
* @since 2.2
|
||||
*/
|
||||
public void setNoIntercept(boolean noIntercept) {
|
||||
this.noIntercept = noIntercept;
|
||||
|
@ -287,6 +289,7 @@ public abstract class AbstractMultipleLinearRegression implements
|
|||
* Estimates the variance of the error.
|
||||
*
|
||||
* @return estimate of the error variance
|
||||
* @since 2.2
|
||||
*/
|
||||
public double estimateErrorVariance() {
|
||||
return calculateErrorVariance();
|
||||
|
@ -297,6 +300,7 @@ public abstract class AbstractMultipleLinearRegression implements
|
|||
* Estimates the standard error of the regression.
|
||||
*
|
||||
* @return regression standard error
|
||||
* @since 2.2
|
||||
*/
|
||||
public double estimateRegressionStandardError() {
|
||||
return Math.sqrt(estimateErrorVariance());
|
||||
|
@ -336,6 +340,7 @@ public abstract class AbstractMultipleLinearRegression implements
|
|||
* matrix X.
|
||||
*
|
||||
* @return error variance estimate
|
||||
* @since 2.2
|
||||
*/
|
||||
protected double calculateErrorVariance() {
|
||||
RealVector residuals = calculateResiduals();
|
||||
|
|
Loading…
Reference in New Issue