StatisticFormula.FTest Method (Double, String, String)

.NET Framework (current version)
 

The F-test formula performs a two-sample F-test using F distribution, and is used to see if the samples have different variances.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public FTestResult FTest(
	double probability,
	string firstInputSeriesName,
	string secondInputSeriesName
)

Parameters

probability
Type: System.Double

The alpha value. The acceptable range is between 0 and 1.

firstInputSeriesName
Type: System.String

Name of the Series object that stores the first group's data.

secondInputSeriesName
Type: System.String

Name of the Series object that stores the second group's data.

The method throws an exception if the input series do not have the same number of data points.

The following code demonstrates how to use this formula.

FTestResult result = Chart1.DataManipulator.Statistics.FTest(0.05, "Series1", "Series2");

.NET Framework
Available since 4.0
Return to top
Show: