Abstract
Generalized linear models are widely used in many areas of knowledge. As in other classes of regression models, it is desirable to perform diagnostic analysis in generalized linear models using residuals that are approximately standard normally distributed. Diagnostic analysis in this class of models are usually performed using the standardized Pearson residual or the standardized deviance residual. The former has skewed distribution and the latter has negative mean, specially when the variance of the response variable is high. In this work, we introduce the adjusted quantile residual for generalized linear models. Using Monte Carlo simulation techniques and two applications, we compare this residual with the standardized Pearson residual, the standardized deviance residual and two other residuals. Overall, the results suggest that the adjusted quantile residual is a better tool for diagnostic analysis in generalized linear models.
Similar content being viewed by others
References
Anderson TW, Darling DA (1952) Asymptotic theory of certain “goodness of fit” criteria based on stochastic processes. Ann Math Stat 23:193–212
Anholeto T, Sandoval MC, Botter DA (2014) Adjusted Pearson residuals in beta regression models. J Stat Comput Simul 84:999–1014
Atkinson AC (1985) Plots, transformations, and regression: an introduction to graphical methods of diagnostic regression analysis. Oxford University Press, Oxford
Botter DA, Cordeiro GM (1998) Improved estimators for generalized linear models with dispersion covariates. J Stat Comput Simul 62:91–104
Cordeiro GM (2004) On Pearson’s residuals in generalized linear models. Stat Probab Lett 66(3):213–219
Davison A, Gigli A (1989) Deviance residuals and normal scores plots. Biometrika 76(2):211–221
Dunn PK, Smyth GK (1996) Randomized quantile residuals. J Comput Graph Stat 5(3):236–244
Feng C, Sadeghpour A, Li L (2017) Randomized quantile residuals: an omnibus model diagnostic tool with unified reference distribution. arXiv preprint arXiv:1708.08527
Hardin JW, Hilbe JM, Hilbe J (2007) Generalized linear models and extensions. Stata Press, College Station
Klar B, Meintanis SG (2012) Specification tests for the response distribution in generalized linear models. Comput Stat 27(2):251–267
Lawless JF (2011) Statistical models and methods for lifetime data, vol 362. Wiley, New York
Lemonte AJ, Moreno-Arenas G (2019) On residuals in generalized Johnson SB regressions. Appl Math Model 67:62–73
McCullagh P, Nelder JA (1989) Generalized linear models, 2nd edn. CRC Press, Boca Raton
Nelder JA, Wedderburn RWM (1972) Generalized linear models. J R Stat Soc 10(3):370–384
Noughabi HA, Arghami NR (2011) Monte carlo comparison of seven normality tests. J Stat Comput Simul 81(8):965–972
Pereira GHA (2019) On quantile residuals in beta regression. Commun Stat Simul Comput 48(1):302–316
Pierce DA, Schafer DW (1986) Residuals in generalized linear models. J Am Stat Assoc 81(396):977–986
Rigby RA, Stasinopoulos DM (2005) Generalized additive models for location, scale and shape. J R Stat Soc Ser C (Appl Stat) 54(3):507–554
Stasinopoulos DM, Rigby RA (2007) Generalized additive models for location scale and shape (GAMLSS) in R. J Stat Softw 23(7):1–46
Stasinopoulos DM, Rigby RA, Voudouris V, Heller G, De Bastiani F (2017) Flexible regression and smoothing: using GAMLSS in R. Taylor & Francis, London
Urbano MR, Borges Demétrio CG, Cordeiro GM (2012) On Wald residuals in generalized linear models. Commun Stat Theory Methods 41(4):741–758
Williams D (1987) Generalized linear model diagnostics using the deviance and single case deletions. Appl Stat 36(2):181–191
Yazici B, Yolacan S (2007) A comparison of various tests of normality. J Stat Comput Simul 77(2):175–183
Acknowledgements
The authors thank “Coordenação de Aperfeiçoamento de Pessoal de Nível Superior” (CAPES) for the financial support received for this project. The authors also thank two anonymous referees for their helpful comments.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Scudilio, J., Pereira, G.H.A. Adjusted quantile residual for generalized linear models. Comput Stat 35, 399–421 (2020). https://doi.org/10.1007/s00180-019-00896-w
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00180-019-00896-w