Professional Documents
Culture Documents
Solutions 2010-10-28 Midterm Statistics Bocconi
Solutions 2010-10-28 Midterm Statistics Bocconi
Problem 1 (13 points). Let (X, Y ) be a random vector having the joint density function
(X,Y )
f (x, y) = K()I[ , 3 ] (x)I[ 1 , 3 ] (y), > 1.
2 2 2 2
therefore, K() = 1 .
(1.2) Obtain the marginal density function of Z = X Y (use as auxiliary variable V = X).
Solution: Let us consider the transformation
( (
Z = XY X=V
V =X Y = VZ
one can easily check that | det J| = v1 , then, the joint distribution of Z, V is
z 1 1 z
(Z,V ) (X,Y )
f (z, v) = f v, = I[ , 3 ] (v)I[ 1 , 3 ] ,
v v v 2 2 2 2 v
that is,
(Z,V ) 1
f (z, v) = I 3 (v)I[ v , 3v ] (z).
v [ 2 , 2 ] 2 2
The set
3 v 3v
T = (z, v) : v , z
2 2 2 2
can also be rewritten in the form
3 3 9 2z 3
T = (z, v) : z , v 2z (z, v) : <z , v ,
4 4 2 4 4 3 2
we can now find the marginal distribution of Z: if 4 z 3
4 we have
Z 2z
1 1 2z 1 4z
fZ (z) = dv = ln v /2 = ln ,
/2 v
3 9
otherwise, if 4 <z 4 we have
Z 3/2
1 1 3/2 1 9
fZ (z) = dv = ln v 2z/3 = ln ;
2z/3 v 4z
thus,
1 4z 3
ln
4 z 4
fZ (z) = 1 ln 4z
9 3
4 <z 4
9 .
0 z < 4 or z > 9
4
(1.3) Assume that (X1 , . . . , Xn ) is a simple random sample of i.i.d. random variables each with density function
equal to that of X, and (Y1 , . . . , Yn ) a simple random sample of i.i.d. random variables each with density
function equal to that of Y . Obtain the joint distribution of (X(n) , Y(1) ).
Solution: First of all, let us observe that
(X,Y ) 1
f (x, y) = I[ , 3 ] (x) I[ 1 , 3 ] (y),
| 2 {z2 } | 2 {z 2
}
fX (x) fY (y)
then X and Y are independent. Therefore, X(n) and Y(1) will also be independent. Using the
usual formulas one can obtain that
n1
n1
n 3
fX(n) (x) = n x I[ , 3 ] (x), fY(1) (y) = n y I[ 1 , 3 ] (y),
2 2 2 2 2 2
finally,
n1
n2
3
fX(n) ,Y(1) (x, y) = n x y I[ , 3 ] (x)I[ 1 , 3 ] (y).
2 2 2 2 2 2
X(1) Y(1)
E [V ] = E =E = ,
X(n) Y(n)
clearly E [g(T )] = 0, but this does not imply that g(t) = 0 for a.e. t.
(d) Find the method of moments estimator and the maximum likelihood estimator for .
Solution: As E [X] = , then M = X. For the maximum likelihood estimator, let us
observe that
1 1
L(|x) = n
I[ , 3 ] (x(1) )I[x(1) , 3 ] (x(n) ) = n I[ 2 x(n) ,2x(1) ] (),
2 2 2 3
Problem 2 (13 points). Consider the simple random sample X1 , . . . , Xn extracted from the population
described by the following density function:
1
x
f (x; , ) = [() ]1 x(+1) e x > 0, > 1, > 0.
it can be seen that f belongs to the exponential family, then T = ( ln Xi , X1i ) is the minimal
P P
sufficient statistic.
(2.3) Verify that the expected value of the population is E [X] = [( 1)]1 . (Hint: Consider the transfor-
mation Y = 1/X).
Solution: We have
Z + 1
E [X] = x [() ]1 x(+1) e x dx
0
Z +
1 1
=
x e x dx
() 0
1 1 1
letting = y x = dx = 2 dy
x y y
Z +
1 1y
=
y 2 e dy
() 0
1
2 y 1
y e is the kernel of a 1,
1 1
=
( 1) 1 = .
() ( 1)
On the other hand, one could also see that, letting Y = X1 , the density of Y is (y > 0)
1 1 1 1y 1 1 1y
fY (y) = f 2
=
y +1 e 2 =
y 1 e ;
y y () y ()
(2.6) Again assuming that is known, compute Fishers Information of the sufficient statistic.
P 1
Solution: Since is known, the sufficient statistic is S = Xi , we have already noticed that
1 1
1
X (, ), so that E X = , and
2
IS () = nIX1 () = nE ln f (X; )
2
2
1 1
= nE ln(()) ln ( + 1) ln X
2 X
2 1 2 1 n
= nE 2
3 = n 2
3E = 2.
X X
Problem 3 (6 points). Let X1 , . . . , Xn be an i.i.d. sample extracted from the population described by the
random variable
X fX (x; ) = exp{x}, x 0, > 0.
(3.1) Find the complete sufficient statistic T for .
P
Solution: As f belongs to the exponential family, T = Xi is the complete sufficient statistic
(observe that regularity conditions hold, as R+ ).
(3.2) Show that the statistic
min{X1 , . . . , Xn }
U= ,
X
Pn
with X = (1/n) i=1 Xi , is ancillary.
Solution: Observe that Y = X Exp(1), indeed x = 1 y, and
1 1
fY (y) = fX y = ey I(y > 0).
Thus is a scale parameter, and
min{X1 , . . . , Xn } min{Y1 , . . . , Yn } min{Y1 , . . . , Yn }
U= = = ,
X Y Y
that is: U is ancillary.
(3.3) Compute the expected value of the random variable U .