Title: Discrete Random Variable
1Discrete Random Variable
- Let X denote the return of the SP 500 tomorrow,
rounded to the nearest percent - what are the possibilities, i.e. 0, 1,
- what is the probability of each of the above
possibilities - Probability distribution function f(x)
P(Xx)
2Probability Distribution
3Cumulative Distribution Function
4Discrete Random Variable
5Which Distribution Has Higher Mean?
6Which Distribution Has Higher Variance?
7Expectation of a Function of a R.V.
- Function g(X)
- What is the expectation E(g(X))?
- General result
- Example call option on the SP 500
8Binomial Distribution
- Bernoulli distribution
- A r.v. X has two possible outcomes, 0 or 1
- Binomial distribution
- Number of successes that occur in n trials
- Example Ch. 4, 6b
9Poisson
- A r.v. X takes on values 0, 1, 2, ....
- Poisson distribution if for some l gt 0,
- The Poisson r.v. is an approximation for binomial
with l np. - Example how many days in a year will the SP500
drop more than 1? - Example 7b
10Geometric
- Independent trials with prob. of success p
- How many trials until a success occurs?
- What happens when n goes to infinity?
- Example how many days until we get a stock
market drop of 2 or more?
11Negative Binomial
- Independent trials with prob. of success p
- How many trials until r successes occur?
- What happens when n goes to infinity?
- Example how many days until we get three stock
market drops of 2 or more (not necessarily
consecutive)?
12Hyper-Geometric
- Choose n balls out of N, without replacement
- m white, N m black
- X number of white balls selected
- Example 8i
- What happens if you choose the n balls with
replacement?
13Continuous Random Variable
- Let X denote the return of the SP 500 tomorrow,
no rounding - what are the possibilities
- what is the probability of each of the above
possibilities - Probability density function
14Probability Density Function
15Cumulative Density Function
16Continuous Random Variable
- Expectation
- Variance
- Example Ch5, 1a, 1b, 2a
17Continuous Random Variable
- For any real-valued function g and continuous
r.v. X - Example payoff on a call option, 2b
18Which Distribution Has Higher Mean?
19Which Distribution Has Higher Mean?
20Which Distribution Has Higher Variance?
21Skewness
22Kurtosis
23Additional Sample Questions
- Given a discrete probability function (pdf)
(i.e., all possible outcomes and their
probabilities), compute the mean and the variance - Given a graph of several discrete or continuous
pdf, estimate which ones has the highest mean,
variance, skewness, kurtosis - Given two random variables, guess whether they
have positive or negative covariance and/or
correlation
24The Uniform Distribution
Example 3b
25The Normal Distribution
26The Normal Distribution
Example Ch 5, 4b, 4e
27Properties of the Normal Distribution
28Normal is an Approximation to Binomial
- Sn number of successes in n independent trials
with individual prob. of success p. - The DeMoivre-Laplace limit theorem
29Normal is an Approximation to Binomial
30Lognormal Distribution
- What is the distribution of the SP 500 index
tomorrow? - If the return on the SP500 is normally
distributed, the index itself is lognormally
distributed
31Lognormal Distribution
32Chi-squared Distribution
- Sum of squared standard normal variables
33F distribution
- Ratio of two independent chi-squared variables
with degrees of freedom n1 and n2
34t distribution
- Very important for hypothesis testing
35Normal vs. t distribution
36Exponential Distribution
37Joint Distributions of R. V.
- Joint probability distribution function
f(x,y) P(Xx, Yy) - Example Ch 6, 1c, 1d
38Independence
- Two variables are independent if, for any two
sets of real numbers A and B, - Operationally two variables are indepndent iff
their joint pdf can be separated for any x and
y
39Joint Distributions of R. V.
- The expectation of a sum equals the sum of the
expectations - The variance of a sum is more complicated
- If independent, then the variance of a sum equals
the sum of the variances
40Sum of Normally Distributed RV
41Additional Sample Questions
- Find the distribution of a transformation of two
or more normal random variables - By looking at a graph of a pdf, guess whether it
is normal, log-normal, or t-distribution - What normally distributed random variables do you
need to construct an F distribution with 3 and 5
degrees of freedom
42Conditional Distributions (Discrete)
- For any two events, E and F,
- Conditional pdf
- Examples Ch 6, 4a, 4b
43Conditional Distributions (Discrete)
44Conditional Distributions (Discrete)
- Example what is the probability that the TSX is
up, conditional on the SP500 being up?
45Conditional Distributions (Continous)
- Conditional pdf
- Conditional cdf
- Example 5b
46Conditional Distributions (Continous)
- Example what is the probability that the TSX is
up, conditional on the SP500 being up 3?
47Joint PDF of Functions of R.V.
- joint pdf of X1 and X2
- Equations and can be uniquely solved
for and given by - and
- The functions and have continuous
partial derivatives
48Joint PDF of Functions of R.V.
- Under the conditions on previous slide,
- Insert eq. 7.1, p275
- Example You manage two portfolios of TSX and
SP500 - Portfolio 1 50 in each
- Portfolio 2 10 TSX, 90 SP 500
- What is the probability that both of those
portfolios experience a loss tomorrow?
49Joint PDF of Functions of R.V.
- Example 7a uniform and normal cases
50Estimation
- Given limited data we make educated guesses about
the true parameters - Estimation of the mean
- Estimation of the variance
- Random sample
51Population vs. Sample
- Population parameter describes the true
characteristics of the whole population - Sample parameter describes characteristics of the
sample - Statistics is all about using sample parameters
to make inferences about the population parameters
52Distribution of the Sample Mean
- The sample mean follows a t-distribution
53Confidence Intervals
- We can estimate the mean, but wed like to know
how accurate our estimate is - Wed like to put upper and lower bounds on our
estimate - We might need to know whether the true mean is
above certain value, e.g. zero
54Constructing Confidence Intervals
- We already know the distribution of our estimate
of the mean - To construct a 95 confidence interval, for
instance, just find the values that contain 95
of the distribution
55Constructing Confidence Intervals
falls in this region 95 of the time
2.5 of the distribution
2.5 of the distribution
Critical values
Critical values
56Confidence Intervals and Hypothesis Testing
- The critical values are available from a table or
in Matlab - gtgt tinv(.975, n-1)
- If the confidence interval includes zero, then
the sample mean is not statistically different
from the population mean we are testing - One-sided vs. two-sided tests
57Example
- Are the returns on the SP 500 significantly
above zero? - Sample mean .23
- Sample standard deviation .59
- Sample size 128
- Compute the test
- At 95 the critical value is 1.98
- Therefore, we reject that the returns are zero
58Distribution of SP500 Returns
- The direct use of historical data requires the
following assumptions - The true distribution of returns is constant
through time and will not change in the future - Each period represents an independent draw from
this distribution
59Distribution of Stock Returns
60Distribution of Stock Returns
61Distribution of Stock Returns
62Linear Regression (Harvey 1989)
63Harvey 1989
GNP Growth
Spread
64Harvey 1989
Regression Line
GNP Growth
Spread
65Regression
- Minimize the squared residuals
66Regression in Matrix Form
- Regression equation
- Minimize the squared residuals