Statistics Toolbox
  Go to function:
    Search    Help Desk 
betapdf    Examples

Beta probability density function (pdf).

Syntax

Description

betapdf(X,A,B) computes the beta pdf with parameters A and B at the values in X. The arguments X, A, and B must all be the same size except that scalar arguments function as constant matrices of the common size of the other arguments.

The parameters A and B must both be positive and X must lie on the interval
[0 1].

The probability density function for the beta distribution is:


A likelihood function is the pdf viewed as a function of the parameters. Maximum likelihood estimators (MLEs) are the values of the parameters that maximize the likelihood function for a fixed value of x.

The uniform distribution on [0 1] is a degenerate case of the beta where
a = 1 and b = 1.

Examples



[ Previous | Help Desk | Next ]