- addData
Adds the observations represented by the elements indata.(data[0][0],data[0][1]) will be the first o
- <init>
Create a SimpleRegression instance, specifying whether or not to estimate an
intercept.Use false to
- getSlope
Returns the slope of the estimated regression line. The least squares estimate
of the slope is compu
- getIntercept
Returns the intercept of the estimated regression line, given the slope. Will
return NaN if slope is
- predict
Returns the "predicted" y value associated with the supplied x value, based on
the data that has bee
- getRSquare
Returns the coefficient of determination
[http://www.xycoon.com/coefficient1.htm], usually denoted r
- getR
Returns Pearson's product moment correlation coefficient
[http://mathworld.wolfram.com/CorrelationCo
- getMeanSquareError
Returns the sum of squared errors divided by the degrees of freedom, usually
abbreviated MSE. If the
- getN
Returns the number of observations that have been added to the model.
- getSlopeConfidenceInterval
Returns the half-width of a (100-100*alpha)% confidence interval for the slope
estimate. The (100-10
- regress
Performs a regression on data present in buffers including only regressors
indexed in variablesToInc
- clear
Clears all data from the model.