Ex. 17.10

Ex. 17.10

Using a simple binary graphical model with just two variables, show why it is essential to include a constant node X01 in the model.

Soln. 17.10

Suppose we only have two variables X1 and X2. When X1 and X2 are not connected, the joint probability in (17.28) reduces to a constant 1. When a constant node X01 is included and is always connected to X1 and X2, then the join probability becomes

p(X,Θ)=exp(θ01X1+θ02X2log(exp(θ01)+exp(θ02+exp(θ01+θ02))))=exp(θ01X1+θ02X2)/[1+exp(θ01)+exp(θ02)+exp(θ01+θ02)].