Jing W, Papathomas M. On the correspondence of deviances and maximum-likelihood and interval estimates from log-linear to logistic regression modelling.
ROYAL SOCIETY OPEN SCIENCE 2020;
7:191483. [PMID:
32218966 PMCID:
PMC7029921 DOI:
10.1098/rsos.191483]
[Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Subscribe] [Scholar Register] [Received: 08/26/2019] [Accepted: 11/28/2019] [Indexed: 06/10/2023]
Abstract
Consider a set of categorical variables P where at least one, denoted by Y, is binary. The log-linear model that describes the contingency table counts implies a logistic regression model, with outcome Y. Extending results from Christensen (1997, Log-linear models and logistic regression, 2nd edn. New York, NY, Springer), we prove that the maximum-likelihood estimates (MLE) of the logistic regression parameters equals the MLE for the corresponding log-linear model parameters, also considering the case where contingency table factors are not present in the corresponding logistic regression and some of the contingency table cells are collapsed together. We prove that, asymptotically, standard errors are also equal. These results demonstrate the extent to which inferences from the log-linear framework translate to inferences within the logistic regression framework, on the magnitude of main effects and interactions. Finally, we prove that the deviance of the log-linear model is equal to the deviance of the corresponding logistic regression, provided that no cell observations are collapsed together when one or more factors in P ∖ { Y } become obsolete. We illustrate the derived results with the analysis of a real dataset.
Collapse