See Also

StatisticalEngine Class  | StatisticalEngine Members  | Overload List  | Calculates the regression line of X on Y, using the method of least squares.

Language

Visual Basic

C#

Show All

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.
See Also Languages dotnetCHARTING Send comments on this topic.

LeastSquaresEstimateY(SeriesCollection) Method

Constructs the regression line of Y on X using the method of least squares.

[Visual Basic]
Overloads Public Shared Function LeastSquaresEstimateY( _    ByVal sc As SeriesCollection _ ) As SeriesCollection
[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.

Return Type

A series d with two elements, where the regression line will be given in functional form by the following formula: Y(y)=d[0]*X+d[1]

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

StatisticalEngine Class  | StatisticalEngine Members  | Overload List  | Calculates the regression line of X on Y, using the method of least squares.

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.