public class SimpleLinearRegression extends Object
Constructor and Description |
---|
SimpleLinearRegression() |
Modifier and Type | Method and Description |
---|---|
static RegressionStatistics |
getLinearRegression(ArrayList<Double> x,
ArrayList<Double> y)
Returns a simple linear regression.
|
public static RegressionStatistics getLinearRegression(ArrayList<Double> x, ArrayList<Double> y)
x
- the x seriesy
- the y seriesCopyright © 2016. All rights reserved.