See Also

StatisticalEngine Class  | StatisticalEngine Members  | Overload List  | Calculates the regression line of Y on X, 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.

LeastSquaresEstimateX(SeriesCollection) Method

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

[Visual Basic]
Overloads Public Shared Function LeastSquaresEstimateX( _    ByVal sc As SeriesCollection _ ) As SeriesCollection
[C#]
public static SeriesCollection LeastSquaresEstimateX(    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 ={d[0], d[1]}, with two elements, where the regression line will be given in functional form by the following formula:X(y)=d[0]*Y+d[1]

Remarks

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.

See Also

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

 

 


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