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 (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)
|
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 ...
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
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