Docsity

Probability Distribution of Binomial and Bernoulli Random Variables - Prof. Charles Britt , Study notes of Introduction to Macroeconomics

Toggle sidebar
bg1
1
Binomial Random and Normal Random
Variables: Lecture XI
I. Bernoulli Random Variables
A. The Bernoulli distribution characterizes the coin toss. Specifically, there are two
events
0,1X
with
1X
occurring with probability
p
. The probability
distribution function
PX
can be written as:
1
[ ] 1 x
x
P X p p

B. Next, we need to develop the probability of
XY
where both
X
and
Y
are
identically distributed. If the two events are independent, the probability becomes:
C. Now, this density function is only concerned with three outcomes
0,1,2Z X Y
.
1. There is only one way each for
0Z
or
2Z
.
a) Specifically for
0Z
,
0X
and
0Y
.
b) Similarly, for
2Z
,
1X
and
1Y
.
2. However, for
1Z
either
1X
and
0Y
or
0X
or
1Y
. Thus, we
can derive:
20
0
2 1 0 2 0 1
1 0 0 1
1
1
0
2
[ 0] 1
1 1, 0 0, 1
11
21
21
P Z p p
P Z P X Y P X Y
p p p p
pp
P Z p p


D. Next we expand the distribution to three independent Bernoulli events where
0,1,2,3Z W X Y
.
1 1 1
3
3
,,
1 1 1
1
1
w x y
w x y
w x y
w x y
z
z
P Z P W X Y
P W P X P Y
p p p p p p
pp
pp



pf3
pf4

Partial preview of the text

Download Probability Distribution of Binomial and Bernoulli Random Variables - Prof. Charles Britt and more Study notes Introduction to Macroeconomics in PDF only on Docsity!

Binomial Random and Normal Random

Variables: Lecture XI

I. Bernoulli Random Variables

A. The Bernoulli distribution characterizes the coin toss. Specifically, there are two events (^) X 0,1 with (^) X  1 occurring with probability (^) p. The probability

distribution function P X  can be written as:

P X [ ]  p x  1  p ^1  x

B. Next, we need to develop the probability of XY where both X and Y are identically distributed. If the two events are independent, the probability becomes:

P X Y  ,   P X P Y      p px^ y^  1  p ^1 ^ x^^  1  p ^1 ^ y^  px  y  1  p ^2   x^ y

C. Now, this density function is only concerned with three outcomes

Z  X  Y 0,1, 2 .

  1. There is only one way each for Z  0 or Z  2. a) Specifically for Z  0 , X  0 and Y  0. b) Similarly, for Z  2 , X  1 and Y  1.
  2. However, for Z  1 either X  1 and Y  0 or X  0 or Y  1. Thus, we can derive:

0 2 0

1 0 2 1 0^ 0 1^2 0 1 1 1 2 0

[ 0] 1

P Z p p P Z P X Y P X Y p p p p p p P Z p p

  ^   

D. Next we expand the distribution to three independent Bernoulli events where

Z  W  X  Y  0,1, 2,3.

1 1 1 3 3

w x y^ w^ x^ y w x y w^ x^ y z z

P Z P W X Y

P W P X P Y

p p p p p p p p p p

     ^ ^  

Professor Charles B. Moss Fall 2007

  1. Again, there is only one way for Z  0 and Z  3.
  2. However, there are now three ways for Z  1 or Z  2. Specifically, Z  1 if W  1 , X  1 or Y  1. In addition, Z  2 if W  1 , X  1 , and Y  0 , or if W  1 , X  0 , and Y  1 , or if W  0 , X  1 , and Y  1.
  3. Thus the general distribution function for Z can now be written as:                            

0 3 0 1 0 0 3 1 0^0 0 1 0^3 0 1 0 0 0 1 3 0 0 1^12 1 1 0 3 1 1 0^ 1 0 1 3 1 0 1 0 1 1 3 0 1 1^21 3 0

P Z p p P Z p p p p p p p p P Z p p p p p p p p P Z p p

     ^               ^          

II. Binomial Random Variables

A. Based on this development, the binomial distribution can be generalized as the sum of n Bernoulli events.

  1. For the case above, n  3. The distribution function (ignoring the constants) can be written as:   ^ 

   

   

   

0 3 0

1 3 1

2 3 2

3 3 3

P Z p p

P Z p p

P Z p p

P Z p p

  ^  

  ^  

  ^  

  ^  

P Z   r (^)   ^ nr  p r  1  pn^^  r

  1. The next challenge is to explain the^ ^ nr   

term. To develop general form of the binomial consider the polynomial expression:      

1 (^2 2 ) (^3 3 2 2 )

a b a b a b a ab b a b a a b ab b

Professor Charles B. Moss Fall 2007 B. Next recalling Theorem 4.1.6: E aX   bY (^)   aE X  (^)   bE Y  , the expectation of the binomial distribution function can be recovered from the Bernoulli distributions:              

0 1 1 1 0 0 1 1 1

i^ i i

n (^) kn k n k k n (^) X X i i (^) X n i n i

E X C p p k p p X p p p p p np

         ^      ^      

     C. In addition, by Theorem 4.3.3: V (^)  ^ ni (^) ^ 1 X (^) i   in  1 V (^)  Xi

  1. Thus, variance of the binomial is simply the sum of the variances of the Bernoulli distributions or n times the variance of a single Bernoulli distribution               

2 2 1 0 2 0 1 2 2 2

V X E X E X

p p p p p p p p p

 ^ 

 ^    

V (^)  ^ ni  1 X (^) i   np (^)  1  p