Redigera

Dela via


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

Definition

Performs a Z Test using the Normal distribution.

public:
 System::Windows::Forms::DataVisualization::Charting::ZTestResult ^ ZTest(double hypothesizedMeanDifference, double varianceFirstGroup, double varianceSecondGroup, double probability, System::String ^ firstInputSeriesName, System::String ^ secondInputSeriesName);
public System.Windows.Forms.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.Windows.Forms.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 mean difference.

varianceFirstGroup
Double

Variance of the first group.

varianceSecondGroup
Double

Variance of the second group.

probability
Double

The alpha value, which is the probability that the hypothesis is rejected. The allowable range is 0-1.

firstInputSeriesName
String

First input series name.

secondInputSeriesName
String

Second input series name.

Returns

A ZTestResult object.

Applies to