StatisticFormula.TTestEqualVariances(Double, Double, String, String) 方法
定义
具有相同方差公式的 t 检验使用具有相等方差的学生 t 分布执行 t 检验。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
参数
- hypothesizedMeanDifference
- Double
各数据组的平均值之间的假设差值。Hypothesized difference between the means of the data groups.
- probability
- Double
Alpha 值。Alpha value. 可接受的范围为 0 到 1。The acceptable range is between 0 and 1.
- firstInputSeriesName
- String
Series 对象的名称,该对象存储第一个组的数据。Name of the Series object that stores the first group's data.
- secondInputSeriesName
- String
Series 对象的名称,该对象存储第二个组的数据。Name of the Series object that stores the second group's data.
返回
TTestResult 对象。A TTestResult object.
示例
下面的代码演示如何使用此公式。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");