WorksheetFunction.ChiSq_Inv Method

Returns the inverse of the left-tailed probability of the chi-squared distribution.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function ChiSq_Inv ( _
    Arg1 As Double, _
    Arg2 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim Arg2 As Double
Dim returnValue As Double

returnValue = instance.ChiSq_Inv(Arg1, _
    Arg2)
double ChiSq_Inv(
    double Arg1,
    double Arg2
)

Parameters

  • Arg1
    Type: System.Double

    Probability - A probability associated with the chi-squared distribution.

  • Arg2
    Type: System.Double

    Deg_freedom - The number of degrees of freedom.

Return Value

Type: System.Double

Remarks

If any argument is nonnumeric, ChiSq_Inv returns the #VALUE! error value.

If probability < 0 or probability > 1, ChiSq_Inv returns the #NUM! error value.

If deg_freedom is not an integer, it is truncated.

See Also

Reference

WorksheetFunction Interface

WorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace