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

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
A statistical series.
See Also Languages dotnetCHARTING Send comments on this topic.

LeastSquaresEstimateY(String,Series) Method

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

[Visual Basic]
Overloads Public Shared Function LeastSquaresEstimateY( _    ByVal seriesName As String, _    ByVal s As Series _ ) As Series
[C#]
public static Series LeastSquaresEstimateY(    string seriesName,    Series s );

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
A statistical 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.