Docsity

STAT 710 2006 Final Exam Solutions - Probability and Statistics, Exams of Mathematical Statistics

Toggle sidebar
bg1
STAT 710 2006 Final Exam Suggested Solution
Department of Statistics, University of Wisconsin
May 10, 2007
Problem 1
(a)
p(jx) = p(xj)()
p(x)_p(xj)()
_xee
=xe(
1+)1
Hence jxx+ 1;
1+:
(b) The Bayesian estimator of e3is
B(x) = Ee3jX=x
=Z1
0
e3p(jx)d
=Z1
0
e31
(x+ 1)
1+x+1 xe(
1+)1
d
=1 +
1+4x+1
:
(c) Let Fprior and Fpost denotes the cdf of (1; ) and x+ 1;
1+respectively. Then the Bayes factor is
=Fpost (1) =[1 Fpost (1)]
Fprior (1) =[1 Fprior (1)] :
(d)
p(jx= 0) = 1
(1)
1+e(
1+)1
=1 +
e(
1+)1
;
which is strictly decreasing in 2(0;1):So the 1 HPD credible set is [0; b];where bis dened by
Zb
0
1 +
e(
1+)1
d = 1 ;
i.e., b=
1+log :
1
pf3
pf4
pf5

Partial preview of the text

Download STAT 710 2006 Final Exam Solutions - Probability and Statistics and more Exams Mathematical Statistics in PDF only on Docsity!

STAT 710 2006 Final Exam Suggested Solution

Department of Statistics, University of Wisconsin

May 10, 2007

Problem 1

(a)

p (jx) =

p (xj)  ()

p (x)

_ p (xj)  ()

_ 

x e  e 

x e

1

Hence jx 

x + 1; (^) 1+

(b) The Bayesian estimator of e 3  is

B (x) = E

e 3  jX = x

Z 1

0

e 3  p (jx) d

Z 1

0

e

(x + 1)

1+

x+1 

x e

1 d

x+

:

(c) Let Fprior and Fpost denotes the cdf of (1; ) and

x + 1; (^) 1+

respectively. Then the Bayes factor is

Fpost (1) = [1 Fpost (1)]

Fprior (1) = [1 Fprior (1)]

(d)

p (jx = 0) =

1+

 (^) e(^ 1+^ )

1

e

1 ;

which is strictly decreasing in  2 (0; 1 ) : So the 1 HPD credible set is [0; b] ; where b is de ned by

Z (^) b

0

e

1 d = 1 ;

i.e., b = 1+ log :

Problem 2

(a) De ne V = 1 10

X^20

i=

Xi: Then Y; V  N

10

and Y? V ,Z = 1 2

(Y + V ) :

Now

P [Y  y; Z  zjN = 20] = P [Y  y; Z  zjY  5]

P [5  Y  y; Z  z]

P [Y  5]

P [5  Y  y; Z  z] = P [5  Y  y; Y + V  2 z]

Z (^) y

5

Z (^2) zs

pY (s) pV (v) dvds

Z (^) y

5

pY (s) V (2z s) ds

2 P [5  Y  y; Z  z]

@z@y

= 2 pY (y) pV (2z y)

@^2 P [Y  y; Z  zjN = 20]

@z@y

2 pY (y) pV (2z y)

P [Y  5]

(^1) (5; 1 ) (y) :

Note that 2pY (y) pV (2z y) is the density of (Y; Z) ; which has

N

1 10

1 20 1 20

1 20

distribution.

The distribution of (Y; Z) given N = 20 is the above bivariate normal distribution truncated at Y  5

(b) Conditional on N = 10; Y = Z = 1 10

X^10

i=

Xi: The conditional distribution of (Y; Z) given N = 10 has density

f (y; z) =

pY (y) P [Y <5] 1 (1;5)^ (y) 1fy=zg^ w.r.t. the Lebesgue measure on the line^ f(x; y) :^ x^ =^ yg^ on the plane. So (N; Y; Z) has the joint density

p (n; y; z)

2 pY (y) pV (2z y)

P [Y  5]

(^1) (5; 1 ) (y) P [Y  5]

 (^1) f 20 g(n)  pY (y)

P [Y < 5]

(^1) (1;5) (y) 1fy=zgP [Y < 5]

 (^1) f 10 g(n)

2 pY (y) pV (2z y) 1(5; 1 ) (y)

f 20 g(n)^

pY (y) 1(1;5) (y) 1fy=zg

f 10 g(n)

w.r.t. the - nite measure 

2

  •  2 (x = y)

on f 10 ; 20 g  R 2 ; where  is the counting measure,  2 is the

Lebesgue measure on R^2 , and  2 (x = y) is the Lebesgue measure on the line f(x; y) : x = yg of the plane.

(c)

l () = log p (n; y; z)

= (^1) f 20 g (n) [log 2 + log pY (y) + log pV (2z y)] + 1f 10 g (n) [log pY (y)]

dl ()

d

= (^1) f 20 g (n)

d log pY (y)

d

d log pV (2z y)

d

  • 1f 10 g (n)

d log pY (y)

d

Since pY (t) = pV (t) = p^1 2  101

exp

n 5 (t )

2

o ;

d log pY (y)

d

= 10 (y )

d log pV (2z y)

d

= 10 (2z y )

(d) Consider test H 0 :  >  0 v.s. H 1 :    0 : The UMP test is

T (X) =

1 ; if X 2 < c; 0 ; if X 2  c:

where c is determined by P 0

X

2 < c

= : I.e.,

P 0

p c < X <

p c

P 0

X <

p c

While

P 0

X <

p c

Z pc

2 0 +^ x

2

 dx =

Z

pc  0

 (1 + t^2 )

dt

arctan

 p c

 0

Hence

arctan

 p c

 0

c ( 0 ) = 

2 0 tan

2

Now

A ( 0 ) =

X

2

c ( 0 ) =

n X 2

 2 0 tan

2

o

jXj

tan

C (X) = 0 ;

jXj

tan

Problem 4.

First we get:

f (x) = 

n exp

X^ n

i=

xi

x(1)

l () = log f (x) = n log  nX

s () =

d log f (x)

d

n



nX

I () = E

d 2 log f (x)

d

2

n



2

It is easy to see that the MLE for  is b = 1 X

(a) Likelihood ration test:

n 0 exp

X^ n

i=

xi

b n exp

b

X^ n

i=

xi

n 0 exp

X^ n

i=

xi

1 X

n exp fng

A ( 0 ) =

n 0 e

 0 nx  1 X

n en

 e

X (^12) ; 2

C (X) =

n enx  1 X

n en

 e

X (^12) ; 2

n e nx 

X

n

e n e

X (^12) ; 2

(b) Wald's test:

A ( 0 ) =

n b  0

I

b

b  0

 X

2 1 ;

o

X

n  1 X

 2  X^

2 1 ;

X

X 12 ;

nX

2

C (X) =

X

X

2 1 ;

nX

2

X

s X (^12) ;

n

A ;

X

s X (^12) ;

n

A

(c) Rao's score test:

A ( 0 ) =

n s ( 0 ) I ( 0 )

1 s ( 0 )  X 2 1 ;

o

n

 0

nX

2 0 n

 X

2 1 ;

1 X 0

X

2 1 ; n

C (X) =

1 X

X

2 1 ; n

X

s X 2 1 ; n

A ;

X

s X 2 1 ; n

A