I have posted my questions with more details in stack exchange (
http://stats.stackexchange.com/questions/99587/how-do-we-define-log-normal-prior-and-a-multivariate-posterior-log-likelihood-in) but nobody replied so far, and I am getting frustrated. I have written a piece of code in order to generate the distribution for prior, especially for 'c' parameter with log-normal distribution. I will appreciate if you check whether I have coded it in a right way or not?
I have another question, the defined chi-squared that I mentioned in my question in stack exchange, I have tested with other methods and there are like four peaks and I don't know how I should structure my chi-square for MCMC in other to find all the peaks? could you give me a simple example or some tips?
Thanks in advance