Exercise 2.16 - Mean, mode, variance for the beta distribution

Answers

Firstly, we derive the mode for beta distribution by differentiating the pdf:

d d x x a 1 ( 1 x ) b 1 = [ ( 1 x ) ( a 1 ) ( b 1 ) x ] x a 2 ( 1 x ) b 2 .

Setting this to zero yields:

mode = a 1 a + b 2 .

Secondly, derive the moment in beta distribution:

𝔼 [ x N ] = 1 B ( a , b ) x a + N 1 ( 1 x ) b 1 𝑑𝑥 = B ( a + N , b ) B ( a , b ) = Γ ( a + N ) Γ ( b ) Γ ( a + N + b ) Γ ( a + b ) Γ ( a ) Γ ( b ) .

Setting N = 1 , 2 :

𝔼 [ x ] = a a + b ,

𝔼 [ x 2 ] = a ( a + 1 ) ( a + b ) ( a + b + 1 ) .

Where we have used the properties of the Gamma function. Finally:

mean = 𝔼 [ x ] = a a + b ,

variance = 𝔼 [ x 2 ] 𝔼 2 [ x ] = 𝑎𝑏 ( a + b ) 2 ( a + b + 1 ) .

User profile picture
2021-03-24 13:42
Comments