














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Discrete random variable: A random variable that can only take finitely many or countably many possible values. • Distribution: Let {x1,x2,.
Typology: Slides
1 / 22
This page cannot be seen from the preview
Don't miss anything!















Chapter 3. Discrete Random Variables
Review
Discrete random variable:
A random variable that can only take finitely
many or countably many possible values.
Distribution: Let
x 1 , x
2 ,...
be the possible values of
. Let
x i ) =
p i ,
where
p i ≥
0 and
i
p i = 1
Graphic description: (1) probability function
p i } , (2) cdf
Tabular form:
x i x 1 x 2
p ( x
i )
p 1
p 2
· · ·
Theorem
: Consider a function
h
and random variable
h ( X
). Then
h ( X
)] =
∑ i h ( x i
x i )
Corollary: Let
a, b
be real numbers. Then
aX
(^) b ] =
aEX
b .
Corollary: Consider functions
h 1 ,... , h
k
. Then
h
1 ( X
) +
(^) h
k ( X
)] =
h 1 ( X
)] +
h k ( X
)] .
Variance (“
σ 2 ”) and Standard deviation (“
σ ”):
Var[
2 ] ,^
Std[
Var
Example (interpretation of variance): A random variable
a ) = 1
a ) = 1
Examples
ON HER BEAUTIFUL RED HAT.
denote the number of letters in the
word that is selected.
with mean
μ
and standard deviation
σ
. Its
standardization is
μ
σ
What is the mean, variance, and standard deviation of
end of year, its price
has the following distribution.
10
6 10 20
1 / 3 1 / 3
1 / 3
2
0 0 6
1 / 3 1 / 3
1 / 3
Stock price
Option
S
( S − (^) 14)
A stock call option is priced at $2 today, with payoff (
. You have
portfolio at the end of the year while the expected return is at least 20%.in total $10K for investment. The goal is to minimize the variance of your
Example
n
times. Number of heads? Number of tails?
probability 0.002 of failure.
At least 2 operating engines needed for a
successful flight. Probability of an unsuccessful flight? (Approx. 3
− 7 )
n
times, and get
k
heads. Given this, what is the probability
that the first toss is heads?
Some comments on random sampling
the Republican. Is its distributionRandomly sample 3 members of the family. The number of those support
those support the Republican. Is its distributionDemocrat. Randomly sample 3 members of the population. The number of
Remark
: Unless specified, the size of population is always much larger com-
cally distributed. (This comment applies to general random sampling).pared to the sample size. Samples can be regarded as independent and identi-
Estimating
p : very preliminary discussion
Illustrative example.
Pick a random sample of
n
= 100 Americans, and
is the number of people support Republican.
What is your estimate for the
Comment. Denote the quantity we wish to estimate bypercentage of the population that support Republican?
p
. It is a fixed num-
ber.
has distribution
(^) p ).
A natural estimate is to use the sample
percentage
ˆp
.
ˆp is a random variable. (If
happens to be 50, ˆ
p takes value 0
happens
to be 52, ˆ
p
takes value 0
52, etc).
(^) ˆp
=
p,
Var[ˆ
p ] =
p (
p )
n
ˆp
is unbiased and consistent (more on these later).
Maximum likelihood estimate (MLE)
Consider the same example with sample size
n , and
is the number of people
support Republican. Then
is
B
( n ; (^) p ).
MLE: Suppose
k
. What value of
p
makes the actual observation (
k )
Solution:most likely?
Maximizing (with respect to
p )
k ) =
k n
)
p k (
(^) −
p ) n − k.
amounts to maximizing
k ln (^) p (^) + (
n
−
(^) k ) ln(
p ). Check that it is maximized
at
p
=
k/n
. The MLE is
n X
.
Remark. In general, MLE is not unbiased but consistent. More on MLE later.
Expectation and Variance of Geometric Distribution
Theorem. Suppose a random variable
is geometrically distributed with prob-
ability of success
p
. Then
p 1 ,
Var[
p
p 2
Proof. Direct computation.
Examples
is a geometric random variable with prob-
ability of success
p
. Then for any
n
and
k ,
X > n
(^) k
| X > n
X > k
value 7 appears before a sum of face value 4?
Poisson distribution
Poisson random variable. A random variable
takes values in
such that
k ) =
e − λ (^) λ k
k ! (^).
We say
has Poisson distribution with parameter
λ .
Answer:
Limit of
Binomial distributions
n ; (^) p ) with
np
λ , as
n
→ ∞
Remark: Poisson approximation of Binomial
n ; (^) p ) when
n
big,
p
small,
and
λ
=
np <
Consider a unit time interval, andAnother story
the number of certain events that occur
n
intervals of equal length.
s
(small),
(^) (1 event occurs)
λs
(^) (more than 1 event occurs)
(^) (0 event occurs)
(^) λs.
n ; (^) λ/n
n
go to infinity.