Class SimpleLinearRegression
java.lang.Object
com.compomics.util.math.statistics.linear_regression.regressions.SimpleLinearRegression
Performs a simple linear regression.
TODO: replace with the Apache implementation
- Author:
- Marc Vaudel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RegressionStatisticsReturns a simple linear regression.
-
Constructor Details
-
SimpleLinearRegression
public SimpleLinearRegression()Empty default constructor
-
-
Method Details
-
getLinearRegression
Returns a simple linear regression. Note: r calculation is not implemented.- Parameters:
x- the x seriesy- the y series- Returns:
- a simple linear regression
-