Suppose that the possible values of X are x1 x2 x3 and PX x1
Suppose that the possible values of X are x1, x2, x3 and
 P(X =x1) = 3
Solution
let p(xi)=pi where i=1,2,3
p1=3*p2=4*p3
as we konw
p1+p2+p3=1
hence
p1*(1+1/3+!/4)=1
p1=12/19
p2=4/19
p3=3/19
for a=E(x),you get minimum error
because
E(a-x)^2=E [ {((Y - E [Y ]) + (E [Y ] - a))} ^2 ]
= E [ (Y - E [Y ])^2 ] + E h (E [Y ] - a)^ 2 ]+ 2

