dotnetCHARTING Send comments on this topic.
EstimateY(String,SeriesCollection,Double) Method
See Also 
dotnetCHARTING Namespace > StatisticalEngine Class > EstimateY Method : EstimateY(String,SeriesCollection,Double) Method


seriesName
The name of the series which will be displayed on the chart, i.e. its label.
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.
estPoint
the values of the
X
coordinate for which the corresponding
Y
coordinate in estimated in accordance with the linear regression line.
Estimates the value of the
Y
variable when the
X
variable is known using the regression line of
Y
on
X
, which can be evaluated using LeastSquaresEstimateY.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function EstimateY( _
   ByVal seriesName As String, _
   ByVal sc As SeriesCollection, _
   ByVal estPoint As Double _
) As Series
Visual Basic (Usage)Copy Code
Dim seriesName As String
Dim sc As SeriesCollection
Dim estPoint As Double
Dim value As Series
 
value = StatisticalEngine.EstimateY(seriesName, sc, estPoint)
C# 
public static Series EstimateY( 
   string seriesName,
   SeriesCollection sc,
   double estPoint
)

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
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.
estPoint
the values of the
X
coordinate for which the corresponding
Y
coordinate in estimated in accordance with the linear regression line.

See Also

© 2010 All Rights Reserved.