1
Fin500J Topic 10 Fall 2010 Olin Business School
Fin500J: Mathematical Foundations in Finance
Topic 10: Probability and Statistics
Philip H. Dybvig
Reference: Probability and Statistics, DeGroot and Schervish, Chapter 3, 4, 5
Slides designed by Yajun Wang
Outline
 Definition of a Random Variable
 Discrete Random Variables
 Continuous Random Variables
 Expectations, Variances
 Exponential Distributions
 Joint Probability Distributions
 Marginal Probability Distributions
 Covariance
 Bivariate Normal Distributions
Fall 2010 Olin Business School 2
Fin500J Topic 10
Definition of a Random Variable
 A random variable is a real valued function defined on a sample space
S. In a particular experiment, a random variable X would be some
function that assigns a real number X(s) for each possible outcome
 A discrete random variable can take a countable number of values.
 Number of steps to the top of the Eiffel Tower*
 A continuous random variable can take any value along a given
interval of a number line.
 The time a tourist stays at the top
once s/he gets there
3
Fall 2010 Olin Business School
S
s
Fin500J Topic 10
* The answer ranges from 1,652 to 1,789. See Great Buildings
Probability Distributions, Mean and Variance for Discrete
Random Variables
 The probability distribution of a discrete random variable is
defined as a function that specifies the probability associated
with each possible outcome the random variable can assume.
 p(x) ≥ 0 for all values of x
 p(x) = 1
4
Fall 2010 Olin Business School
Fin500J Topic 10
 The mean, or expected value, of a discrete random variable is
( ) ( ).
E x xp x
   
 The variance of a discrete random variable x is
2 2 2
[( ) ] ( ) ( ).
E x x p x
  
   

The Binomial Distribution
 A Binomial Random
Variable
 n identical trials
 Two outcomes: Success or
Failure
 P(S) = p; P(F) = q = 1 – p
 Trials are independent
 x is the number of S’s in n
