dotnetCHARTING Send comments on this topic.
LeastSquaresEstimateY(SeriesCollection) Method
See Also 
dotnetCHARTING Namespace > StatisticalEngine Class > LeastSquaresEstimateY Method : LeastSquaresEstimateY(SeriesCollection) Method


sc
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.
Constructs the regression line of Y on X using the method of least squares.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function LeastSquaresEstimateY( _
   ByVal sc As SeriesCollection _
) As SeriesCollection
Visual Basic (Usage)Copy Code
Dim sc As SeriesCollection
Dim value As SeriesCollection
 
value = StatisticalEngine.LeastSquaresEstimateY(sc)
C# 
public static SeriesCollection LeastSquaresEstimateY( 
   SeriesCollection sc
)

Parameters

sc
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.

Remarks

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.

See Also

© 2010 All Rights Reserved.