Skip to main content
Log in

Adjusted quantile residual for generalized linear models

  • Original paper
  • Published:
Computational Statistics Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2

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

    Article  MathSciNet  Google Scholar 

  • Anholeto T, Sandoval MC, Botter DA (2014) Adjusted Pearson residuals in beta regression models. J Stat Comput Simul 84:999–1014

    Article  MathSciNet  Google Scholar 

  • Atkinson AC (1985) Plots, transformations, and regression: an introduction to graphical methods of diagnostic regression analysis. Oxford University Press, Oxford

    MATH  Google Scholar 

  • Botter DA, Cordeiro GM (1998) Improved estimators for generalized linear models with dispersion covariates. J Stat Comput Simul 62:91–104

    Article  MathSciNet  Google Scholar 

  • Cordeiro GM (2004) On Pearson’s residuals in generalized linear models. Stat Probab Lett 66(3):213–219

    Article  MathSciNet  Google Scholar 

  • Davison A, Gigli A (1989) Deviance residuals and normal scores plots. Biometrika 76(2):211–221

    Article  Google Scholar 

  • Dunn PK, Smyth GK (1996) Randomized quantile residuals. J Comput Graph Stat 5(3):236–244

    Google Scholar 

  • 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

    MATH  Google Scholar 

  • Klar B, Meintanis SG (2012) Specification tests for the response distribution in generalized linear models. Comput Stat 27(2):251–267

    Article  MathSciNet  Google Scholar 

  • Lawless JF (2011) Statistical models and methods for lifetime data, vol 362. Wiley, New York

    MATH  Google Scholar 

  • Lemonte AJ, Moreno-Arenas G (2019) On residuals in generalized Johnson SB regressions. Appl Math Model 67:62–73

    Article  MathSciNet  Google Scholar 

  • McCullagh P, Nelder JA (1989) Generalized linear models, 2nd edn. CRC Press, Boca Raton

    Book  Google Scholar 

  • Nelder JA, Wedderburn RWM (1972) Generalized linear models. J R Stat Soc 10(3):370–384

    Google Scholar 

  • Noughabi HA, Arghami NR (2011) Monte carlo comparison of seven normality tests. J Stat Comput Simul 81(8):965–972

    Article  MathSciNet  Google Scholar 

  • Pereira GHA (2019) On quantile residuals in beta regression. Commun Stat Simul Comput 48(1):302–316

    Article  MathSciNet  Google Scholar 

  • Pierce DA, Schafer DW (1986) Residuals in generalized linear models. J Am Stat Assoc 81(396):977–986

    Article  MathSciNet  Google Scholar 

  • 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

    Article  MathSciNet  Google Scholar 

  • Stasinopoulos DM, Rigby RA (2007) Generalized additive models for location scale and shape (GAMLSS) in R. J Stat Softw 23(7):1–46

    Article  Google Scholar 

  • Stasinopoulos DM, Rigby RA, Voudouris V, Heller G, De Bastiani F (2017) Flexible regression and smoothing: using GAMLSS in R. Taylor & Francis, London

    Book  Google Scholar 

  • Urbano MR, Borges Demétrio CG, Cordeiro GM (2012) On Wald residuals in generalized linear models. Commun Stat Theory Methods 41(4):741–758

    Article  MathSciNet  Google Scholar 

  • Williams D (1987) Generalized linear model diagnostics using the deviance and single case deletions. Appl Stat 36(2):181–191

    Article  MathSciNet  Google Scholar 

  • Yazici B, Yolacan S (2007) A comparison of various tests of normality. J Stat Comput Simul 77(2):175–183

    Article  MathSciNet  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Juliana Scudilio.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

See Tables 789 and 10.

Table 7 Distributional measures for the residual in Gamma regression model
Table 8 Distributional measures for the residuals in inverse Gaussian regression model
Table 9 Comparison of the Anderson–Darling statistic for n \(=\) 15 and n \(=\) 50—gamma regression model
Table 10 Comparison of the Anderson–Darling statistic for n \(=\) 15 and n \(=\) 50—inverse Gaussian regression model

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00180-019-00896-w

Keywords

Navigation