Answers are grounded in this paper and cite their sources.
New package implements the Information Matrix test for model misspecification in linear regression, indicating specific issues.
Abstract This article introduces the infotest package for R, which implements the Information Matrix (IM) test for linear regression models. The IM test, originally proposed by White (1982) and later decomposed by Cameron and Trivedi (1990), provides a comprehensive diagnostic tool for assessing model misspecification. Building on the results of Chesher (1983) and Lancaster (1984), the test examines whether the information matrix equality holds–a fundamental property of correctly specified maximum likelihood models. The decomposition into heteroskedasticity, skewness, and kurtosis components allows researchers to identify specific sources of misspecification. Unlike unconditional normality tests, the IM test provides conditional moment testing that accounts for covariate patterns. The packagealsoincludes White’s classic heteroskedasticityt est (White1980) as a special case. We demonstrate the implementation through theoretical background, computational details, and practical examples.
No takes yet. Share an insight, caveat, or question.
Hasraddin Guliyev (2025) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: