




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
The solutions to the final exam of the statistics 351 – intermediate probability course offered at the university of california, berkeley in fall 2008.
Typology: Exams
1 / 8
This page cannot be seen from the preview
Don't miss anything!





Statistics 351–Intermediate Probability Fall 2008 (200830) Final Exam Solutions
Instructor: Michael Kozdron
−∞
−∞
fX,Y (x, y) dx dy =
0
∫ (^) y
0
10 xy^2 dx dy =
0
5 y^4 dy = y^5
1
0
Thus, fX,Y is a legitimate density.
fX (x) =
−∞
fX,Y (x, y) dy =
x
10 xy^2 dy =
10 x(1 − x^3 ) 3 ,^0 < x <^1.
E(X) =
−∞
xfX (x) dx =
0
x · 10 x(1^ −^ x
dx =^10 9
fY |X=x(y) = fX,Y^ (x, y) fX (x)
= 10 xy
2 10 x(1−x^3 ) 3
= 3 y
2 1 − x^3
, x < y < 1.
E(Y |X = x) =
−∞
yfY |X=x(y) dy =
x
y · 3 y
2 1 − x^3
dy = 3(1^ −^ x
4(1 − x^3 )
E(Y ) = E( E(Y |X) ) = E
0
3(1 − x^4 ) 4(1 − x^3 )
· 10 x(1^ −^ x
dx =^5 2
0
x − x^5 dx =^5 6
J =
∂x ∂u
∂x ∂v ∂y ∂u
∂y ∂v
∣∣^1 /v^ −u/v
2 0 1
v
By Theorem I.2.1, the joint density of (U, V )′^ is therefore given by
fU,V (u, v) = fX,Y (u/v, v) · |J| = 10uv−^1 v^2 · v−^1 = 10u
provided that 0 < u < v^2 < 1 and v > 0. It then follows that the density function of U is given by
fU (u) =
−∞
fU,V (u, v) dv =
√u^10 u^ dv^ = 10u(1^ −
u)
provided that 0 < u < 1.
fX (x) =
−∞
fX,Y (x, y) dx dy =
−∞
fX|Y =y(x) · fY (y) dy.
Substituting in gives
fX (x) =
0
θyxθ−^1 exp{−yxθ} · a
p Γ(p)
yp−^1 e−ay^ dy = a
p Γ(p)
θxθ−^1
0
yp^ exp
−y(a + xθ)
dy.
Properties of the gamma function imply that ∫ (^) ∞
0
yp^ exp
−y(a + xθ)
dy = Γ(p + 1) · (a + xθ)−(p+1)
so that
fX (x) = a
p Γ(p)
θxθ−^1 · Γ(p + 1) · (a + xθ)−(p+1)^ = p a
p (^) θ xθ− 1 (a + xθ)p+
provided that x > 0 (and using the fact that Γ(p + 1) = pΓ(p).)
fZ (z) = fX (z^1 /θ) · d dz
z^1 /θ^ = p a
p (^) θ z 1 − 1 /θ (a + z)p+^
θ
z^1 /θ−^1 = p a
p (a + z)p+
provided that z > 0.
Solution 1: ( dy dx) We begin by noticing that
P {X < Y } =
{x<y}
fX,Y (x, y) dy dx =
0
x
x 27
exp
− x^ +^ y 3
dy dx
0
x 27 e
−x/ 3
x
e−y/^3 dy dx.
We now find (^) ∫ (^) ∞
x
e−y/^3 dy = 3e−x/^3
which implies that
P {X < Y } =
0
x 9
e−^2 x/^3 dx.
We recognize this as a Gamma function; that is, ∫ (^) ∞
0
x 9
e−^2 x/^3 dx =^1 4
0
4 x 9
e−^2 x/^3 dx =^1 4
0
ue−u^ du =^1 4
Var(Y ) = E(Var(Y |X)) + Var(E(Y |X)).
Since Y |X = x is U (x, 1) we know that E(Y |X = x) = (1 + x)/2 and Var(Y |X = x) = (1 − x)^2 / 12 so that
Var(Y ) = E(Var(Y |X)) + Var(E(Y |X)) = E
Var(X)
Since X is U (0, 1), we know that E(X) = 1/2 and Var(X) = 1/12 so that E(X^2 ) = 1/3. Thus, we conclude that Var(Y ) = 1 12
and common distribution function
F (x) =
∫ (^) x
0
ue−u^ du = 1 − xe−x^ − e−x
for x > 0 (and F (x) = 0 for x ≤ 0) using the integration-by-parts formula given on the first page. Therefore, it follows from Theorem IV.1.2 that the density function of X(1) is
fX(1) (y) = 2(1 − F (y))f (y) = 2ye−y(ye−y^ + e−y) = 2y(y + 1)e−^2 y
provided that y > 0.
fX(2) (y) = 2F (y)f (y) = 2ye−y(1 − ye−y^ − e−y)
provided that y > 0.
fX(1),X(2) (y 1 , y 2 ) = 2f (y 1 )f (y 2 ) = 2y 1 y 2 e−y^1 −y^2
provided that 0 < y 1 < y 2 < ∞.
∂y 1 ∂u
∂y 1 ∂v ∂y 2 ∂u
∂y 2 ∂v
∣∣v^ u 0 1
∣∣ = v.
By Theorem I.2.1, the joint density of (U, V )′^ is therefore given by
fU,V (u, v) = fX(1),X(2) (uv, v) · |J| = 2uv^3 e−uv−v
provided that 0 < u < 1 and 0 < v < ∞.
It now follows that the density function of U is
fU (u) =
−∞
fU,V (u, v) dv =
0
2 uv^3 e−uv−v^ dv = 2u
0
v^3 e−v(u+1)^ dv = 2u · Γ(4)(u + 1)−^4
= 12 u (1 + u)^4
provided that 0 < u < 1 and using properties of the gamma function.
det[ΛΛΛ − λI] = det
3 2 −^ λ^ −
√ 3 2 −
√ 3 2
5 2 −^ λ
2 −^ λ
2 −^ λ
− 34 = λ^2 − 4 λ + 3 = (λ − 1)(λ − 3)
so that the eigenvalues of ΛΛΛ are λ 1 = 1 and λ 2 = 3.
[ΛΛΛ − λ 1 I | 00 0] =
√ 3 2 0 −
√ 3 2
3 2 0
1 2 −
√ 3 2 0 0 0 0
and since λ 2 = 3,
[ΛΛΛ − λ 2 I | 00 0] =
√ 3 2 0 −
√ 3 2 −^
1 2 0
√ 3 2 0 0 0 0
we conclude that eigenvectors for λ 1 and λ 2 are
v 1 =
and v 2 =
respectively. Therefore, the diagonal matrix is
D = diag(λ 1 , λ 2 ) =
λ 1 0 0 λ 2
and the orthogonal matrix is
v 1 ||v 1 ||
v 2 ||v 2 ||
√ 3 2 −^
1 2 1 2
√ 3 2
since ||v 1 || = ||v 2 || = 2.
5 6 −
√ 3 6 −
√ 3 6
1 2
B =
1 /σ 1 −ρ/σ 2 0 1 /σ 2
so that Y = BX. By Theorem V.3.1, Y is MVN with mean
Bμμμ =
1 /σ 1 −ρ/σ 2 0 1 /σ 2
and covariance matrix
BΛΛΛB′^ =
1 /σ 1 −ρ/σ 2 0 1 /σ 2
σ 12 ρσ 1 σ 2 ρσ 1 σ 2 σ^22
1 /σ 1 0 −ρ/σ 2 1 /σ 2
1 − ρ^2 0 1
Mn+1 = S n^3 +1 − 3(n + 1)Sn+1 = (Sn + Yn+1)^3 − 3(n + 1)(Sn + Yn+1) = S n^3 + 3S n^2 Yn+1 + 3SnY (^) n^2 +1 + Y (^) n^3 +1 − 3(n + 1)Sn − 3(n + 1)Yn+ = Mn + 3Sn(Y (^) n^2 +1 − 1) + 3S n^2 Yn+1 − 3(n + 1)Yn+1 + Y (^) n^3 +1.
Thus, we see that we will be able to conclude that {Mn, n = 0, 1 ,.. .} is a martingale if we can show that E
3 Sn(Y (^) n^2 +1 − 1) + 3S^2 nYn+1 − 3(n + 1)Yn+1 + Y (^) n^3 +1|Sn
Now 3 E(Sn(Y (^) n^2 +1 − 1)|Sn) = 3SnE(Y (^) n^2 +1 − 1) and 3 E(S n^2 Yn+1|Sn) = 3S^2 nE(Yn+1)
by “taking out what is known,” and using the fact that Yn+1 and Sn are independent. Furthermore,
3(n + 1)E(Yn+1|Sn) = 3(n + 1)E(Yn+1) and E(Y (^) n^3 +1|Sn) = E(Y (^) n^3 +1)
using the fact that Yn+1 and Sn are independent. Since E(Yn+1) = 0, E(Y (^) n^2 +1) = 1, and E(Y (^) n^3 +1) = 0, we see that
E(Mn+1|Mn) = Mn + 3SnE(Y (^) n^2 +1 − 1) + 3S n^2 E(Yn+1) − 3(n + 1)E(Yn+1) + E(Y (^) n^3 +1) = Mn + 3Sn · (1 − 1) + 3S n^2 · 0 − 3(n + 1) · 0 + 0 = Mn
which proves that {Mn, n = 0, 1 , 2 ,.. .} is, in fact, a martingale.
E(ST ) = −aP (ST = −a) + bP (ST = b) = −a[1 − P (ST = b)] + bP (ST = b)
we see that −a[1 − P (ST = b)] + bP (ST = b) = 0
which solving for P (ST = b) gives P (ST = b) =
a a + b as required.
E(S^2 T ) = (−a)^2 P (ST = −a) + b^2 P (ST = b) = a^2
1 − a a + b
a a + b
= ab
using our result from (a), we conclude that
E(T ) = ab
as required.
P (T 1 ≥ 2) = P (X 2 ≤ 1) = P (X 2 = 0) + P (X 2 = 1) = e
= 3e−^2
using the fact that X 2 ∈ Po(2).
P (X 4 ≥ 3) = 1 − P (X 4 < 3) = 1 − P (X 4 = 0) − P (X 4 = 1) − P (X 4 = 2)
= 1 − e
− e
− e
= 1 − 13 e−^4.