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=20k≠2,4

Therefore:

x^A=20.280.47+40.190.47≈2.80851

The error is:

eX|A=(2−2.81)20.280.47+(4−2.81)20.190.47≫≫≈0.9633

Estimating on a variable interval

Suppose that R∼Unif(0,1) and suppose X∼Unif(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|R⋅fR={1/r0<x<r<10else

Now extract the marginal fX:

≫≫fX(x)=∫−∞∞fX,R(x,r)dr≫≫∫x11rdr≫≫−ln⁡x(0<x<1)

Now deduce the conditional fR|X:

fR|X=fX,RfX={−1rln⁡x0<x<r<10otherwise

Then:

E[R|X=x]≫≫∫x1r−1rln⁡xdr≫≫r^M(x)=x−1ln⁡x

(c) Find R^Lmin(X):

We need all the basic statistics.

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

σR2=(b−a)212=1/12.

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

σX=7/12 also using the marginal fX(x)=−ln⁡x.

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

E[XR]=∫r=01∫x=0rxr1rdxdr≫≫∫01x22dx≫≫16

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