I wanted to learn about MAP optimization im pymc. I got the following posterior distribution of lambda
after sampling using mcmc
Clearly, the posterior is maximum at lambda = 0.20 and the 95% intervals are [0.17, 0.24] (please correct me if I am wrong)
As far as I know MAP gives a point estimate (the value of lambda which has max posterior probability ), but when I run MAP twice, I get different values which should not be the case.
I am printing the values of lambda before nd after using map in 2 execution of d same program.
Before using MAP 0.200091865615 After using MAP 0.197584715205
Before using MAP 1.28960939539 After using MAP 2.70871770586
Can someone explain what is going on and how to get rid of this issue ?