Docsity

mathmatical statistics test, Exams of Mathematical finance

Toggle sidebar
bg1
Solutions to Mathematical Statistics (II)
Midterm Exam.
Oct. 22, 2018
1.(50) Let X1,···, X25 be r.s. from N(µ, 1). Consider a test of size α= 0.05
for testing H0:µ= 0 vs H1:µ > 0. Compute power of the test when
µ= 0.329 (Hint : z.05 = 1.645).
(Sol) Under H0,Z=¯
X−µ
σ/√n=¯
X
1/√25 ∼N(0,1), and we reject if Z > z.05 =
1.645. Now, the power at µ= 0.329 is P(¯
X
0.2>1.645) = P(¯
X−0.329
0.2>1.645 −
0.329
0.2) = P(Z > 1.645 −1.645) = 0.5.
2.(180) Let X∼Exp(λ), i.e., the pdf of Xis f(x) = 1
λe−x/λI(x > 0).
(1)(40) Find the pdf of T= 1 −e−x/λ.
(Sol) The inverse function is x=−λlog(1 −t), and Jacobian is λ/(1 −t).
Hence the pdf of Tis g(t) = f(−λlog(1 −t))|J|=I(0 <t<1).
(2)(50) Let X1,···, Xnbe r.s. from Exp(λ), and Y1<·· · < Ynbe the order
statistics of X0
is. Let W1=nY1, W2= (n−1)(Y2−Y1), W3= (n−2)(Y3−
Y2),·· · , Wn=Yn−Yn−1. Show that W1, W2,· · · , Wnare iid Exp(λ).
(Sol) The inverse functions are y1=1
nw1, y2=1
nw1+1
n−1w2,·· · , yn=
1
nw1+1
n−1w2+·· · +wn, and |J|= 1/n!. Hence, the jpdf of W1,···, Wnis
g(w1,·· · , wn) = f(1
nw1,1
nw1+1
n−1w2,·· ·)/n! = n!λ−ne−Pwi/λ /n! = Q1
λe−wi/λ.
(3)(50) Show that 2 Pn
i=1 Wi/λ ∼χ2(r), and find r.
(Sol) Note that Wi= Γ(1, λ), so that V≡PWi∼Γ(n, λ). Let Z= 2V/λ,
i.e., v=λz/2, and |J|=λ/2. Hence, the pdf of Zis g(z) = f(λz/2)|J|=
z
2n
2
−1e−z/2
Γ( 2n
2)22n/2∼χ2(2n).
(4)(40) Using the result of (3), find 100(1 −α)% C.I. for λ.
(Sol) Since 2v/λ ∼χ2(2n), we have 1 −α=P(χ2
1−α
2≤2v
λ≤χ2
α
2). Hence,
100(1 −α)% C.I. for λis (2v/χ2
α
2,2v/χ2
1−α
2).
3.(90) Let X1,··· , X10 be r.s. from P oisson(θ).
(1)(50) Consider a test H0:θ= 0.2 vs H1:θ > 0.2. Find a randomized test
of size α= 0.05. (When Y∼P oisson(2), P (Y≤4) = 0.947, P (Y≤5) =
0.983).
(Sol) Note that Y=P10
i=1 Xi∼P oisson(2), and P(Y≥5) = 0.053, P (Y≥
−1−
pf3

Partial preview of the text

Download mathmatical statistics test and more Exams Mathematical finance in PDF only on Docsity!

Solutions to Mathematical Statistics (II)

Midterm Exam.

Oct. 22, 2018

1.(50) Let X 1 , · · · , X 25 be r.s. from N (μ, 1). Consider a test of size α = 0. 05 for testing H 0 : μ = 0 vs H 1 : μ > 0. Compute power of the test when μ = 0.329 (Hint : z. 05 = 1.645).

(Sol) Under H 0 , Z = (^) σ/X¯−√μn = (^1) /X√¯ 25 ∼ N (0, 1), and we reject if Z > z. 05 =

1 .645. Now, the power at μ = 0.329 is P ( 0 X¯. 2 > 1 .645) = P ( X¯− 00 .. 2329 > 1. 645 −

  1. 329
  2. 2 ) =^ P^ (Z >^1.^645 −^1 .645) = 0.5.

2.(180) Let X ∼ Exp(λ), i.e., the pdf of X is f (x) = (^1) λ e−x/λI(x > 0). (1)(40) Find the pdf of T = 1 − e−x/λ. (Sol) The inverse function is x = −λlog(1 − t), and Jacobian is λ/(1 − t). Hence the pdf of T is g(t) = f (−λlog(1 − t))|J| = I(0 < t < 1). (2)(50) Let X 1 , · · · , Xn be r.s. from Exp(λ), and Y 1 < · · · < Yn be the order statistics of X i′ s. Let W 1 = nY 1 , W 2 = (n − 1)(Y 2 − Y 1 ), W 3 = (n − 2)(Y 3 − Y 2 ), · · · , Wn = Yn − Yn− 1. Show that W 1 , W 2 , · · · , Wn are iid Exp(λ). (Sol) The inverse functions are y 1 = (^1) n w 1 , y 2 = (^) n^1 w 1 + (^) n−^11 w 2 , · · · , yn = 1 n w^1 +^

1 n− 1 w^2 +^ · · ·^ +^ wn, and^ |J|^ = 1/n!. Hence, the jpdf of^ W^1 ,^ · · ·^ , Wn^ is g(w 1 , · · · , wn) = f ( (^) n^1 w 1 , (^1) n w 1 + (^) n−^11 w 2 , · · ·)/n! = n!λ−ne−^

∑ (^) wi/λ /n! = ∏^ λ^1 e−wi/λ. (3)(50) Show that 2 ∑ni=1 Wi/λ ∼ χ^2 (r), and find r. (Sol) Note that Wi = Γ(1, λ), so that V ≡ ∑^ Wi ∼ Γ(n, λ). Let Z = 2V /λ, i.e., v = λz/2, and |J| = λ/2. Hence, the pdf of Z is g(z) = f (λz/2)|J| = z 22 n −^1 e−z/^2 Γ( 22 n )2^2 n/^2 ∼^ χ

(^2) (2n).

(4)(40) Using the result of (3), find 100(1 − α)% C.I. for λ. (Sol) Since 2v/λ ∼ χ^2 (2n), we have 1 − α = P (χ^21 − α 2 ≤ (^2) λv ≤ χ^2 α 2 ). Hence, 100(1 − α)% C.I. for λ is (2v/χ^2 α 2 , 2 v/χ^21 − α 2 ).

3.(90) Let X 1 , · · · , X 10 be r.s. from P oisson(θ). (1)(50) Consider a test H 0 : θ = 0.2 vs H 1 : θ > 0 .2. Find a randomized test of size α = 0.05. (When Y ∼ P oisson(2), P (Y ≤ 4) = 0. 947 , P (Y ≤ 5) = 0 .983). (Sol) Note that Y = ∑^10 i=1 Xi ∼ P oisson(2), and P (Y ≥ 5) = 0. 053 , P (Y ≥

  1. = 0.017. Let W ∼ B(1, p) with P (W = 1) = (^) .. 05305 −−.^017. 017. Then, a randomized test of size α = 0.05 is rejecting H 0 if either {Y ≥ 6 } or {Y = 5 & W = 1}. (2)(40) Find p-value when X¯ = 0.6. (Sol) P ( X¯ ≥ 0 .6) = P (Y ≥ 6) = 1 − P (Y ≤ 5) = 0. 017

4.(50) Let X 1 , · · · , Xn be r.s. from U (θ, 1), θ > 0. Find the MLE of θ. (Sol) The likelihood is L(θ) = ∏(1 − θ)−^1 I(θ ≤ Xi ≤ 1) = (1 − θ)−nI(θ ≤ X(1)). Now, (1 − θ)−n^ is maximized at X(1) when 0 ≤ θ ≤ X(1).

5.(50) Let X 1 , · · · , Xn be r.s. from U (θ − 0. 5 , θ + 0.5). Find the MLE of θ. (Sol) The likelihood is L(θ) = ∏^ I(θ − 0. 5 ≤ Xi ≤ θ + 0.5) = I(θ − 0. 5 ≤ X(1) ≤ X(n) ≤ θ + 0.5) = I(X(n) − 0. 5 ≤ θ ≤ X(1) + 0.5). Hence, the MLE of θ is any value between X(n) − 0 .5 and X(1) + 0.5.

6.(80) Let X 1 , · · · , Xn be r.s. from a distribution with pdf f (x; θ), θ ∈ R^1. Let Yi = ∂logf (Xi; θ)/∂θ, Zi = ∂^2 logf (Xi; θ)/∂θ^2 , i = 1, · · · , n. (1)(40) Show that

n( Y¯ − k 1 ) converges in distribution to N (0, k 2 ), and find k 1 and k 2. (Sol) By the CLT, k 1 = E(Y 1 ) = 0 and V ar(Y 1 ) = I(θ). (2)(40) Show that Z¯ converges in probability to k 3 , and find k 3. (Sol) By the WLLN, k 2 = E(Z 1 ) = −I(θ).