Catalano.Statistics.Regression
Interface ISimpleRegression
-
- All Known Implementing Classes:
- ExponentialRegression, LinearRegression, LogarithmicRegression, PolynomialRegression, PowerRegression
public interface ISimpleRegressionRegression function interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doubleCoefficientOfDetermination()Get the R^2.doubleRegression(double x)Compute regression of specific value.double[]Regression(double[] x)Compute regression in the vector.java.lang.StringtoString()Show the regression's equation.
-
-
-
Method Detail
-
Regression
double Regression(double x)
Compute regression of specific value.- Parameters:
x- Value.- Returns:
- Regression.
-
Regression
double[] Regression(double[] x)
Compute regression in the vector.- Parameters:
x- Vector.- Returns:
- Regression.
-
CoefficientOfDetermination
double CoefficientOfDetermination()
Get the R^2.- Returns:
-
toString
java.lang.String toString()
Show the regression's equation.- Overrides:
toStringin classjava.lang.Object- Returns:
-
-
DataMelt 3.0 © DataMelt by jWork.ORG