trials
Flip a coin 3 times
Outcomes are Heads or Tails
P(H) = .5; P(F) = 1-.5 = .5
A head on flip i doesn’t change
P(H) of flip i + 1
5
Fall 2010 Olin Business School
Fin500J Topic 10
The Binomial Distribution (Example 1)
Results of 3 flips Probability Combined Summary
HHH (p)(p)(p) p3 (1)p3q0
HHT (p)(p)(q) p2q
HTH (p)(q)(p) p2q (3)p2q1
THH (q)(p)(p) p2q
HTT (p)(q)(q) pq2
THT (q)(p)(q) pq2 (3)p1q2
TTH (q)(q)(p) pq2
TTT (q)(q)(q) q3 (1)p0q3
6
Fall 2010 Olin Business School
Fin500J Topic 10
The Binomial Distribution Probability Distribution
x
n
x
q
p
x
n
x
P 









)
(
7
Fall 2010 Olin Business School
Fin500J Topic 10
 Example: Binomial tree model in option pricing.
Mean and Variance of Binomial Distribution
8
Fall 2010 Olin Business School
Fin500J Topic 10
).
1
(
)
(
,
so
),
1
(
)
1
(
)!
(
!
!
)
1
(
)
1
(
)
(
,
))
(
(
)
(
)
(
.
1
and
1
where
,
)
1
(
)!
(
!
!
)
1
(
)
(
0
0
2
2
2
2
0
0
p
np
x
Var
p
np
np
p
p
s
m
s
m
s
np
p
p
k
n
k
x
E
x
E
x
E
x
Var
k
s
n
m
np
p
p
s
m
s
m
np
p
p
k
n
k
x
E
m
s
s
m
s
n
k
k
n
k
m
s
s
m
s
n
k
k
n
k



















































npq
np 
 2
variance
,
mean 

The Binomial Distribution Probability Distribution
9
Fall 2010 Olin Business School
Fin500J Topic 10
 Example 2: Say 40% of the class is female.
What is the probability that 6 of the first 10 students
walking in will be female?
1115
.
)
1296
)(.
004096
(.
210
)
6
)(.
4
(.
6
10
)
(
6
10
6





















x
n
x
q
p
x
n
x
P
The Poisson Distribution
 Evaluates the probability of a (usually small) number of occurrences
out of many opportunities in a …
 period of time, area, volume, weight, distance and other units of
measurement
10
Fall 2010 Olin Business School
Fin500J Topic 10
!
)
(
x
e
x
P
x 
 

  = mean number of occurrences in the given unit of
time, area, volume, etc.
 Mean µ = , variance: 2 = 
.
)
(
,
)!
2
(
)
(
,
)!
1
(
!
)
(
2
2
2
2
2
1
1
0


































x
Var
x
e
x
x
E
x
e
x
e
x
x
E
x
x
x
x
x
x
The Poisson Distribution (Example 3)
11
Fall 2010 Olin Business School
Fin500J Topic 10
 Example 3: Say in a given stream there are an average of 3 striped
trout per 100 yards. What is the probability of seeing 5 striped
trout in the next 100 yards, assuming a Poisson distribution?
1008
.
!
5
3
!
)
5
(
3
5






e
x
e
x
P
x 

Continuous Probability Distributions
 A continuous random variable can take any numerical value within
some interval.
 A continuous distribution can be characterized by its probability
density function.
For example: for an interval (a, b],
Fall 2010 Olin Business School 12
Fin500J Topic 10




b
a
dx
x
f
b
X
a
P .
)
(
)
(
• The function f (x) is called the probability density function of X. Every
p.d.f. f (x) must satisfy





 .
1
)
(
,
,
0
)
( dx
x
f
and
x
all
for
x
f
Continuous Probability Distributions
 There are an infinite
number of possible
outcomes
 P(x) = 0
 Instead, find P(a<x≤b)
Table
Software
Integral calculus
Fall 2010 Olin Business School 13
Fin500J Topic 10
 If a random variable X has a continuous distribution for which the
p.d.f. is f(x), then the expectation E(X) and variance Var(X) are
defined as follows:







 ].
)
[(
)
(
,
)
(
)
( 2

 X
E
X
Var
dx
x
xf
X
E
The Uniform Distribution on an Interval
 For two values a and b
 Mean and Variance
Fall 2010 Olin Business School 14
d
b
a
c
c
d
a
b
b
x
a
P 






 ,
)
(
Fin500J Topic 10









otherwise
d
x
c
for
c
d
x
f
0
1
)
(
.
12
)
(
)
2
(
1
,
2
1
2
2
2 c
d
dx
d
c
x
c
d
d
c
xdx
c
d
d
c
d
c














The Normal Distribution
 The probability density function f(x):
µ = the mean of x,  = the standard deviation of x
Fall 2010 Olin Business School 15
2
2
2
)
(
2
1
)
( 






x
e
x
f
Fin500J Topic 10
.
))
0
(
'
(
)
0
(
'
'
)
(
,
)
0
(
'
)
(
,
2
1
)
(
)
(
2
2
2
1
2
)
( 2
2
2
2



















 






x
Var
x
E
e
dx
e
e
E
t
t
t
x
tx
tx
The Normal Distribution (Cont.)
Fall 2010 Olin Business School 16
Fin500J Topic 10




x
z
 Example 4: Say a toy car goes an average of 3,000 yards between
recharges, with a standard deviation of 50 yards (i.e., µ = 3,000 and  =
50) .
What is the probability that the car will go more than 3,100 yards
without recharging?
0228
.
4772
.
5
.
1
)
00
.
2
0
(
5
.
1
)
00
.
2
(
1
)
00
.
2
(
50
3000
3100
)
3100
(



















 



z
P
z
P
z
P
z
P
x
P
 A popular model for the change in the price of a stock over a period of
time of length u is:
.
variance
and
u
mean
on with
distributi
normal
a
has
Z
where
,
2
u
0
u
e
S
S u
Z
u



The Exponential Distribution
 Probability Distribution for an Exponential Random Variable x
 Probability Density Function
 Mean: Variance:
Fall 2010 Olin Business School 17
)
0
(
1
)
( /

 
x
e
x
f x 

Fin500J Topic 10
2
2

 

 
.
)
(
2
|
)
(
1
)
(
)
(
,
|
|
1
)
(
2
0
0
2
0
2
2
0
0
0
0




















































dx
x
e
e
x
dx
e
x
x
Var
e
dx
e
xe
dx
e
x
x
E
x
x
x
x
x
x
x
The Exponential Distribution (Example 5)
Fall 2010 Olin Business School 18
Fin500J Topic 10
• Example 5: Suppose the waiting time to see the nurse at the student
health center is distributed exponentially with a mean of 45 minutes.
What is the probability that a student will wait more than an hour to get
his or her generic pill?
2645
.
)
60
(
)
(
33
.
1
45
60









e
e
x
P
e
a
x
P
a

Normal, Exponential Distribution (Matlab)
 >p = normcdf([-1 1],0,1);
>P(2)-p(1)
P = normcdf(X,mu,sigma) computes the
normal cdf at each of the values in X using
the corresponding parameters in mu and
sigma. X, mu, and sigma can be vectors,
matrices, or multidimensional arrays that
all have the same size.
Example 4:
>p=1-normcdf(3100,3000,50)
>p =
0.0228
 P = expcdf(X,mu)
P = expcdf(X,mu) computes the exponential
cdf at each of the values in X using the
corresponding parameters in mu. The
parameters in mu must be positive.
Example 5:
>mu=45;
>> p=1-expcdf(60,45)
p =
0.2636
Fin500J Topic 10 Fall 2010 Olin Business School 19
Joint Probability Distributions
 In general, if X and Y are two random variables, the probability
distribution that defines their simultaneous behavior is called a joint
probability distribution.
 For example: X : the length of one dimension of an injection-molded
part, and Y : the length of another dimension. We might be interested
in
 P(2.95  X  3.05 and 7.60  Y  7.80).
Fin500J Topic 10 20
Fall 2010 Olin Business School
Discrete Joint Probability Distributions
 The joint probability distribution of two discrete random variables X,Y
is usually written as fXY(x,y)= Pr(X=x, Y=y). The joint probability
function satisfies
 Example 6: X can take only 1 and 3; Y can take only 1,2 and 3 ; and the
joint probability function of X and Y is:
 

x y
XY
XY y
x
f
and
y
x
f .
1
)
,
(
0
)
,
(
Joint distribution of X and Y
(1) Compute P(X≥2, Y≥2)
P(X≥2, Y≥2)=P(X=3,Y=2)+P(X=3,Y=3)=0.2+0.3=0.5
(2) Compute Pr(X=3)
P(X=3)=P(X=3,Y=1)+P(X=3,Y=2)+P(X=3,Y=3)=0.2+0.2+0.3=0.7
Fin500J Topic 10 21
Fall 2010 Olin Business School
Continuous Joint Distributions
Fin500J Topic 10 22
Fall 2010 Olin Business School
 A joint probability density function for the continuous
random variables X and Y, denotes as fXY(x,y), satisfies the
following properties:
Continuous Joint Distributions (Example 7)
Fin500J Topic 10 Fall 2010 Olin Business School 23
?
)
Pr(
)
2
(
?
)
1
(
.
0
,
1
)
,
(
2
2





 


Y
X
c
otherwise
y
x
for
y
cx
y
x
fXY
Calculating probabilities from a joint p.d.f.
.
20
3
4
21
)
Pr(
.
4
21
,
21
4
)
,
(
1
0
2
1
1
1
2
2
2






 
 
 





dydx
y
x
Y
X
c
c
dxdy
y
cx
dxdy
y
x
f
x
x
x
XY
Marginal Probability Distributions (Discrete)
Marginal Probability Distribution: the individual
probability distribution of a random variable computed
from a joint distribution.
Fin500J Topic 10 24
Fall 2010 Olin Business School
Compute fX(1), fX(3), fY(1), fY(2) and fY(3) in Example 6 .
fX(1)=P(X=1,Y=1)+P(X=1,Y=2)=0.1+0.2=0.3
fX(3)= P(X=3,Y=1)+P(X=3,Y=2)+ P(X=3,Y=3)=0.2+0.2+0.3=0.7
fY(1)= P(X=1,Y=1)+P(X=3,Y=1)=0.1+0.2=0.3
fY(2)=P(X=1,Y=2)+P(X=3,Y=2)=0.2+0.2=0.4
fY(3)= P(X=3,Y=3)=0.3
Fin500J Topic 10 Fall 2010 Olin Business School 25
Marginal Probability Distributions (Discrete, Example)
Marginal Probability Distributions(Continuous)
 Similar to joint discrete random variables, we can find the
marginal probability distributions of X and Y from the
joint probability distribution.
Fin500J Topic 10 26
Fall 2010 Olin Business School
Compute fX (x) and fY(y) in Example 7
Fin500J Topic 10 Fall 2010 Olin Business School 27
Marginal Probability Distributions(Continuous, Example)
.
2
7
4
21
)
,
(
)
(
).
1
(
8
21
4
21
)
,
(
)
(
2
5
2
4
2
1
2
2
y
dx
y
x
dx
y
x
f
y
f
x
x
dy
y
x
dy
y
x
f
x
f
y
y
XY
Y
x
XY
X
















Independence
• In some random experiments, knowledge of the values of
X does not change any of the probabilities associated with
the values for Y.
• If two random variables, X and Y are independent, then
.
and
all
for
,
)
(
)
(
)
,
(
ly.
respective
Y,
and
X
of
range
in the
B
and
A
sets
any
for
),
Pr(
)
Pr(
)
Pr(
y
x
y
f
x
f
y
x
f
B
Y
A
X
B
Y
and
A
X
Y
X
XY 





Fin500J Topic 10 28
Fall 2010 Olin Business School
Independence (Example 8)
 Let the random variables X and Y denote the lengths of two dimensions of a
machined part, respectively.
 Assume that X and Y are independent random variables, and the distribution of
X is normal with mean 10.5 mm and variance 0.0025 (mm)2 and that the
distribution of Y is normal with mean 3.2 mm and variance 0.0036 (mm)2.
 Determine the probability that 10.4 < X < 10.6 and 3.15 < Y < 3.25.
 Because X,Y are independent
Fin500J Topic 10 29
Fall 2010 Olin Business School
Fall 2010 Olin Business School
Covariance and Correlation Coefficient
The covariance between two RV’s X and Y is
Properties:
The correlation Coefficient of X and Y is
Fin500J Topic 10 30
 
,
Cov ,
X Y
X Y
X Y

 


).
(
)
(
)
(
))]
(
))(
(
[(
)
,
( Y
E
X
E
XY
E
Y
E
Y
X
E
X
E
y
x
Cov 




).
,
(
)
,
(
)
,
(
)
,
(
)
,
(
)
,
(
)
,
(
),
,
(
)
,
(
)
(
)
,
(
,
0
)
,
(
Z
Y
bCov
Z
X
aCov
Z
bY
aX
Cov
Y
X
Cov
b
Y
a
X
Cov
Y
X
abCov
bY
aX
Cov
X
Y
Cov
Y
X
Cov
X
Var
X
X
Cov
a
X
Cov










Covariance and Correlation (Example 6 (Cont.))
Fin500J Topic 10 31
Fall 2010 Olin Business School
Covariance and Correlation
Example 9
Fin500J Topic 10 32
Fall 2010 Olin Business School
Covariance and Correlation
Example 9 (Cont.)
Fin500J Topic 10 33
Fall 2010 Olin Business School
Covariance and Correlation
Example 9 (Cont.)
Fin500J Topic 10 34
Fall 2010 Olin Business School
Fin500J Topic 10 Fall 2010 Olin Business School 35
Zero Covariance and Independence
• However, in general, if Cov(X,Y)=0, X and Y may not be independent.
Example 10: X is uniformly distributed on [-1,1], Y=X2 . Then,
Cov(X,Y)= 0, but X determines Y, i.e., X and Y are not independent.
• If X and Y are independent, then Cov(X,Y)=0.
.
0
]
[
]
[
]
[
)
,
(
So,
.
0
2
1
]
[
]
[
,
0
2
1
]
[
1
1
3
3
1
1







 
 

Y
E
X
E
XY
E
Y
X
Cov
dx
x
X
E
XY
E
xdx
X
E
.
0
)
,
(
.,
.
,
]
[
]
[
)
(
)
(
)
(
)
(
)
,
(
]
[
),
(
)
(
)
,
(








 
 


















Y
X
Cov
e
i
Y
E
X
E
dy
y
yf
dx
x
xf
dxdy
y
f
x
xyf
dxdy
y
x
xyf
XY
E
y
f
x
f
y
x
f
Y
X
Y
X
XY
Y
X
XY
Bivariate Normal Distribution
Fin500J Topic 10 36
Fall 2010 Olin Business School
Bivariate Normal Distribution
Example 11
Fin500J Topic 10 37
Fall 2010 Olin Business School
Bivariate Normal Distribution (Matlab)
 y = mvncdf(xl,xu,mu,SIGMA) returns the multivariate normal cumulative probability
with mean mu and covariance SIGMA evaluated over the rectangle with lower and upper
limits defined by xl and xu, respectively. mu is a 1-by-d vector, and SIGMA is a d-by-d
symmetric, positive definite matrix.
 Examples 11 (Cont.)
mu=[3.00 7.70]; SIGMA=[0.0016 0.00256; 0.00256 0.0064];
XL=[2.95 7.60];
XU=[3.05 7.80];
>> p=mvncdf(XL,XU, mu,SIGMA)
p =
0.6975
Fin500J Topic 10 Fall 2010 Olin Business School 38

More Related Content

PPTX
ISM_Session_5 _ 23rd and 24th December.pptx
PPTX
Probability distribution for Dummies
PPT
Probability and Statistics for Engineers
PDF
Moment-Generating Functions and Reproductive Properties of Distributions
PDF
IJSRED-V2I5P56
PPT
Statistik 1 5 distribusi probabilitas diskrit
PPT
The Binomial,poisson _ Normal Distribution (1).ppt
PPTX
Discussion about random variable ad its characterization
ISM_Session_5 _ 23rd and 24th December.pptx
Probability distribution for Dummies
Probability and Statistics for Engineers
Moment-Generating Functions and Reproductive Properties of Distributions
IJSRED-V2I5P56
Statistik 1 5 distribusi probabilitas diskrit
The Binomial,poisson _ Normal Distribution (1).ppt
Discussion about random variable ad its characterization

Similar to Fin500J_topic10_Probability_2010_0000000 (20)

PDF
Finance Enginering from Columbia.pdf
PDF
Statistical Hydrology for Engineering.pdf
PDF
STAT 253 Probability and Statistics UNIT II.pdf
PPTX
Probability-1.pptx
PDF
Statistics (1): estimation, Chapter 2: Empirical distribution and bootstrap
PDF
materi matematika statistik untuk mahasiswa
PDF
U unit7 ssb
PPT
LSCM 2072_chapter 1.ppt social marketing management
PPTX
Lesson6 Mathmatical Expectations, mean of rv.pptx
PPTX
mean, variance, and standard deviation of a discrete random variable
PDF
Engr 371 final exam april 1996
PPTX
Chapter 4-1 (1).pptx
PDF
Lec 2 discrete random variable
PPTX
Econometrics 2.pptx
PPT
Marketing management planning on it is a
PPTX
1.1 mean, variance and standard deviation
PDF
PTSP PPT.pdf
PPT
Bivariate Probability Random distribusion.ppt
PDF
Probability cheatsheet
PDF
Probability Cheatsheet.pdf
Finance Enginering from Columbia.pdf
Statistical Hydrology for Engineering.pdf
STAT 253 Probability and Statistics UNIT II.pdf
Probability-1.pptx
Statistics (1): estimation, Chapter 2: Empirical distribution and bootstrap
materi matematika statistik untuk mahasiswa
U unit7 ssb
LSCM 2072_chapter 1.ppt social marketing management
Lesson6 Mathmatical Expectations, mean of rv.pptx
mean, variance, and standard deviation of a discrete random variable
Engr 371 final exam april 1996
Chapter 4-1 (1).pptx
Lec 2 discrete random variable
Econometrics 2.pptx
Marketing management planning on it is a
1.1 mean, variance and standard deviation
PTSP PPT.pdf
Bivariate Probability Random distribusion.ppt
Probability cheatsheet
Probability Cheatsheet.pdf
Ad

Recently uploaded (20)

PPTX
climate change of delhi impacts on climate and there effects
PPTX
CHROMIUM & Glucose Tolerance Factor.pptx
PPTX
GW4 BioMed Candidate Support Webinar 2025
PPTX
IT infrastructure and emerging technologies
PDF
African Communication Research: A review
PDF
Diabetes Mellitus , types , clinical picture, investigation and managment
PDF
Laparoscopic Imaging Systems at World Laparoscopy Hospital
PDF
anganwadi services for the b.sc nursing and GNM
PDF
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
PPTX
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
PDF
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
PDF
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
PPTX
UCSP Section A - Human Cultural Variations,Social Differences,social ChangeCo...
PPTX
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
PDF
IS1343_2012...........................pdf
PDF
Review of Related Literature & Studies.pdf
PDF
GSA-Past-Papers-2010-2024-2.pdf CSS examination
PDF
FAMILY PLANNING (preventative and social medicine pdf)
PDF
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
PDF
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
climate change of delhi impacts on climate and there effects
CHROMIUM & Glucose Tolerance Factor.pptx
GW4 BioMed Candidate Support Webinar 2025
IT infrastructure and emerging technologies
African Communication Research: A review
Diabetes Mellitus , types , clinical picture, investigation and managment
Laparoscopic Imaging Systems at World Laparoscopy Hospital
anganwadi services for the b.sc nursing and GNM
Kalaari-SaaS-Founder-Playbook-2024-Edition-.pdf
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
Horaris_Grups_25-26_Definitiu_15_07_25.pdf
English 2nd semesteNotesh biology biopsy results from the other day and I jus...
UCSP Section A - Human Cultural Variations,Social Differences,social ChangeCo...
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
IS1343_2012...........................pdf
Review of Related Literature & Studies.pdf
GSA-Past-Papers-2010-2024-2.pdf CSS examination
FAMILY PLANNING (preventative and social medicine pdf)
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
Ad

Fin500J_topic10_Probability_2010_0000000

  • 1. 1 Fin500J Topic 10 Fall 2010 Olin Business School Fin500J: Mathematical Foundations in Finance Topic 10: Probability and Statistics Philip H. Dybvig Reference: Probability and Statistics, DeGroot and Schervish, Chapter 3, 4, 5 Slides designed by Yajun Wang
  • 2. Outline  Definition of a Random Variable  Discrete Random Variables  Continuous Random Variables  Expectations, Variances  Exponential Distributions  Joint Probability Distributions  Marginal Probability Distributions  Covariance  Bivariate Normal Distributions Fall 2010 Olin Business School 2 Fin500J Topic 10
  • 3. Definition of a Random Variable  A random variable is a real valued function defined on a sample space S. In a particular experiment, a random variable X would be some function that assigns a real number X(s) for each possible outcome  A discrete random variable can take a countable number of values.  Number of steps to the top of the Eiffel Tower*  A continuous random variable can take any value along a given interval of a number line.  The time a tourist stays at the top once s/he gets there 3 Fall 2010 Olin Business School S s Fin500J Topic 10 * The answer ranges from 1,652 to 1,789. See Great Buildings
  • 4. Probability Distributions, Mean and Variance for Discrete Random Variables  The probability distribution of a discrete random variable is defined as a function that specifies the probability associated with each possible outcome the random variable can assume.  p(x) ≥ 0 for all values of x  p(x) = 1 4 Fall 2010 Olin Business School Fin500J Topic 10  The mean, or expected value, of a discrete random variable is ( ) ( ). E x xp x      The variance of a discrete random variable x is 2 2 2 [( ) ] ( ) ( ). E x x p x        
  • 5. The Binomial Distribution  A Binomial Random Variable  n identical trials  Two outcomes: Success or Failure  P(S) = p; P(F) = q = 1 – p  Trials are independent  x is the number of S’s in n trials Flip a coin 3 times Outcomes are Heads or Tails P(H) = .5; P(F) = 1-.5 = .5 A head on flip i doesn’t change P(H) of flip i + 1 5 Fall 2010 Olin Business School Fin500J Topic 10
  • 6. The Binomial Distribution (Example 1) Results of 3 flips Probability Combined Summary HHH (p)(p)(p) p3 (1)p3q0 HHT (p)(p)(q) p2q HTH (p)(q)(p) p2q (3)p2q1 THH (q)(p)(p) p2q HTT (p)(q)(q) pq2 THT (q)(p)(q) pq2 (3)p1q2 TTH (q)(q)(p) pq2 TTT (q)(q)(q) q3 (1)p0q3 6 Fall 2010 Olin Business School Fin500J Topic 10
  • 7. The Binomial Distribution Probability Distribution x n x q p x n x P           ) ( 7 Fall 2010 Olin Business School Fin500J Topic 10  Example: Binomial tree model in option pricing.
  • 8. Mean and Variance of Binomial Distribution 8 Fall 2010 Olin Business School Fin500J Topic 10 ). 1 ( ) ( , so ), 1 ( ) 1 ( )! ( ! ! ) 1 ( ) 1 ( ) ( , )) ( ( ) ( ) ( . 1 and 1 where , ) 1 ( )! ( ! ! ) 1 ( ) ( 0 0 2 2 2 2 0 0 p np x Var p np np p p s m s m s np p p k n k x E x E x E x Var k s n m np p p s m s m np p p k n k x E m s s m s n k k n k m s s m s n k k n k                                                    npq np   2 variance , mean  
  • 9. The Binomial Distribution Probability Distribution 9 Fall 2010 Olin Business School Fin500J Topic 10  Example 2: Say 40% of the class is female. What is the probability that 6 of the first 10 students walking in will be female? 1115 . ) 1296 )(. 004096 (. 210 ) 6 )(. 4 (. 6 10 ) ( 6 10 6                      x n x q p x n x P
  • 10. The Poisson Distribution  Evaluates the probability of a (usually small) number of occurrences out of many opportunities in a …  period of time, area, volume, weight, distance and other units of measurement 10 Fall 2010 Olin Business School Fin500J Topic 10 ! ) ( x e x P x       = mean number of occurrences in the given unit of time, area, volume, etc.  Mean µ = , variance: 2 =  . ) ( , )! 2 ( ) ( , )! 1 ( ! ) ( 2 2 2 2 2 1 1 0                                   x Var x e x x E x e x e x x E x x x x x x
  • 11. The Poisson Distribution (Example 3) 11 Fall 2010 Olin Business School Fin500J Topic 10  Example 3: Say in a given stream there are an average of 3 striped trout per 100 yards. What is the probability of seeing 5 striped trout in the next 100 yards, assuming a Poisson distribution? 1008 . ! 5 3 ! ) 5 ( 3 5       e x e x P x  
  • 12. Continuous Probability Distributions  A continuous random variable can take any numerical value within some interval.  A continuous distribution can be characterized by its probability density function. For example: for an interval (a, b], Fall 2010 Olin Business School 12 Fin500J Topic 10     b a dx x f b X a P . ) ( ) ( • The function f (x) is called the probability density function of X. Every p.d.f. f (x) must satisfy       . 1 ) ( , , 0 ) ( dx x f and x all for x f
  • 13. Continuous Probability Distributions  There are an infinite number of possible outcomes  P(x) = 0  Instead, find P(a<x≤b) Table Software Integral calculus Fall 2010 Olin Business School 13 Fin500J Topic 10  If a random variable X has a continuous distribution for which the p.d.f. is f(x), then the expectation E(X) and variance Var(X) are defined as follows:         ]. ) [( ) ( , ) ( ) ( 2   X E X Var dx x xf X E
  • 14. The Uniform Distribution on an Interval  For two values a and b  Mean and Variance Fall 2010 Olin Business School 14 d b a c c d a b b x a P         , ) ( Fin500J Topic 10          otherwise d x c for c d x f 0 1 ) ( . 12 ) ( ) 2 ( 1 , 2 1 2 2 2 c d dx d c x c d d c xdx c d d c d c              
  • 15. The Normal Distribution  The probability density function f(x): µ = the mean of x,  = the standard deviation of x Fall 2010 Olin Business School 15 2 2 2 ) ( 2 1 ) (        x e x f Fin500J Topic 10 . )) 0 ( ' ( ) 0 ( ' ' ) ( , ) 0 ( ' ) ( , 2 1 ) ( ) ( 2 2 2 1 2 ) ( 2 2 2 2                            x Var x E e dx e e E t t t x tx tx
  • 16. The Normal Distribution (Cont.) Fall 2010 Olin Business School 16 Fin500J Topic 10     x z  Example 4: Say a toy car goes an average of 3,000 yards between recharges, with a standard deviation of 50 yards (i.e., µ = 3,000 and  = 50) . What is the probability that the car will go more than 3,100 yards without recharging? 0228 . 4772 . 5 . 1 ) 00 . 2 0 ( 5 . 1 ) 00 . 2 ( 1 ) 00 . 2 ( 50 3000 3100 ) 3100 (                         z P z P z P z P x P  A popular model for the change in the price of a stock over a period of time of length u is: . variance and u mean on with distributi normal a has Z where , 2 u 0 u e S S u Z u   
  • 17. The Exponential Distribution  Probability Distribution for an Exponential Random Variable x  Probability Density Function  Mean: Variance: Fall 2010 Olin Business School 17 ) 0 ( 1 ) ( /    x e x f x   Fin500J Topic 10 2 2       . ) ( 2 | ) ( 1 ) ( ) ( , | | 1 ) ( 2 0 0 2 0 2 2 0 0 0 0                                                     dx x e e x dx e x x Var e dx e xe dx e x x E x x x x x x x
  • 18. The Exponential Distribution (Example 5) Fall 2010 Olin Business School 18 Fin500J Topic 10 • Example 5: Suppose the waiting time to see the nurse at the student health center is distributed exponentially with a mean of 45 minutes. What is the probability that a student will wait more than an hour to get his or her generic pill? 2645 . ) 60 ( ) ( 33 . 1 45 60          e e x P e a x P a 
  • 19. Normal, Exponential Distribution (Matlab)  >p = normcdf([-1 1],0,1); >P(2)-p(1) P = normcdf(X,mu,sigma) computes the normal cdf at each of the values in X using the corresponding parameters in mu and sigma. X, mu, and sigma can be vectors, matrices, or multidimensional arrays that all have the same size. Example 4: >p=1-normcdf(3100,3000,50) >p = 0.0228  P = expcdf(X,mu) P = expcdf(X,mu) computes the exponential cdf at each of the values in X using the corresponding parameters in mu. The parameters in mu must be positive. Example 5: >mu=45; >> p=1-expcdf(60,45) p = 0.2636 Fin500J Topic 10 Fall 2010 Olin Business School 19
  • 20. Joint Probability Distributions  In general, if X and Y are two random variables, the probability distribution that defines their simultaneous behavior is called a joint probability distribution.  For example: X : the length of one dimension of an injection-molded part, and Y : the length of another dimension. We might be interested in  P(2.95  X  3.05 and 7.60  Y  7.80). Fin500J Topic 10 20 Fall 2010 Olin Business School
  • 21. Discrete Joint Probability Distributions  The joint probability distribution of two discrete random variables X,Y is usually written as fXY(x,y)= Pr(X=x, Y=y). The joint probability function satisfies  Example 6: X can take only 1 and 3; Y can take only 1,2 and 3 ; and the joint probability function of X and Y is:    x y XY XY y x f and y x f . 1 ) , ( 0 ) , ( Joint distribution of X and Y (1) Compute P(X≥2, Y≥2) P(X≥2, Y≥2)=P(X=3,Y=2)+P(X=3,Y=3)=0.2+0.3=0.5 (2) Compute Pr(X=3) P(X=3)=P(X=3,Y=1)+P(X=3,Y=2)+P(X=3,Y=3)=0.2+0.2+0.3=0.7 Fin500J Topic 10 21 Fall 2010 Olin Business School
  • 22. Continuous Joint Distributions Fin500J Topic 10 22 Fall 2010 Olin Business School  A joint probability density function for the continuous random variables X and Y, denotes as fXY(x,y), satisfies the following properties:
  • 23. Continuous Joint Distributions (Example 7) Fin500J Topic 10 Fall 2010 Olin Business School 23 ? ) Pr( ) 2 ( ? ) 1 ( . 0 , 1 ) , ( 2 2          Y X c otherwise y x for y cx y x fXY Calculating probabilities from a joint p.d.f. . 20 3 4 21 ) Pr( . 4 21 , 21 4 ) , ( 1 0 2 1 1 1 2 2 2                  dydx y x Y X c c dxdy y cx dxdy y x f x x x XY
  • 24. Marginal Probability Distributions (Discrete) Marginal Probability Distribution: the individual probability distribution of a random variable computed from a joint distribution. Fin500J Topic 10 24 Fall 2010 Olin Business School
  • 25. Compute fX(1), fX(3), fY(1), fY(2) and fY(3) in Example 6 . fX(1)=P(X=1,Y=1)+P(X=1,Y=2)=0.1+0.2=0.3 fX(3)= P(X=3,Y=1)+P(X=3,Y=2)+ P(X=3,Y=3)=0.2+0.2+0.3=0.7 fY(1)= P(X=1,Y=1)+P(X=3,Y=1)=0.1+0.2=0.3 fY(2)=P(X=1,Y=2)+P(X=3,Y=2)=0.2+0.2=0.4 fY(3)= P(X=3,Y=3)=0.3 Fin500J Topic 10 Fall 2010 Olin Business School 25 Marginal Probability Distributions (Discrete, Example)
  • 26. Marginal Probability Distributions(Continuous)  Similar to joint discrete random variables, we can find the marginal probability distributions of X and Y from the joint probability distribution. Fin500J Topic 10 26 Fall 2010 Olin Business School
  • 27. Compute fX (x) and fY(y) in Example 7 Fin500J Topic 10 Fall 2010 Olin Business School 27 Marginal Probability Distributions(Continuous, Example) . 2 7 4 21 ) , ( ) ( ). 1 ( 8 21 4 21 ) , ( ) ( 2 5 2 4 2 1 2 2 y dx y x dx y x f y f x x dy y x dy y x f x f y y XY Y x XY X                
  • 28. Independence • In some random experiments, knowledge of the values of X does not change any of the probabilities associated with the values for Y. • If two random variables, X and Y are independent, then . and all for , ) ( ) ( ) , ( ly. respective Y, and X of range in the B and A sets any for ), Pr( ) Pr( ) Pr( y x y f x f y x f B Y A X B Y and A X Y X XY       Fin500J Topic 10 28 Fall 2010 Olin Business School
  • 29. Independence (Example 8)  Let the random variables X and Y denote the lengths of two dimensions of a machined part, respectively.  Assume that X and Y are independent random variables, and the distribution of X is normal with mean 10.5 mm and variance 0.0025 (mm)2 and that the distribution of Y is normal with mean 3.2 mm and variance 0.0036 (mm)2.  Determine the probability that 10.4 < X < 10.6 and 3.15 < Y < 3.25.  Because X,Y are independent Fin500J Topic 10 29 Fall 2010 Olin Business School
  • 30. Fall 2010 Olin Business School Covariance and Correlation Coefficient The covariance between two RV’s X and Y is Properties: The correlation Coefficient of X and Y is Fin500J Topic 10 30   , Cov , X Y X Y X Y      ). ( ) ( ) ( ))] ( ))( ( [( ) , ( Y E X E XY E Y E Y X E X E y x Cov      ). , ( ) , ( ) , ( ) , ( ) , ( ) , ( ) , ( ), , ( ) , ( ) ( ) , ( , 0 ) , ( Z Y bCov Z X aCov Z bY aX Cov Y X Cov b Y a X Cov Y X abCov bY aX Cov X Y Cov Y X Cov X Var X X Cov a X Cov          
  • 31. Covariance and Correlation (Example 6 (Cont.)) Fin500J Topic 10 31 Fall 2010 Olin Business School
  • 32. Covariance and Correlation Example 9 Fin500J Topic 10 32 Fall 2010 Olin Business School
  • 33. Covariance and Correlation Example 9 (Cont.) Fin500J Topic 10 33 Fall 2010 Olin Business School
  • 34. Covariance and Correlation Example 9 (Cont.) Fin500J Topic 10 34 Fall 2010 Olin Business School
  • 35. Fin500J Topic 10 Fall 2010 Olin Business School 35 Zero Covariance and Independence • However, in general, if Cov(X,Y)=0, X and Y may not be independent. Example 10: X is uniformly distributed on [-1,1], Y=X2 . Then, Cov(X,Y)= 0, but X determines Y, i.e., X and Y are not independent. • If X and Y are independent, then Cov(X,Y)=0. . 0 ] [ ] [ ] [ ) , ( So, . 0 2 1 ] [ ] [ , 0 2 1 ] [ 1 1 3 3 1 1             Y E X E XY E Y X Cov dx x X E XY E xdx X E . 0 ) , ( ., . , ] [ ] [ ) ( ) ( ) ( ) ( ) , ( ] [ ), ( ) ( ) , (                               Y X Cov e i Y E X E dy y yf dx x xf dxdy y f x xyf dxdy y x xyf XY E y f x f y x f Y X Y X XY Y X XY
  • 36. Bivariate Normal Distribution Fin500J Topic 10 36 Fall 2010 Olin Business School
  • 37. Bivariate Normal Distribution Example 11 Fin500J Topic 10 37 Fall 2010 Olin Business School
  • 38. Bivariate Normal Distribution (Matlab)  y = mvncdf(xl,xu,mu,SIGMA) returns the multivariate normal cumulative probability with mean mu and covariance SIGMA evaluated over the rectangle with lower and upper limits defined by xl and xu, respectively. mu is a 1-by-d vector, and SIGMA is a d-by-d symmetric, positive definite matrix.  Examples 11 (Cont.) mu=[3.00 7.70]; SIGMA=[0.0016 0.00256; 0.00256 0.0064]; XL=[2.95 7.60]; XU=[3.05 7.80]; >> p=mvncdf(XL,XU, mu,SIGMA) p = 0.6975 Fin500J Topic 10 Fall 2010 Olin Business School 38