Class LinearRegressionResult
java.lang.Object
trade.invision.indicators.indicators.statistical.regression.LinearRegressionResult
LinearRegressionResult contains the results for LinearRegression.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanThe y-intercept.getNextY()The y value atindex + 1.getR2()The coefficient of determination (R^2).getRss()The residual sum of squares (RSS).getSlope()The slope.getTss()The total sum of squares (TSS).getY()The y value atindex.inthashCode()toString()
-
Constructor Details
-
LinearRegressionResult
Creates a newLinearRegressionResultinstance.- Parameters:
slope- The slope.intercept- The y-intercept.y- The y value atindex.nextY- The y value atindex + 1.rss- The residual sum of squares (RSS).tss- The total sum of squares (TSS).r2- The coefficient of determination (R^2).
-
-
Method Details
-
builder
-
toBuilder
-
getSlope
The slope. -
getIntercept
The y-intercept. -
getY
The y value atindex. -
getNextY
The y value atindex + 1. -
getRss
The residual sum of squares (RSS). -
getTss
The total sum of squares (TSS). -
getR2
The coefficient of determination (R^2). -
equals
-
hashCode
public int hashCode() -
toString
-