Dundas Chart for Windows Forms
InverseFDistribution Method
See Also  Example Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Statistics Class : InverseFDistribution Method


probability
The probability for which the F value is required. Allowable range is 0-1.
Probability
firstDegreeOfFreedom
The first degree of freedom.
First Degree of Freedom
secondDegreeOfFreedom
The second degree of freedom.
Second Degree of Freedom

Enterprise Edition Only Feature. This method returns the inverse of the F cumulative distribution.


Returns the inverse of the F probability distribution. If p = FDIST(x,...), then FINV(p,...) = x. The F distribution can be used in an F-test that compares the degree of variability in two data sets. For example, you can analyze income distributions in the United States and Canada to determine whether the two countries have a similar degree of diversity.

Syntax

Visual Basic (Declaration)  
Public Function InverseFDistribution( _
   ByVal probability As Double, _
   ByVal firstDegreeOfFreedom As Integer, _
   ByVal secondDegreeOfFreedom As Integer _
) As Double
Visual Basic (Usage) Copy Code
Dim instance As Statistics
Dim probability As Double
Dim firstDegreeOfFreedom As Integer
Dim secondDegreeOfFreedom As Integer
Dim value As Double
 
value = instance.InverseFDistribution(probability, firstDegreeOfFreedom, secondDegreeOfFreedom)
C#  
public double InverseFDistribution( 
   double probability,
   int firstDegreeOfFreedom,
   int secondDegreeOfFreedom
)

Parameters

probability
The probability for which the F value is required. Allowable range is 0-1.
Probability
firstDegreeOfFreedom
The first degree of freedom.
First Degree of Freedom
secondDegreeOfFreedom
The second degree of freedom.
Second Degree of Freedom

Return Value

Returns value from inverse F distribution function.

Example

The following sample calculates the F value for the given F distribution probability.
Visual Basic Copy Code
Imports Dundas.Charting.WinControl
...

' Calculate the F value
Dim result As Double = Chart1.DataManipulator.Statistics.InverseFDistribution(.05, 15, 30)
C# Copy Code
using Dundas.Charting.WinControl;
...

// Calculate the F value
double result = Chart1.DataManipulator.Statistics.InverseFDistribution(.05, 15, 30);

Remarks

This method returns the F value for the given F distribution probability.

The F distribution can be used in an F-test that compares the degree of variability in two data sets. For example, income distributions in the United States and Canada can be analyzed to determine whether the two countries have a similar degree of diversity.

Requirements

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

See Also

© 2009 All Rights Reserved.