Xusing the method of least squares.
|Visual Basic (Declaration)|
Public Overloads Shared Function LeastSquaresEstimateY( _ ByVal seriesName As , _ ByVal s As Series _ ) As Series
|Visual Basic (Usage)||Copy Code|
- The name of the series which will be displayed on the chart, i.e. its label.
- A statistical series.
That is, the regression line using the least squares method is constructed when the second element of the pairs from which the data set of constructed is plot against the first elements of the pairs.