StatisticFormula.TTestEqualVariances Method (Double, Double, String, String)

.NET Framework (current version)
 

The t-test with equal variances formula performs a t-test using Student's t-distribution with equal variances.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

Public Function TTestEqualVariances (
	hypothesizedMeanDifference As Double,
	probability As Double,
	firstInputSeriesName As String,
	secondInputSeriesName As String
) As TTestResult

Parameters

hypothesizedMeanDifference
Type: System.Double

Hypothesized difference between the means of the data groups.

probability
Type: System.Double

Alpha value. The acceptable range is between 0 and 1.

firstInputSeriesName
Type: System.String

Name of the Series object that stores the first group's data.

secondInputSeriesName
Type: System.String

Name of the Series object that stores the second group's data.

The following code demonstrates how to use this formula.

Dim result As TTestResult = Chart1.DataManipulator.Statistics.TTestPaired(0.2, 0.05, "Series1", "Series2")

.NET Framework
Available since 4.0
Return to top
Show: