Beta Distribution

We have a random variable X has a beta distribution with parameters a>0 and b>0, denoted as X∼B(a,b) or X∼beta(a,b), when its pdf is

f(x;a,b)={1B(a,b)xa−1(1−x)b−10≤x≤10

Where in this context, B(a,b) represents the beta function.

We can calulate the cdf as

F(x)={0x≤01B(a,b)∫0xua−1(1−u)b−1du0<x<11x≥1

where the integral above can be simplified into

F(x)={0x≤0Ix(a,b)0<x<11x≥1

where I is the regularised incomplete beta function

We can get that

E[Xn]=B(a+n,b)B(a,b)=an―(a+b)n―

where an― represents the rising factorial of a