Grocer Function
NAME
beta_pdf - beta probability distribution
CALLING SEQUENCE
[pdf]=beta_pdf(x,a,b)
PARAMETERS
Input
-
x = vector of components
-
a = beta distribution parameter, a = scalar or vector of the same size than x
-
b = beta distribution parameter b = scalar or vector of the same size than x
Output
-
pdf = probability distribution function at each element of x of the beta(a,b) distribution
DESCRIPTION
Probability distribution function of the beta(a,b) distribution NOTES: mean[(beta(a,b)] = a/(a+b), variance = ab/((a+b)*(a+b)*(a+b+1)).
EXAMPLE
y=beta(x,10,5)
AUTHOR
Eric Dubois 2002