Minimal MSE estimate given PMF

Suppose X has the following PMF:

k12345
PX(k)0.150.280.260.190.13

Find the minimal MSE estimate of X, given that X is even. What is the error of this estimate?

Solution

The minimal MSE given A is just E[X|A] where A={2,4}.

First compute the conditional PMF:

PX|A(k)={0.19/0.47k=40.28/0.47k=20k2,4

Therefore:

x^A=20.280.47+40.190.472.80851

The error is:

eX|A=(22.81)20.280.47+(42.81)20.190.470.9633

Estimating on a variable interval

Suppose that RUnif(0,1) and suppose XUnif(0,R).

(a) Find x^M(r) (b) Find r^M(x) (c) Find R^Lmin(X)

Solution

(a) Find x^M(r):

We know x^M(r)=E[X|R=r].

Given R=r, so X is uniform on (0,r), we have E[X|R=r]=r2.

x^M(r)=r2

(b) Find r^M(x):

We know r^M(x)=E[R|X=x].

We know fR and fX|R. From these we derive the joint distribution fX,R:

fR(r)={1r(0,1)0otherwisefX|R(x|r)={1/rx(0,r)0otherwise fX,R(x,r)=fX|RfR={1/r0<x<r<10else

Now extract the marginal fX:

fX(x)=fX,R(x,r)drx11rdrlnx(0<x<1)

Now deduce the conditional fR|X:

fR|X=fX,RfX={1rlnx0<x<r<10otherwise

Then:

E[R|X=x]x1r1rlnxdrr^M(x)=x1lnx

(c) Find R^Lmin(X):

We need all the basic statistics.

E[R]=1/2 because RUnif((0,1)).

σR2=(ba)212=1/12.

E[X]=1/4 using the marginal PDF fX(x)=lnx on x(0,1). (IBP and L’Hopital are needed.)

σX=7/12 also using the marginal fX(x)=lnx.

E[XR]=1/6 using fX,R(x,r), namely:

E[XR]=r=01x=0rxr1rdxdr01x22dx16

From all this we infer Cov[X,R]=1/24 and ρX,R=3/7.

Hence:

Lmin(x)=67x+27

Thus:

R^Lmin(X)=67X+27

center