= Solution
There are $120$ observations, since the intercept-only model has $119$ <residual degrees of freedom>. Adding price introduces one coefficient and decreases the <binomial deviance> by $148.263-101.920=46.343$. Adding a three-level factor introduces two coefficients and decreases it by $101.920-97.571=4.349$. Thus the missing entries are
$$
\boxed{1,\ 46.343;\qquad 2,\ 4.349,\ 116.}
$$
The <likelihood-ratio test> comparing the smaller and full <logistic regression> tests $H_0:\beta_B=\beta_C=0$ against at least one nonzero layout contrast. Its statistic is $2(\widehat\ell_1-\widehat\ell_2)=4.349$. Under ordinary interior-parameter, full-rank and finite-estimate regularity conditions, <Wilks theorem> gives an asymptotic <chi-squared distribution> with two degrees of freedom. The reported <p-value> $0.1136$ exceeds $0.05$, so at that level retain the simpler price-only model.
The table is an <analysis of deviance for nested generalized linear models>: price is entered before layout. Thus its price row tests the price-only model against an intercept, whereas the layout row tests layout after allowing for price. The latter is the relevant comparison of model1 and model2. Failing to reject a layout effect is not proof that layouts have identical effects; it means these data do not justify the extra two parameters under this test.
Back to article page