Dundas Chart for ASP.NET
FDistribution Method
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl Namespace > Statistics Class : FDistribution Method


fValue
The F value for which the distribution probability is required.
F Value
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 cumulative F distribution function probability.


/// Returns the F probability distribution. You can use this function to determine whether two data sets have different degrees of diversity. For example, you can examine test scores given to men and women entering high school and determine if the variability in the females is different from that found in the males.

Syntax

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

Parameters

fValue
The F value for which the distribution probability is required.
F Value
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 cumulative F distribution function.

Example

The following sample calculates the F distribution probability.
Visual Basic Copy Code
Imports Dundas.Charting.WebControl<CRLF>...<CRLF><CRLF>' Calculate F distribution probability<CRLF>Dim result As double = Chart1.DataManipulator.Statistics.FDistribution(6.31,15,7)
C# Copy Code
using Dundas.Charting.WebControl;<CRLF>...<CRLF><CRLF>// Calculate F distribution probability<CRLF>double result = Chart1.DataManipulator.Statistics.FDistribution(6.31,15,7);

Remarks

This method returns the F probability distribution.

Use this method to determine whether two data sets have different degrees of diversity. For example, given the test scores for men and women entering high school, it is possible to determine if the variability in the females is different from that found in the males.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.