Suppose I have a strictly positive parameter $\sigma$ and I need to estimate it using the random walk Metropolis-Hasting algorithm.
I know that I can do a parameter transform, i.e., $\beta=log(\sigma)$ and estimate $\beta$ instead. It is more convenient for me to assume that the prior for $\beta$ follows a normal distribution, e.g., $\beta ~ N(\alpha,\lambda)$. ($\alpha$ and $\lambda$ are actually parameters from other parts of my model). Then the log likelihood for the prior is,
$logprior= N(\beta,\alpha,\lambda,loglike=true)$
My confusion is whether I should add the Jacobian term or not. Suppose I still need to add the Jacobian term, should I just make the log of the prior look like this?
$logprior= N(\beta,\alpha,\lambda,loglike=true) + \beta$
Is $\beta$ the correct Jacobian term? I deduced it from this answer, but I don't know if I understand it correctly.