Statistics For Business and Economics: Discrete Random Variables and Probability Distributions
Statistics For Business and Economics: Discrete Random Variables and Probability Distributions
Chapter 4
Discrete Random
Variables and
Probability
Distributions
Examples:
– Weight of packages filled by a mechanical filling
process
– Temperature of a cleaning solution
– Time between failures of an electrical component
P ( x) = 1
x
F ( x0 ) = P ( X x0 )
Where the function is evaluated at all values of x0
F ( x0 ) = P ( x)
x x0
= E ( X − ) = ( x − ) P( x)
2 2 2
x
Can also be expressed as
2 = E X 2 − 2 = x 2 P ( x ) − 2
x
= = ( x − ) P ( x)
2 2
= ( x − ) P ( x)
2
E g ( X ) = g ( x )P ( x )
x
2Y = Var ( a + bX ) = b 2 2 x
• so that the standard deviation of Y is
Y = b x
• b) E ( bX ) = b x and Var ( bX ) = b 2 2 x
i.e., the expected value of b X is b E ( x )
P ( 0 ) = (1 − P ) and P (1) = P
• The variance is x = P (1 − P )
2
= E ( X − x ) = ( x − x ) P ( x )
2 2 2
x x
= ( 0 − P ) (1 − P ) + (1 − P ) P = P (1 − P )
2 2
Where 𝑛! = 𝑛 ⋅ 𝑛– 1 ⋅ 𝑛– 2 · ⋯ · 1 and 0! = 1
• These sequences are mutually exclusive, since no two can
occur at the same time
• Order is not important
x !( n − x )!
P ( x ) = probability of x successes in n
trials, with probability of success
P on each trial Example: Flip a coin four times,
x = number of ‘successes’ in sample, let x = # heads:
( x = 0, 1, 2, , n) n=4
n = sample size (number of P = 0.5
independent trials or observations)
1 − P = (1 − 0.5 ) = 0.5
P = probability of “success”
x = 0, 1, 2, 3, 4
x !( n − x )!
5!
( 0.1) (1 − 0.1)
1 5 −1
=
1!( 5 − 1)!
= ( 5 )( 0.1)( 0.9 )
4
= .32805
= nP = ( 5 )( 0.1) = 0.5
= nP (1 − P ) = ( 5 )( 0.1)(1 − 0.1)
= 0.6708
= nP = ( 5 )( 0.5 ) = 2.5
Examples:
𝑛 = 10, 𝑥 = 3, 𝑃 = 0.35: 𝑃 𝑥 = 3|𝑛 = 10, 𝑝 = 0.35 = .2522
• Mean
x = E X =
• Variance and Standard Deviation
( ) =
2
= −
2
E X
x x
=
where = expected number of successes per time or space unit
P ( x) = C x C n− x
=
N
N!
C
n!( N − n )
n
( 6 )( 6 )
S N −S 4 6
P ( x = 2) = C C x
N
n− x
=C C 2
10
1
= = 0.3
C C 120
n 3
P ( x, y ) = P ( X = x Y = y )
P ( x ) = P ( x, y ) P ( y ) = P ( x, y )
y x
P ( x, y )
P( y | x) =
P ( x)
P ( x1 , x2 , , xk ) = P ( x1 ) P ( x2 ) P ( xk )
Y | X = E Y | X = ( y | x )P ( y | x )
y
(
= E Y − Y | X ) |X = ( y−
) | x P ( y| x )
2 2 2
Y|X Y|X
y
W = aX + bY
(a is the number of shares of stock A,
b is the number of shares of stock B)
W = E W = E aX + bY
= a X + bY
• The variance for W is
=a +b + 2abCov ( X , Y )
2 2 2 2 2
W X Y
=a +b + 2abCorr ( X , Y ) X Y
2 2 2 2 2
W X Y
= 43.30
y = ( −200 − 95 ) ( 0.2 ) + ( 60 − 95 ) ( 0.5 ) + ( 350 − 95 ) ( 0.3 )
2 2 2
= 193.71
Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide - 78
Covariance for Investment Returns
= 133.04
The portfolio return and portfolio variability are between the values for
investments X and Y considered individually
Copyright © 2020 Pearson Education Ltd. All Rights Reserved. Slide - 80
Interpreting the Results for
Investment Returns
• The aggressive fund has a higher expected return,
but much more risk
𝜇𝑦 = 95 > 𝜇𝑥 = 50
but
𝜎𝑦 = 193.21 > 𝜎𝑥 = 43.30
• The Covariance of 8250 indicates that the two
investments are positively related and will vary in
the same direction