Muokkaa

Jaa


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

Definition

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

public:
 System::Web::UI::DataVisualization::Charting::TTestResult ^ TTestEqualVariances(double hypothesizedMeanDifference, double probability, System::String ^ firstInputSeriesName, System::String ^ secondInputSeriesName);
public System.Web.UI.DataVisualization.Charting.TTestResult TTestEqualVariances (double hypothesizedMeanDifference, double probability, string firstInputSeriesName, string secondInputSeriesName);
member this.TTestEqualVariances : double * double * string * string -> System.Web.UI.DataVisualization.Charting.TTestResult
Public Function TTestEqualVariances (hypothesizedMeanDifference As Double, probability As Double, firstInputSeriesName As String, secondInputSeriesName As String) As TTestResult

Parameters

hypothesizedMeanDifference
Double

Hypothesized difference between the means of the data groups.

probability
Double

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

firstInputSeriesName
String

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

secondInputSeriesName
String

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

Returns

A TTestResult object.

Examples

The following code demonstrates how to use this formula.

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

Applies to