independent or explanatory variable
dependent or response variable
degree of the polynomial regression, or array of powers to be used. When degree is an array, intercept at zero is forced to false/ignored.
force the polynomial regression so that f(0) = 0
`new PolynomialRegression(x, y, 2)`, in this case, you can pass the option `interceptAtZero`, if you need it. Copy
`new PolynomialRegression(x, y, 2)`, in this case, you can pass the option `interceptAtZero`, if you need it.
`new PolynomialRegression(x, y, [1, 3, 5])`Each of the degrees corresponds to a column, so if you have them switched, just do: Copy
`new PolynomialRegression(x, y, [1, 3, 5])`Each of the degrees corresponds to a column, so if you have them switched, just do:
`new PolynomialRegression(x, y, [3, 1, 5])` Copy
`new PolynomialRegression(x, y, [3, 1, 5])`
Return the correlation coefficient of determination (r) and chi-square.
explanatory variable
response variable
Static
independent or explanatory variable