The elements of the alphabet $W = (a,b,c,d)$ are uniformly distributed and will be decoded with the following code:
$C(a)= 00 $, $C(b)=01, C(c)=10, C(d)=11 $
The coded elements will be transmitted through a discrete channel.
Hereby the following error can occur: with probability 0.1 a 1 instead of a 0 is transmitted and with probability 0.05 a 0 instead of a 1 is transmitted. The received bit-pairs will be decoded according to $C^{-1}$.
I have to calculate the maximal probability of error and the average probability of error for the code. The problem is that for computing them I need the probability for the single codeword ($\lambda_i)$ and I am not understanding how to calculate that.