## Abstract

The Pearson and likelihood ratio statistics are commonly used to test goodness of fit for models applied to data from a multinomial distribution. The goodness-of-fit test based on Pearson’s Chi-squared statistic is sometimes considered to be a global test that gives little guidance to the source of poor fit when the null hypothesis is rejected, and it has also been recognized that the global test can often be outperformed in terms of power by focused or directional tests. For the cross-classification of a large number of manifest variables, the GFfit statistic focused on second-order marginals for variable pairs i, j has been proposed as a diagnostic to aid in finding the source of lack of fit after the model has been rejected based on a more global test. When data are from a table formed by the cross-classification of a large number of variables, the common global statistics may also have low power and inaccurate Type I error level due to sparseness in the cells of the table. The sparseness problem is rarely encountered with the GFfit statistic because it is focused on the lower-order marginals. In this paper, a new and extended version of the GFfit statistic is proposed by decomposing the Pearson statistic from the full table into orthogonal components defined on marginal distributions and then defining the new version, GFfit⊥(ij), as a partial sum of these orthogonal components. While the emphasis is on lower-order marginals, the new version of GFfit⊥(ij) is also extended to higher-order tables so that the GFfit_{⊥} statistics sum to the Pearson statistic. As orthogonal components of the Pearson X^{2} statistic, GFfit⊥(ij) statistics have advantages over other lack-of-fit diagnostics that are currently available for cross-classified tables: the GFfit⊥(ij) generally have higher power to detect lack of fit while maintaining good Type I error control even if the joint frequencies are very sparse, as will be shown in simulation results; theoretical results will establish that GFfit⊥(ij) statistics have known degrees of freedom and are asymptotically independent with known joint distribution, a property which facilitates less conservative control of false discovery rate (FDR) or familywise error rate (FWER) in a high-dimensional table which would produce a large number of bivariate lack-of-fit diagnostics. Computation of GFfit⊥(ij) statistics is also computationally stable. The extended GFfit⊥(ij) statistic can be applied to a variety of models for cross-classified tables. An application of the new GFfit statistic as a diagnostic for a latent variable model is presented.

Original language | English (US) |
---|---|

Journal | Psychometrika |

DOIs | |

State | Accepted/In press - 2022 |

## Keywords

- composite null hypothesis
- multivariate discrete distribution
- orthogonal components
- overlapping cells

## ASJC Scopus subject areas

- Psychology(all)
- Applied Mathematics