.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > StatisticalEngine Class > LeastSquaresEstimateX Method : LeastSquaresEstimateX(String,Series) Method
The name of the series which will be displayed on the chart, i.e. its label.
A statistical series.
LeastSquaresEstimateX(String,Series) Method
Constructs the regression line of X on Y using the method of least squares.
Syntax
'Declaration
 
Public Overloads Shared Function LeastSquaresEstimateX( _
   ByVal seriesName As String, _
   ByVal s As Series _
) As Series
'Usage
 
Dim seriesName As String
Dim s As Series
Dim value As Series
 
value = StatisticalEngine.LeastSquaresEstimateX(seriesName, s)
public static Series LeastSquaresEstimateX( 
   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.
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also