The z-test generates a standard score for x with respect to the data set, array, and returns the two-tailed probability for the normal distribution. You can use this function to assess the likelihood that a particular observation is drawn from a particular population.
Syntax
Visual Basic (Usage) |
Copy Code |
Dim instance As Statistics
Dim hypothesizedMeanDifference As Double
Dim varianceFirstGroup As Double
Dim varianceSecondGroup As Double
Dim probability As Double
Dim firstInputSeriesName As String
Dim secondInputSeriesName As String
Dim value As ZTestResult
value = instance.ZTest(hypothesizedMeanDifference, varianceFirstGroup, varianceSecondGroup, probability, firstInputSeriesName, secondInputSeriesName)
|
Parameters
- hypothesizedMeanDifference
- Hypothesized Mean Difference
- varianceFirstGroup
- Variance First Group
- varianceSecondGroup
- Variance Second Group
- 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