

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Economics 671 Problem Set # Univariate Probability
(1) Casella and Berger, 2.24:
Compute E(x) and Var(X) for each of the following probability distributions (a) f (x) = axa−^1 , 0 < x < 1 , a > 0. (b) f (x) = (^) n^1 , x = 1, 2 , · · · , n where n is an integer.
(Note: for (b), this is just the discrete uniform distribution over the first n integers. You will need to look up the formulas for the sum of the first n integers, and the sum of the first n integers squared).
(2) Casella and Berger, 1.52:
Let X be a continuous random variable with pdf f (x) and cdf F (x). For a fixed point x 0 with F (x 0 ) < 1, define the function
g(x) =
{ (^) f (x)/[1 − F (x 0 )]^ for^ x^ ≥^ x 0 0 otherwise.
Show that g(x) is a valid p.d.f. (Note that this procedure is how we calculate the density associated with truncated random variables).
(3) Consider the following density function:
f (x) = x exp(−x), x > 0.
Find the moment generating function of this density and use it to compute the first and second moments of x.
Hint: You will need to use the calculus formula for integration by parts: ∫ (^) b a
udv = uv|ba −
∫ (^) b a
vdu.
(4) Casella and Berger, 2.32:
Let MX (t) be the moment generating function of X and define S(t) = log MX (t). Show that
∂ ∂t S(t)
t=
and ∂^2 ∂t^2 S(t)
t=
= Var(X).
(5) Suppose that a couple decides to continue having children until they have a girl (and then stop). What is the expected number of chidren that this couple will have, assuming that the births are independent events, and that a boy and girl child are equally likely outcomes? (Hint: You will need to make use of a formula for the sum of an infinite geometric series).
(6) Getting started in MATLAB.
Using MATLAB, provide plots of the two densities:
(a) the double exponential: f (x) = 12 exp(−|x|), −∞ < x < ∞. (b) the lognormal: f (x) = √^1 2 πx
exp(−(1/2)[log(x)]^2 ) 0 < x < ∞.
For each case, pick a suitable range over which to plot the densities. Attach a graph and your computer program with your completed problem set.