Overload | Description |
---|---|
TrendLinePolynomial(String,Series,Int32) | Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returned the values of the fitted function over the same range of the x-coordinate as the given data set. |
TrendLinePolynomial(Series,Int32) | Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returned the values of the fitted function over the same range of the x-coordinate as the given data set. |
TrendLinePolynomial(SeriesCollection,Int32) | Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returned the values of the fitted function over the same range of the x-coordinate as the given data set. |
TrendLinePolynomial(String,Series,Int32,Double,Int32,Int32) | Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returns the value of the fitted function over an extended (i.e. above, below or both) range of the x-coordinate values of the given data set. |
TrendLinePolynomial(Series,Int32,Double,Int32,Int32) | Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returns the value of the fitted function over an extended (i.e. above, below or both) range of the x-coordinate values of the given data set. |
TrendLinePolynomial(SeriesCollection,Int32,Double,Int32,Int32) | Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returns the value of the fitted function over an extended (i.e. above, below or both) range of the x-coordinate values of the given data set. |
TrendLinePolynomial(String,Series,Int32,DateTime,DateTime) | Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returns the value of the fitted function over an extended (i.e. above, below or both) range of the x-coordinate values of the given data set. |
TrendLinePolynomial(Series,Int32,DateTime,DateTime) | Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returns the value of the fitted function over an extended (i.e. above, below or both) range of the x-coordinate values of the given data set. |
TrendLinePolynomial(SeriesCollection,Int32,DateTime,DateTime) | Fits a polynomial of a given degree to a data set in accordance with the least squares approach and returns the value of the fitted function over an extended (i.e. above, below or both) range of the x-coordinate values of the given data set. |
For example, if we fit a polynomial of degree 2, then we fit the quadratic polynomial
(i.e. f(x) = a_0 + a_1 x + a_2 x^2); similarly if we fit a polynomial of degree 3,
then we fit the cubic polynomial (i.e. f(x) = a_0 + a_1 x + a_2 x^2 + a_3 x^3).