StatisticFormula.TTestPaired(Double, Double, String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
t檢定配對公式利用Student的t分布對配對樣本進行t檢定。 當樣本中觀察到自然配對時(例如同一樣本組被測試兩次)時,這非常有用。
public:
System::Web::UI::DataVisualization::Charting::TTestResult ^ TTestPaired(double hypothesizedMeanDifference, double probability, System::String ^ firstInputSeriesName, System::String ^ secondInputSeriesName);
public System.Web.UI.DataVisualization.Charting.TTestResult TTestPaired(double hypothesizedMeanDifference, double probability, string firstInputSeriesName, string secondInputSeriesName);
member this.TTestPaired : double * double * string * string -> System.Web.UI.DataVisualization.Charting.TTestResult
Public Function TTestPaired (hypothesizedMeanDifference As Double, probability As Double, firstInputSeriesName As String, secondInputSeriesName As String) As TTestResult
參數
- hypothesizedMeanDifference
- Double
假設資料組平均數之間的差異。
- probability
- Double
Alpha 值。 可接受的範圍介於0到1之間。
傳回
TTestResult 物件。
範例
以下程式碼示範如何使用此公式。
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");