This analysis tool and its formula perform a paired two-sample student's t-test to determine whether a sample's means are distinct. This t-test form does not assume that the variances of both populations are equal. You can use a paired test when there is a natural pairing of observations in the samples, such as when a sample group is tested twice — before and after an experiment.
Syntax
Visual Basic (Usage) |
Copy Code |
Dim instance As Statistics
Dim hypothesizedMeanDifference As Double
Dim probability As Double
Dim firstInputSeriesName As String
Dim secondInputSeriesName As String
Dim value As TTestResult
value = instance.TTestPaired(hypothesizedMeanDifference, probability, firstInputSeriesName, secondInputSeriesName)
|
Parameters
- hypothesizedMeanDifference
- Hypothesized Mean Difference
- probability
- Probability
- firstInputSeriesName
- First Input Series Name
- secondInputSeriesName
- Second Input Series Name
Return Value
Returns Result class from T Test
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also