After a year and a half I've realized that the question is very ill posed and the notations are confusing and misleading, I tried to fix it but it seems irredeemable. Actually it took myself half an hour to figure out what I was asking in the first place. So to have yourself a good time, I would suggest you close this page and take a break from whatever lead you here.
I represent a biased coin with a discrete distribution $p(\theta)$, where $p(\theta=h)=\pi$ is the probability of heads, and $p(\theta=t)=1-\pi$ the probability of tails in one toss.
I have a terrible eye sight, so I have $1/6$ probability of getting the wrong observation.
Suppose I have a prior $p(\theta=h)=3/4$. Then the expectation of observing heads in one toss is then $E(x)=\frac{3}{4}\times\frac{5}{6}+\frac{1}{4}\times\frac{1}{6}=2/3$.
And I toss this coin three times and observe $x=\{head, head, tail\}$.
I want to compute the posterior probability $p(\theta|x)\propto p(x|\theta)p(\theta)$.
So the likelihood function in this case is $p(x|\theta=h)=(5/6)^2(1/6)$, $p(x|\theta=t)=(1/6)^2(5/6)$, hence the posterior probability is
$p(\theta=h|x)=\frac{p(x|\theta=h)p(\theta=h)}{p(x)}=\frac{(5/6)^2(1/6)(2/3)}{norm}=10/11$
$p(\theta=t|x)=\frac{p(x|\theta=t)p(\theta=t)}{p(x)}=\frac{(1/6)^2(5/6)(1/3)}{norm}=1/11$.
It seems that the observation perfectly matches the prior, why is the posterior probability changed? where is wrong with this formulation?
I know a better approach is to model $\theta'$ as the probability of seeing heads with a beta distribution, and use the binomial distribution as the likelihood function. Then the expectation of $\theta'$ won't change when the observation matches the prior.
But I don't quite understand what is wrong of the above model.
I'm new to statistics, any help would be awesome.