﻿ EstimateY(String,Series,Double) Method dotnetCHARTING Send comments on this topic. EstimateY(String,Series,Double) Method See Also Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic (Declaration) Language Filter: Visual Basic (Usage) Language Filter: C#
 dotnetCHARTING Namespace > StatisticalEngine Class > EstimateY Method : EstimateY(String,Series,Double) Method

elementName
The name of the element which will be displayed on the chart, i.e. its label.
s
A statistical series containing the elements for which the linear regression line is evaluated.
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 elementName As String, _
ByVal s As Series, _
ByVal estPoint As Double _
) As Element```
Visual Basic (Usage) Copy Code
``````Dim elementName As String
Dim s As Series
Dim estPoint As Double
Dim value As Element

value = StatisticalEngine.EstimateY(elementName, s, estPoint)``````
C#
```public static Element EstimateY(
string elementName,
Series s,
double estPoint
)```

#### Parameters

elementName
The name of the element which will be displayed on the chart, i.e. its label.
s
A statistical series containing the elements for which the linear regression line is evaluated.
estPoint
the values of the
``X``
coordinate for which the corresponding
``Y``
coordinate in estimated in accordance with the linear regression line.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7129699,"math_prob":0.9150057,"size":524,"snap":"2019-13-2019-22","text_gpt3_token_len":125,"char_repetition_ratio":0.13653846,"word_repetition_ratio":0.0,"special_character_ratio":0.19847329,"punctuation_ratio":0.086021505,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99086815,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-03-21T13:57:43Z\",\"WARC-Record-ID\":\"<urn:uuid:808d9bce-2ca4-4d1f-aca2-2535cc54d5db>\",\"Content-Length\":\"13575\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:ef38a03f-7f10-46ac-bfb5-66dcb7aa94cc>\",\"WARC-Concurrent-To\":\"<urn:uuid:19c839c2-6820-480b-aa66-1f0edd7bd217>\",\"WARC-IP-Address\":\"13.66.226.80\",\"WARC-Target-URI\":\"https://www.dotnetcharting.com/documentation/vCurrent/dotnetCHARTING~dotnetCHARTING.StatisticalEngine~EstimateY(String,Series,Double).html\",\"WARC-Payload-Digest\":\"sha1:6O2S43CUXMJSKQ4U5DQXL37VV75TYTSV\",\"WARC-Block-Digest\":\"sha1:5CDBZRZ4OG5FGTM3DFCZDPBD5B767353\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-13/CC-MAIN-2019-13_segments_1552912202525.25_warc_CC-MAIN-20190321132523-20190321154523-00045.warc.gz\"}"}