Class MedianRegression
java.lang.Object
com.compomics.util.math.statistics.linear_regression.regressions.MedianRegression
public class MedianRegression extends Object
Performs a robust linear regression.
- Author:
- Marc Vaudel
-
Constructor Summary
Constructors Constructor Description MedianRegression()
Empty default constructor -
Method Summary
Modifier and Type Method Description static RegressionStatistics
getLinearRegression(ArrayList<Double> x, ArrayList<Double> y)
Returns a robust linear regression based on the median of statistics.
-
Constructor Details
-
MedianRegression
public MedianRegression()Empty default constructor
-
-
Method Details
-
getLinearRegression
Returns a robust linear regression based on the median of statistics.- Parameters:
x
- the x seriesy
- the y series- Returns:
- a simple linear regression
-