Edit

Share via


StatisticFormula.FTest(Double, String, String) Method

Definition

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

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

Parameters

probability
Double

The 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

An FTestResult object.

Examples

The following code demonstrates how to use this formula.

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

Remarks

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

Applies to