StatisticFormula.ZTest(Double, Double, Double, Double, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.