Additive class-effect logistic network model (source code)

= Additive class-effect logistic network model

An additive class-effect logistic network model gives an edge joining classes $k$ and $\ell$ the log odds $\beta_k+\beta_\ell$. A further coefficient multiplying $\mathbf1_{\{k=\ell\}}$ represents a common within-class log-odds effect.