ערוך

שתף באמצעות


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

Definition

The Z-test formula performs a Z-test using normal distribution.

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

Parameters

hypothesizedMeanDifference
Double

Hypothesized difference between the means of the data groups.

varianceFirstGroup
Double

Variance within the first group of data.

varianceSecondGroup
Double

Variance within the second group of data.

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 ZTestResult object.

Examples

The following code demonstrates how to use this formula.

Dim result As ZTestResult = Chart1.DataManipulator.Statistics.ZTest(0.2, 2.5, 4.5, 0.05, "Series1", "Series2")  
ZTestResult result = Chart1.DataManipulator.Statistics.ZTest(0.2, 2.5, 4.5, 0.05, "Series1", "Series2");  

Applies to