In: Statistics and Probability
Let X be a continuous random variable with pdf: f(x) = ax^2 − 2ax, 0 ≤ x ≤ 2
(a) What should a be in order for this to be a legitimate p.d.f?
(b) What is the distribution function (c.d.f.) for X?
(c) What is Pr(0 ≤ X < 1)? Pr(X > 0.5)? Pr(X > 3)?
(d) What is the 90th percentile value of this distribution? (Note: If you do this problem correctly, you will end up with a cubic equation that you need to solve. You may solve it numerically.)
(e) What are the mean and variance of this distribution?
f(x) = ax2 - 2ax ; 0 x 2
(a) Here for being a legitimate pdf
= 1
=1
[ax3/3 - ax2]20 = 1
[8a/3 - 4a] = 1
a (8/3 - 4) = 1
a (-4/3) = 1
a = -3/4
(b) so here
f(x) = 3x/2 - 3x2/4
cdf for F(x) =
= [3x2/4 - 3x3/12] x0
= 3x2/4 - x3/4
F(x) = -(x-3)x2 /4
(c) Pr(0 x 1) =
= (3x2/2 - 3x3/12)10
= 0.5
P(x > 0.5) =
= (3x2/2 - 3x3/12)20.5
= 0.84375
Pr(x > 3) = 0
(d) Here let say 90 percentile of this distribution
0.9 = F(x0)
0.9 = -(x-3)x2 /4
3.6 = -x3 + 3x2
by solving x = 1.6084
(e) Here E[X] =
=
E{X] = 1
VaR[X} = E[X2] - E{X]2
E[X2] =
=
= 1.2
VaR[X[ = 1.2 - 12 = 0.2