Yusing the method of least squares.
|Visual Basic (Declaration)|
Public Overloads Shared Function LeastSquaresEstimateX( _ ByVal sc As SeriesCollection _ ) As SeriesCollection
|Visual Basic (Usage)||Copy Code|
- A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
That is, the regression line using the least squares method is constructed when the first element of the pairs from which the data set of constructed is plot against the second elements of the pairs.