Approximate Maximum Likelihood Estimation of the Autologistic Model