Lecture6 - Random Variable - 0925
Lecture6 - Random Variable - 0925
Yunduan Lin
Assistant Professor
Department of Decisions, Operations and Technology
CUHK Business School
Agenda
02 Distribution in Excel
o Function
o Calculation
o Plot
Continuous Random Variable - Definition
o Sample space
o Let X be a random variable of the stock market index
o Support of X is the same as S
Uniform Distribution
Recall:
x 0 1 2
P(x) 1/3 1/3 1/3
F(x) 1/3 2/3 1
Uniform Distribution
Move from discrete to continuous:
Now consider a uniform distribution of many outcomes.
Useful property:
Integration
o
Expectation and Variance
Expectation
Variance
Note that they are the same as the discrete counterparts after we replace the sum by the integral
and add “dx”.
Uniform Distribution - Definition
Uniform distribution
Equally likely to be any value between a and b
Uniform distribution
o Mean
o Variance
Intuition:
o Expectation
o Variance
Uniform Distribution - Example
Example:
The daily rainfall follows a uniform distribution between 1mm and 4mm.
o What is the probability that the rainfall is between 1mm and 3mm?
Exponential distribution
o Mean
o Variance
Intuition:
When we expect λ of events happen in an hour,
then we expect 1/λ is the arrival of the first event
Exponential Distribution - Example
Example:
Suppose the time for next customer to arrive follows exponential distribution with mean 20 minutes.
o What is the probability that a customer arrive in between next 5 minutes and 15 minutes?
Exponential Distribution - Example
Example:
Suppose a customer service representative in a call center takes an average of 5 minutes to handle
a customer call, and this duration follows exponential distribution.
In manufacturing or maintenance operations, the exponential distribution can be used to model the
time between equipment failures. Average time between failures: 100 hours
o What is the probability of the machine functioning without failure for a specific period (e.g., 200
hours):
Normal distribution
o Bell curve
o Support of X:
o Probability distribution function
Normal distribution
Change the location of distribution
o Mean
Change the spread of distribution
o Variance
o Shorthand notation
Intuition:
Skewness is always zero
Kurtosis is always 3 -> excesskurtosis is always 0
Normal Distribution - Property
Linear transformation
If , then
Intuition:
Still normal distribution after a linear transformation
o Adding a constant changes only the mean: parallel shifting
o Multiplying a constant is changing only mean and variance: shifting and scaling
Standardization
If , then
Since there is no closed form solution for F(x), we need to use numerical methods.
o In the days without computer, it would be a lot of computations. It would be easier if
calculations can be done in advanced so that we can check tables.
o Yet, as normal distribution has two parameters, we need one table for each
combination of .
o With standardization, we only need one table.
o For , if we want to calculate Pr(X<a), we only need to consider this
standardized random variable , because
Normal Distribution - Standardization
Z-table
Pr(Z<1.4) = 0.9192
Rule of thumb
/ Three sigma rule
/ 68-95-99 rule
Normal Distribution - Inverse Normal
Use the Z-table inversely:
It is the same as
Standardization - Example
Example:
z=1.65
F(z)=1-0.025=0.975
z=1.96
Standardization - Example
Example:
https://docs.google.com/forms/d/e/1FAIpQLSfsEgnMFLypI_KW6GF7j_FXtVY5E4Jrmf2P_BDwaG8GXWDc0A/viewform?usp=sf_link