# Uses of Class
org.apache.commons.math3.stat.regression.ModelSpecificationException

Packages that use ModelSpecificationException
Package
Description
org.apache.commons.math3.stat.regression
Statistical routines involving multivariate data.

## Uses of ModelSpecificationException in org.apache.commons.math3.stat.regression

Methods in org.apache.commons.math3.stat.regression that throw ModelSpecificationException
Modifier and Type
Method
Description
`void`
SimpleRegression.`addData(double[][] data)`
Adds the observations represented by the elements in `data`.
`void`
MillerUpdatingRegression.`addObservation(double[] x, double y)`
Adds an observation to the regression model.
`void`
SimpleRegression.`addObservation(double[] x, double y)`
Adds one observation to the regression model.
`void`
UpdatingMultipleLinearRegression.`addObservation(double[] x, double y)`
Adds one observation to the regression model.
`void`
MillerUpdatingRegression.`addObservations(double[][] x, double[] y)`
Adds multiple observations to the model.
`void`
SimpleRegression.`addObservations(double[][] x, double[] y)`
Adds a series of observations to the regression model.
`void`
UpdatingMultipleLinearRegression.`addObservations(double[][] x, double[] y)`
Adds a series of observations to the regression model.
`RegressionResults`
MillerUpdatingRegression.`regress()`
Conducts a regression on the data in the model, using all regressors.
`RegressionResults`
MillerUpdatingRegression.`regress(int numberOfRegressors)`
Conducts a regression on the data in the model, using a subset of regressors.
`RegressionResults`
MillerUpdatingRegression.`regress(int[] variablesToInclude)`
Conducts a regression on the data in the model, using regressors in array Calling this method will change the internal order of the regressors and care is required in interpreting the hatmatrix.
`RegressionResults`
SimpleRegression.`regress()`
Performs a regression on data present in buffers and outputs a RegressionResults object.
`RegressionResults`
UpdatingMultipleLinearRegression.`regress()`
Performs a regression on data present in buffers and outputs a RegressionResults object
`RegressionResults`
UpdatingMultipleLinearRegression.`regress(int[] variablesToInclude)`
Performs a regression on data present in buffers including only regressors indexed in variablesToInclude and outputs a RegressionResults object
Constructors in org.apache.commons.math3.stat.regression that throw ModelSpecificationException
Modifier
Constructor
Description
``
`MillerUpdatingRegression(int numberOfVariables, boolean includeConstant)`
Primary constructor for the MillerUpdatingRegression.
``
`MillerUpdatingRegression(int numberOfVariables, boolean includeConstant, double errorTolerance)`
This is the augmented constructor for the MillerUpdatingRegression class.