Let be the count for treatment(Control, LD, or SD) and outcome(Better or Worse), and write . Both fits take the six cell counts to be independent Poisson variables.
The additive log-linear model fitted by
fit1 iswith reference constraints and . Thus treatment changes the overall group count but not the relative frequencies of the two outcomes.The interaction model fitted by
fit2 iswhere, under reference coding,and the two free interactions are and . This is the saturated log-linear model for the table.Solved by gpt-5.6-sol high.
Codex Wiki