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


s
A statistical series.
Constructs the regression line of X on Y using the method of least squares.

Syntax

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

Parameters

s
A statistical series.

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