WorksheetFunction.BetaDist(Double, Double, Double, Object, Object) Method

Definition

Returns the beta cumulative distribution function.

public double BetaDist (double Arg1, double Arg2, double Arg3, object Arg4, object Arg5);
Public Function BetaDist (Arg1 As Double, Arg2 As Double, Arg3 As Double, Optional Arg4 As Object, Optional Arg5 As Object) As Double

Parameters

Arg1
Double

The value between A and B at which to evaluate the function.

Arg2
Double

A parameter of the distribution.

Arg3
Double

A parameter of the distribution.

Arg4
Object

An optional lower bound to the interval of x.

Arg5
Object

An optional upper bound to the interval of x.

Returns

Remarks

Important: This function has been replaced with one or more new functions that may provide improved accuracy and whose names better reflect their usage. This function is still available for compatibility with earlier versions of Excel. However, if backward compatibility is not required, you should consider using the new functions from now on, because they more accurately describe their functionality. For more information about the new function, see the Beta_Dist(Double, Double, Double, Boolean, Object, Object) method.

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, BetaDist returns the #VALUE! error value.
  • If alpha ≤ 0 or beta ≤ 0, BetaDist generates an error value.
  • If x < A, x > B, or A = B, BetaDist generates an error value.
  • If you omit values for A and B, BetaDist uses the standard cumulative beta distribution, so that A = 0 and B = 1.

Applies to