pml2-book icon indicating copy to clipboard operation
pml2-book copied to clipboard

Issue in Gibbs sampling for Ising models (page 501), version 2023-08-15

Open davideC00 opened this issue 2 years ago • 1 comments

Hi,

there is an issue in the highlighted phrase: image

If $x_i \in \{0,1\}$, the conditional distribution in the equation 12.27 is $σ(2J(a_i-d_i))$. I think the problem is that the definition $\eta_i=x_i(a_i-d_i)$ works only if $x_i\in \{-1,1\}$ but it is has been used also for the case $x_i \in \{0,1\}$

davideC00 avatar Aug 30 '23 17:08 davideC00

Also here:

image

It should be a plus sign

davideC00 avatar Aug 31 '23 11:08 davideC00

thanks! Fixed.

murphyk avatar Jun 27 '24 00:06 murphyk