Professional Documents
Culture Documents
Homework 2
Varun Munjal
SU13
08/09/2013
504109452
Beta Distribution
Introduction
Beta distribution is a continuous probability distribution model defined on an interval of [0,1]. It
parametrized by two positive numbers, and both of which are shape parameters. The Beta
distribution model can be used in situations where the time interval is of a fixed duration. For example,
statistical distributions of time allocation in project management or control systems.
1
1
,
for 0
1 and 0, 0
Where,
and are shape parameters
, = is the Beta function which ensures that the probability density function normalizes to 1.
,
1
1! 1!
1!
A generalization of the Beta function is called the incomplete Beta function and defined as:
Normalization
For positive values of and , the probability density function of the Beta distribution is properly
normalized
Proof:
Find the integral from 0 to 1 of the probability density function.
1
,
1 !
"
"
1 !
1
!
Which is simply:
,!
,!
=1
This proves that the probability density function is properly normalized.
Cumulative Distribution
The cumulative distribution function of the beta distribution is the integral:
# , ,
1
,
1 !
For for 0
1
#
, $,
x; ,
,
#
, , 1 1
The cumulative function can be evaluated numerically using MS Excel function BETADIST
Usage:
&'()*+,(-, , , false
#
&'()*+,(-, , , true
Examples:
=3
f(x)
0.8
=1, =3
0.6
=2, =3
=2, =9
0.4
0.2
0
0
0.2
0.4
0.6
0.8
Special cases
Relationship with Binomial distribution
Consider the cumulative distribution function of Beta distribution:
#
; ,
7
1
1 .
,
1: 8
9 9
Integrating by parts:
#
; ,
7
7
1
1
8. 9
89 9. 8
,
,
!!
and
;!
# ; ,
1! 1
1
1 7
.
1 : .
1! 1!
,
# ; ,
1!
1
1 7
1
.
1 : .
! 1!
,
1
1
1 7
#
; , <
= 1
.
1 : : .
,
A Binomial distribution is expressed in the form:
?
&>?$; ?, @ A B @C 1 @DC
$
Now, assume:
? 1
@
Then,
1
&>?; 1, <
= 1
which is the same as the first term of the right hand side of the expression.
The second term of the right hand side of the expression can be written as:
1! 1 7
.
1 : : .
1! 1!
1! 7
1 : .
! 2!
7
1
1 ; .
1, 1
;:
1 G
F <
=
1
;G
>
GH
;:
1 G
F <
=
1
;G
>
GH
;
1 G
F <
=
1
;G
>
GH
Reliability function
The reliability function is evaluated using MS Excel.
I 1 &'()*+,((, $, , true
Failure function
Failure function is evaluated using MS Excel.
# &'()*+,((, $, , true
Failure rate
J
I
&'()*+,((, $, , false
1 &'()*+,((, $, , true
J
Inverse function
The probability density function can be found by computing the inverse of the failure function.
&'()+KL#
, ,
MD
D
; ,
MD
D
MD
1
1
,
1
;D 1
,
n,
,
1,
,
! 1! 1!
.
! 1! 1!
M
Mean:
M((#
Median:
Since the cumulative distribution function has no closed form, the median expression does not have a
closed form either. It can be evaluated using MS Excel
Mode:
Differentiate the probability density function f(x) with respect to x and find the maxima.
1
<
1
= 0
,
1
O 1
: 1
1
1
: P 0
,
1
2
QRS
1
2
Second moment:
Directly calculate the second moment using the expression derived earlier
M:
1
1
Variance:
9TU M: M:
1
:
1
9TU
1 :
Third moment:
Differentiate the moment generating function with respect to y three times and set y = 0.
MV
3 2 1
2 1
Skewness:
X
1
M 3M M: 2MV
YV V
X
2 Z 1
2Z
Since and are always positive, the beta distribution function is always positively skewed
if : :
References
1. Richard J Larsen, Morris L Marx (1986). Mathematical Statistics and its Applications, PrenticeHall, Chapter 7, page 340