This method performs an F Test using F distribution, and is used to see if two samples have different variances.
This analysis tool performs a two-sample F-test to compare two population variances. For example, you can use an F-test to determine whether the time scores in a swimming meet have a difference in variance for samples from two teams.
Visual Basic (Declaration) | |
---|---|
Public Function FTest( _ ByVal probability As Double, _ ByVal firstInputSeriesName As String, _ ByVal secondInputSeriesName As String _ ) As FTestResult |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public FTestResult FTest( double probability, string firstInputSeriesName, string secondInputSeriesName ) |
Parameters
- probability
- The alpha value (probability that the hypothesis is rejected). Allowable range is 0-1.
Probability - firstInputSeriesName
- The name of the series that stores the first group of data. Data must be stored in the first Y-values of the series' data points.
First Input Series Name - secondInputSeriesName
- The name of the series that stores the second group of data. Data must be stored in the first Y-values of the series' data points.
Second Input Series Name
Return Value
Returns Result class from F TestVisual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WinControl |
C# | Copy Code |
---|---|
using Dundas.Charting.WinControl; |
This method returns the results of the F-test using an FTestResult object.
FTest performs a two-sample F-test to compare two population variances. For example, it can be used to determine whether the time scores in a swimming meet have a difference in variance for samples from two teams.
If a specified input series does not exist in the series collection at the time of the method call than an exception will be thrown.
The following is a brief description of the FTestResult class members:
Member | Description |
---|---|
FirstSeriesMean | The mean of the first data group. |
SecondSeriesMean | The mean of the second data group. |
FirstSeriesVariance | The variance of the first data group. |
SecondSeriesVariance | The variance of the second data group. |
FValue | The F value. |
ProbabilityFOneTail | Probability F value (one tail). |
FCriticalValueOneTail | F critical value (one tail). |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family