LeastSquaresEstimateX(SeriesCollection) Method
Constructs the regression line of
X
on Y
using the method of least squares.Syntax
'Declaration Public Overloads Shared Function LeastSquaresEstimateX( _ ByVal sc As SeriesCollection _ ) As SeriesCollection
'Usage Dim sc As SeriesCollection Dim value As SeriesCollection value = StatisticalEngine.LeastSquaresEstimateX(sc)
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.
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