Dew MtxVec NET
BetaPDF Routines
Summary
Beta probability density function (PDF).

Unit
Probabilities

Declaration
Function BetaPDF(x, a, b: TSample): TSample;
 Parameter  Description 
Defines distribution parameter, valid on [0,1] closed region. 
Defines Beta distribution shape parameter. a must be a positive value. 
Defines Beta distribution shape parameter. b must be a positive value. 
Result
beta probability density function (PDF) for given parameters a and b. The parameters a and b must both be greater than zero and x must lie on the interval (0,1) otherwise the result is NAN.
Description
Calculates the beta probability density function. The beta probability density function is defined by the following equation:

where B(a,b) is beta function and it defines the interval on which the beta PDF is not zero. The beta distribution describes a family of curves that are nonzero only on the interval [0,1].
Parameters:Support: x: [0,1]
Categories
Continuous probabilities
 See Also 
BetaCDF 
BetaCDFInv 

Declaration
Procedure BetaPDF(X: TDenseMtxVec; A, B: TSample; Res: TDenseMtxVec);

Description
Calculates the beta PDF for vector X using the parameters a and b. The results are stored in vector Res. The Res Length and Complex properties are adjusted automatically. If vector X is complex, an exception is raised.

Copyright 2008 Dew Research
http://www.dewresearch.com