• https://me.yahoo.com
COST (GBP)
1.19
3.00
0

# PDF

viewed 1640 times and licensed 47 times
Evaluates the PDF of the Beta distribution.
Controller: CodeCogs
Contents

C++

## PDF

 doublePDF( double x double a double b )
The density of the Beta distribution is defined by

$P(x)&space;=&space;\frac{(1-x)^{\beta-1}&space;x^{\alpha-1}}{B(\alpha,&space;\beta)}$
or
$P(x)&space;=&space;\frac{\Gamma(\alpha&space;+&space;\beta)}{\Gamma(\alpha)&space;\Gamma(\beta)}&space;(1-x)^{\beta-1}&space;x^{\alpha-1}$
There is an error with your graph parameters for PDF with options x=0:1 a=1:3:3 b=1:3:3 .height=300

Error Message:Function PDF failed. Ensure that: Invalid C++

### Parameters

 x the value at which to evaluate the function, must be in range 0..1 a the 1st number of degrees of freedom, must be strictly positive b the 2nd number of degrees of freedom, must be strictly positive
##### Source Code

Source code is available when you agree to a GP Licence or buy a Commercial Licence.

Not a member, then Register with CodeCogs. Already a Member, then Login.