Q.7.74

Question

In Example 6c, suppose that X is uniformly distributed over (0,1). If the discretized regions are determined by a0=0,a1=12 and a2=1. calculate the optimal quantizer Y and compute E[(X-Y)2].

Step-by-Step Solution

Verified
Answer

The optimal quantizer Y is 12. And the computation of E[(X-Y)2] is 112.

1Step 1: Given Information

X=Uniformly distributed over(0,1)

a0=0,

a1=12

And a2=1

2Step 2: Explanation

If X~U(0,1)FX(x)=x;0<x<1

Y=yo     if     0<x12y1     if     12<x1

PY=y0=FX12FX(0)

=012dx00dx=12

PY=y1=01dx012dx

=112=12

Var(Y)=0PY=y0=PY=y1=12

3Step 3: Explanation

Now the quantity is minimized when,

y0=E[XI=0]

style="max-width: none; vertical-align: -28px;" =012x12dx

=0122xdx

=14

y1=E[XI=1]

=121x2dx

=1212xdx=34

4Step 4: Explanation

Distribution of Y is

PY=14=PY=34=12

And Var(Y)=0

And Var(X)=4-312

=112

E(XY)2=Var(X)Var(Y)

=1120

=112

5Step 5: Final Answer

Therefore, the optimal quantizer Y is 12. And the computation of E(X-Y)2 is 112.