Docsity

Solutions to Statistics 116 - Fall 2004 Final Exam: Theory of Probability, Exams of Probability and Statistics

Toggle sidebar
bg1
Statistics 116 - Fall 2004
Theory of Probability
Final Exam, December 10th, 2004
Solutions
Instructions: Answer Q. 1-6. All questions have equal weight. The exam is
open book. In addition, you are allowed a maximum of 3 pages of handwritten
notes.
Q. 1) Let Xbe a continuous random variable with density function
fX(x) = 4
3๎˜x
3๎˜‘3exp ๎˜€โˆ’(x/3)4๎˜, x โ‰ฅ0
for constants ฮฑ, ฮฒ > 0.
(a) Compute hX(x), the hazard rate function of X.
(b) Compute
P(X > 4|X > 3).
Solution:
(a) By definition
hX(x) = fX(x)
1โˆ’FX(x)
and
1โˆ’FX(x) = Zโˆž
x
fX(t)dt
=Zโˆž
x
4
3๎˜’t
3๎˜“3
exp ๎˜€โˆ’(t/3)4๎˜dt
=โˆ’exp(๎˜€โˆ’(t/3)4๎˜)๎˜Œ๎˜Œ๎˜Œ๎˜Œ
โˆž
x
= exp(๎˜€โˆ’(x/3)4๎˜)
Therefore,
hX(x) =
4
3๎˜€x
3๎˜3exp ๎˜€โˆ’(x/3)4๎˜
exp((โˆ’(x/3)4)) =4
3๎˜x
3๎˜‘3.
1
pf3
pf4
pf5

Partial preview of the text

Download Solutions to Statistics 116 - Fall 2004 Final Exam: Theory of Probability and more Exams Probability and Statistics in PDF only on Docsity!

Statistics 116 - Fall 2004

Theory of Probability

Final Exam, December 10th, 2004

Solutions

Instructions: Answer Q. 1-6. All questions have equal weight. The exam is open book. In addition, you are allowed a maximum of 3 pages of handwritten notes.

Q. 1) Let X be a continuous random variable with density function

fX (x) =

( (^) x 3

exp

โˆ’(x/3)^4

, x โ‰ฅ 0 for constants ฮฑ, ฮฒ > 0. (a) Compute hX (x), the hazard rate function of X. (b) Compute P (X > 4 |X > 3). Solution: (a) By definition hX (x) = fX (x) 1 โˆ’ FX (x) and 1 โˆ’ FX (x) =

x

fX (t) dt

x

t 3

exp

โˆ’(t/3)^4

dt

= โˆ’ exp(

โˆ’(t/3)^4

โˆž

x = exp(

โˆ’(x/3)^4

Therefore,

hX (x) =

4 3

( (^) x 3

exp

โˆ’(x/3)^4

exp((โˆ’(x/3)^4 ))

=^4

( (^) x 3

Q. 2) Let X โˆผ Geometric(p) be a Geometric random variable.

(a) Show that P (X > n) = (1 โˆ’ p)n. Hint: use the fact that

j=0 p(1^ โˆ’^ p) jโˆ’ (^1) = 1. (b) Show that X has the following memoryless property: For any integers n and m, with n > m P (X > n|X > m) = P (X > n โˆ’ m).

Solution:

(a) P (X > n) = P (first n trials were failures) = (1 โˆ’ p)n. (b) For n > m

P (X > n|X > m) = P (X > n, X > m) P (X > m) = P^ (X > n) P (X > m) = (1 โˆ’ p)n (1 โˆ’ p)m = (1 โˆ’ p)nโˆ’m = P (X > n โˆ’ m).

Q. 4) The joint density function of X and Y is given by

f (x, y) = eโˆ’yx (^2) / 2 โˆš 2 ฯ€/y

ยท yeโˆ’y^ , โˆ’โˆž < x < โˆž, y > 0.

(a) Find the conditional density fX|Y (x|y) of X given Y = y. (b) Compute E(X|Y ). (c) Compute Var(X|Y ). (d) Compute Var(X). Solution: (a) By inspection, it is not hard to see that

fY (y) = yeโˆ’y^ , y โ‰ฅ 0

and fX|Y (x|y) = eโˆ’yx (^2) / 2 โˆš 2 ฯ€/y is a Normal density with mean 0 and variance 1/y. Or,

X|Y = y โˆผ N (0, 1 /y).

(b) As the conditional distribution is N (0, 1 /Y )

Var(X|Y ) = 1/Y.

(c) As the conditional distribution is N (0, 1 /Y )

E(X|Y ) = 0.

(d) Similarly, Var(X|Y ) = 1/Y. (e) Var(X) = E(Var(X|Y )) + Var(E(X|Y )) = E(1/Y ) + Var(0)

=

0

y yeโˆ’y^ dy

=

0

eโˆ’y^ dy

=

0

eโˆ’y^ dy

= 1.

Q. 5) Suppose that X and Y are independent Exp(ฮป) random variables and let

Z =

X

X + Y

Show that, for 0 < z < 1

FZ (z) = P (Z โ‰ค z) = z,

i.e. the random variable Z is uniformly distributed over (0, 1). Hint: express FZ (z) as a double integral. Solution: For 0 < z < 1 P (Z โ‰ค z) = P (X/(X + Y ) โ‰ค z) = P (X โ‰ค Xz + Y z) = P (X(1 โˆ’ z)/z โ‰ค Y )

= P ((X, Y ) โˆˆ {(x, y) : x(1 โˆ’ z)/z โ‰ค y}) =

0

x(1โˆ’z)/z

ฮปeโˆ’ฮปy^ dy

ฮปeโˆ’ฮปx^ dx

0

eโˆ’ฮปx(1โˆ’z)/z^ ฮปeโˆ’ฮปx^ dx

=

0

ฮปeโˆ’ฮปx/z^ dx

= z.