WorksheetFunction.Beta_Inv Method

Returns the inverse of the cumulative distribution function for a specified beta distribution. That is, if probability = Beta_Dist(x,...), then Beta_Inv(probability,...) = x.

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

Syntax

'Declaration
Function Beta_Inv ( _
    Arg1 As Double, _
    Arg2 As Double, _
    Arg3 As Double, _
    Arg4 As Object, _
    Arg5 As Object _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Double
Dim Arg2 As Double
Dim Arg3 As Double
Dim Arg4 As Object
Dim Arg5 As Object
Dim returnValue As Double

returnValue = instance.Beta_Inv(Arg1, _
    Arg2, Arg3, Arg4, Arg5)
double Beta_Inv(
    double Arg1,
    double Arg2,
    double Arg3,
    Object Arg4,
    Object Arg5
)

Parameters

  • Arg1
    Type: System.Double

    A probability associated with the beta distribution.

  • Arg2
    Type: System.Double

    The Alpha parameter of the distribution.

  • Arg4
    Type: System.Object

    An optional lower bound to the interval of x.

  • Arg5
    Type: System.Object

    An optional upper bound to the interval of x.

Return Value

Type: System.Double

Remarks

The beta distribution can be used in project planning to model probable completion times given an expected completion time and variability:

  • If any argument is nonnumeric, Beta_Inv generates an error value.

  • If alpha ≤ 0 or beta ≤ 0, Beta_Inv generates an error value.

  • If probability ≤ 0 or probability > 1, Beta_Inv generates an error value.

  • If you omit values for A and B (lower and upper bound), Beta_Inv uses the standard cumulative beta distribution, so that A = 0 and B = 1.

Given a value for probability, Beta_Inv seeks that value x such that Beta_Dist(x, alpha, beta, TRUE, A, B) = probability. Thus, precision of Beta_Inv depends on precision of Beta_Dist(Double, Double, Double, Boolean, Object, Object). Beta_Inv uses an iterative search technique.

See Also

Reference

WorksheetFunction Interface

WorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace