Solved Problems on Random Samples - Assignment 9 | STAT 400, Assignments of Probability and Statistics

Material Type: Assignment; Class: APPLIED PROB & STAT I; Subject: Statistics and Probability; University: University of Maryland; Term: Unknown 1989;

Typology: Assignments

Pre 2010

Uploaded on 07/30/2009

koofers-user-z1u
koofers-user-z1u 🇺🇸

5

(1)

10 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Stat 400 HW 9 Solutions
TA: Emily King
1. (Book # 11) See the solutions manual.
2. (Book # 13) See the solutions manual.
3. (Book # 22) Consider a random sample taken from the pdf
f(x;θ) =
(θ+ 1) xθ0x1
0 o.w.
(a) We use the method of moments to find a point estimator for θ.
µX=E(X) = Z1
0
(θ+ 1) dx
=θ+ 1
θ+ 2x(θ+2)|1
0
=θ+ 1
θ+ 2
Now solve for θ:
(θ+ 2) µX=θ+ 1
θ(µX1) = 1 2µX
θ=2µX1
1µX
So set ˆ
θ=2X1
1X. Plugging in the data, we get
x=1
10(.92 + .79 + . . . +.77) = .8,
obtaining the point estimate ˆ
θ=2(.8)1
1.8= 3.
(b) We now find the maximum likelihood estimator. The joint pdf of a
random sample from our given pdf is
f(x1, x2, . . . , xn;θ) =
n
Y
i=1
f(xi;θ)
=(θ+ 1) xθ
1(θ+ 1) xθ
2· · · (θ+ 1) xθ
n
= (θ+ 1)n(x1x2· · · xn)θ
pf3
pf4

Partial preview of the text

Download Solved Problems on Random Samples - Assignment 9 | STAT 400 and more Assignments Probability and Statistics in PDF only on Docsity!

Stat 400 HW 9 Solutions TA: Emily King

  1. (Book # 11) See the solutions manual.
  2. (Book # 13) See the solutions manual.
  3. (Book # 22) Consider a random sample taken from the pdf

f (x; θ) =

(θ + 1) xθ^0 ≤ x ≤ 1 0 o.w. (a) We use the method of moments to find a point estimator for θ.

μX = E(X) =

0

(θ + 1) dx

= θ^ + 1 θ + 2 x(θ+2)|^10

= θ + 1 θ + 2 Now solve for θ:

(θ + 2) μX = θ + 1

⇒ θ(μX − 1) = 1 − 2 μX

⇒ θ = 2 μX − 1 1 − μX So set θˆ = (^12) −XX^1. Plugging in the data, we get

x =

10 (.92 +^ .79 +^...^ +^ .77) =^.^8 ,

obtaining the point estimate θˆ = 2( 1 .−8).− 8 1 = 3.

(b) We now find the maximum likelihood estimator. The joint pdf of a random sample from our given pdf is

f (x 1 , x 2 ,... , xn; θ) =

∏^ n i=

f (xi; θ)

=

[

(θ + 1) xθ 1

] [

(θ + 1) xθ 2

]

[

(θ + 1) xθn

]

= (θ + 1)n^ (x 1 x 2 · · · xn)θ

This is our likelihood function. Our loglikelihood function is then

ln [f (x 1 , x 2 , hdots, xnθ)] = n ln(θ + 1) + θ ln(

∏^ n x=

xi).

Differentiating with respect to θ, we obtain d dθ ln [f^ (x^1 , x^2 , hdots, xnθ)] =^

n θ + 1 + ln(

∏^ n x=

xi)

Setting the derivative equal to zero, we get

0 = n θ + 1

  • ln(

∏^ n x=

xi)

ln( ∏n x=1 xi) n

θ + 1 ⇒ θ + 1 = −n ln( ∏n x=1 xi) ⇒ θ = −n ln(

∏n x=1 xi)^

Since d^2 dθ^2 ln [f (x 1 , x 2 , hdots, xnθ)] = d dθ

n θ + 1

  • ln(

∏^ n x=

xi)

−n (θ + 1)^2 < 0.

So, by the second derivative test, ˆθ = (^) ln(Q−nx=1n xi) − 1 is the MLE. Plugging in the values, we obtain θˆ ≈ 3 .116.

  1. (WS # 4)

(a) ∫ f (x; θ)dx =

− 1

3 θx^2 dx +

0

3(1 − θ)x^2 dx

= θx^3 |^0 − 1 + (1 − θ)x^3 |^10

= θ + (1 − θ)

= 1

Also since θ > 1 > 0, f (x; θ) ≥ 0. Thus f is a pdf.

(a) ∫ f (x; θ)dx =

0

θ − 1 xθ^ dx

= lim b→∞

∫ (^) b

1

θ − 1 xθ^ dx

= lim b→∞

θ − 1 θ − 1 x−θ+1|b 1

= lim b→∞ −x^1 −θ^ |b 1

= lim b→∞ −b^1 −θ^ − (− 11 −θ^ )

= 0 − (−1)

= 1

Since θ > 1, θ x−θ^1 > 0 for x ≥ 1. So f is a pdf.

(b) Likelihood function:

f (x 1 ,... xn; θ) =

θ − 1 xθ 1

θ − 1 xθ 2

θ − 1 xθn

xi ≥ 1

= (θ − 1)n (x 1 x 2 · · · x 3 )θ^ xi ≥ 1

So the loglikelihood function is

ln f (x 1 ,... xn; θ) = n ln(θ − 1) − θ ln(x 1 x 2 · · · x 3 ) xi ≥ 1

Differentiating with respect to θ, we obtain d dθ ln f (x 1 ,... xn; θ) = n θ − 1 − ln(x 1 x 2 · · · x 3 ) xi ≥ 1

Setting the deriv equal to zero, we get n θ − 1 = ln(x^1 x^2 · · ·^ x^3 )^ xi^ ≥^1 ⇒ 1 + n ln(x 1 x 2... xn) =^ θ By the second derivative test d^2 dθ^2 ln f (x 1 ,... xn; θ) = −n (θ − 1)^2

, so this value is a maximum. The MLE is θˆ = 1 + (^) ln(X 1 Xn 2 ...Xn). (c) Plugging in the values from the worksheet, we get θˆ ≈ 2 .954.