WorksheetFunction.Beta_Dist (Excel)
Returns the beta cumulative distribution function.
The beta distribution is commonly used to study variation in the percentage of something across samples, such as the fraction of the day people spend watching television. If any argument is nonnumeric, Beta_Dist returns the #VALUE! error value. If alpha ≤ 0 or beta ≤ 0, Beta_Dist generates an error value. If x < A, x > B, or A = B, Beta_Dist generates an error value. If you omit values for A and B (lower and upper bound), Beta_Dist uses the standard cumulative beta distribution, so that A = 0 and B = 1.
Beta_Dist (Arg1, Arg2, ..., Arg6)
Dim dblArg1 As Double: dblArg1 =
Dim dblArg2 As Double: dblArg2 =
Dim dblArg3 As Double: dblArg3 =
Dim dblBeta_Dist As Double
dblBeta_Dist = WorksheetFunction.Beta_Dist(Arg1:=dblArg1, Arg2:=dblArg2, Arg3:=dblArg3, Arg4:=True)
Arguments
Arg1, Arg2, ..., Arg6Arg1 (Double) - The value between A and B at which to evaluate the function.
Arg2 (Double) - The Alpha parameter of the distribution.
Arg3 (Double) - The Beta parameter of the distribution.
Arg4 (Boolean) - Cumulative - a logical value that determines the form of the function. If cumulative is True, BETA.DIST returns the cumulative distribution function; if False, it returns the probability density function.
Arg5 - An optional lower bound to the interval of x
Arg6 - An optional upper bound to the interval of x