Type Alias: RegressionResults
RegressionResults:
object
Defined in: packages/echarts/src/math/linear-regression.ts:57
The results of the linear regression.
Type declaration
intercept
intercept:
object
intercept.estimate
estimate:
number
intercept.pValue
pValue:
number
intercept.standardError
standardError:
number
intercept.tStatistic
tStatistic:
number
rSquared
rSquared:
number
slope
slope:
object
slope.estimate
estimate:
number
slope.pValue
pValue:
number
slope.standardError
standardError:
number
slope.tStatistic
tStatistic:
number
valid
valid:
boolean
Param
Whether the regression is valid.
Param
The R-squared value.
Param
The intercept of the regression.
Param
The standard error of the intercept.
Param
The t-statistic of the intercept.
Param
The p-value of the intercept.
Param
The slope of the regression.
Param
The standard error of the slope.
Param
The t-statistic of the slope.
Param
The p-value of the slope.