I asked a previous question about why the ML and MAP estimates are the same when using a uniform prior (How does a uniform prior lead to the same estimates from maximum likelihood and mode of posterior?)
However, I am playing around with it some more and I tried a simple example which doesn't make sense to me.
Let's say I flip a coin and it comes up heads. I now want to estimate the probability p
of the coin coming up heads.
Using maximum likelihood: we get p = 1/1 = 1
Using MAP estimate (with Beta(1, 1) prior, which is uniform): p = (1 + 1) / (1 + 1 + 1) = 2/3
So howcome the estimates aren't the same even though I'm using a uniform prior?