Java org.apache.commons.math3.stat.regression RegressionResults fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.stat.regression RegressionResults fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.stat.regression RegressionResults.

The text is from its open source code.

Constructor

Method

double[]getParameterEstimates()

Returns a copy of the regression parameters estimates.

The parameter estimates are returned in the natural order of the data.

A redundant regressor will have its redundancy flag set, as will a parameter estimate equal to Double.NaN .

doublegetRSquared()

Returns the coefficient of multiple determination, usually denoted r-square.

Preconditions:

  • At least numberOfParameters observations (with at least numberOfParameters different x values) must have been added before invoking this method.