## Bayesian Analysis

### Bayesian model diagnostics based on artificial autoregressive errors

Mario Peruggia

#### Abstract

Hierarchical Bayes models provide a natural way of incorporating covariate information into the inferential process through the elaboration of regression equations for one or more of the model parameters, with errors that are often assumed to be i.i.d. Gaussian. Unfortunately, building adequate regression models is a complicated art form that requires the practitioner to make numerous decisions along the way. Assessing the validity of the modeling decisions is often difficult.

In this article I develop a simple and effective device for ascertaining the quality of the modeling choices and detecting lack-of-fit. I specify an artificial autoregressive structure (AAR) in the probability model for the errors that incorporates the i.i.d. model as a special case. Lack-of-fit can be detected by examining the posterior distribution of AAR parameters. In general, posterior distributions that assign considerable mass to a region of the AAR parameter space away from zero provide evidence that apparent dependencies in the errors are compensating for misspecifications of some other aspects (typically conditional means) of the model. I illustrate the methodology through several examples including its application to the analysis of data on brain and body weights of mammalian species and response time data.

#### Article information

Source
Bayesian Anal., Volume 2, Number 4 (2007), 817-841.

Dates
First available in Project Euclid: 22 June 2012

https://projecteuclid.org/euclid.ba/1340370716

Digital Object Identifier
doi:10.1214/07-BA233

Mathematical Reviews number (MathSciNet)
MR2361976

Zentralblatt MATH identifier
1332.62338

#### Citation

Peruggia, Mario. Bayesian model diagnostics based on artificial autoregressive errors. Bayesian Anal. 2 (2007), no. 4, 817--841. doi:10.1214/07-BA233. https://projecteuclid.org/euclid.ba/1340370716

#### References

• Berger, J. O. and Pericchi, L. R. (1996). "The Intrinsic Bayes Factor for Model Selection and Prediction." Journal of the American Statistical Association, 91: 109–122.
• Bland, J. M. and Altman, D. G. (1986). "Statistical Method for Assessing Agreement between Two Methods of Clinical Measurement." The Lancet, i: 307–310.
• Carlin, B. P. and Chib, S. (1995). "Bayesian Model Choice Via Markov Chain Monte Carlo Methods." Journal of the Royal Statistical Society, Series B, Methodological, 57: 473–484.
• Carlin, B. P. and Louis, T. A. (2000). Bayes and Empirical Bayes Methods for Data Analysis (2nd ed.). Boca Raton: Chapman & Hall/CRC.
• Carota, C. (1998). "A Diagnostic for Autocorrelation of the Disturbances in Regression Models." Journal of the Italian Statistical Society, 3: 257–266.
• –- (2005). "Symmetric Diagnostics for the Analysis of the Residuals in Regression Models." Biometrika, 92: 787–799.
• Carota, C., Parmigiani, G., and Polson, N. G. (1996). "Diagnostic Measures for Model Criticism." Journal of the American Statistical Association, 91: 753–762.
• Durbin, J. and Watson, G. S. (1950). "Testing for Serial Correlation in Least Squares Regression I." Biometrika, 37: 409–428.
• –- (1951). "Testing for Serial Correlation in Least Squares Regression II." Biometrika, 38: 159–178.
• Gelman, A., Carlin, J. B., Stern, H. S., and Rubin, D. B. (2004). Bayesian Data Analysis, Second Edition. Boca Raton, FL: Chapman & Hall/CRC Press.
• Gelman, A., Meng, X.-L., and Stern, H. (1996). "Posterior Predictive Assessment of Model Fitness Via Realized Discrepancies (Disc: P760-807)." Statistica Sinica, 6: 733–760.
• Johnson, V. E. (2004). "A Bayesian $\chi^2$ Test for Goodness-of-Fit." Annals of Statistics, 32: 2361–2384.
• Judge, G. G., Griffiths, W. E., Hill, R. C., and Lee, T.-C. (1980). The Theory and Practice of Econometrics. John Wiley & Sons.
• Kass, R. E. and Raftery, A. E. (1995). "Bayes Factors." Journal of the American Statistical Association, 90: 773–795.
• MacEachern, S. N. and Peruggia, M. (2002). "Bayesian Tools for EDA" and Model Building: A Brainy Study. In Gatsonis, C., Kass, R. E., Carlin, B., Carriquiry, A., Gelman, A., Verdinelli, I., and West, M. (eds.), Case Studies in Bayesian Statistics, Vol. 5, 345–362. New York: Springer-Verlag.
• O'Hagan, A. (1995). "Fractional Bayes Factors for Model Comparison (Disc: P118-138)." Journal of the Royal Statistical Society, Series B: Methodological, 57: 99–118.
• Peruggia, M., Van Zandt, T., and Chen, M. (2002). "Was" it a Car or a Cat I Saw? An Analysis of Response Times for Word Recognition." In Gatsonis, C., Kass, R., Carriquiry, A., Gelman, A., Higdon, D., Pauler, D., and Verdinelli, I. (eds.), Case Studies in Bayesian Statistics, Vol. 6, 319–334. New York: Springer-Verlag.
• Pinheiro, J. C. and Bates, D. M. (2000). Mixed-effects Models in S and S-PLUS. New York: Springer-Verlag.
• Sacher, G. A. and Staffeldt, E. F. (1974). "Relation of Gestation Time to Body Weight for Placental Mammals: Implications for the Theory of Vertebrate Growth." The American Naturalist, 108: 593–615.
• Spiegelhalter, D. J., Thomas, A., Best, N. G., and Gilks, W. R. (1996). Bayesian Inference Using Gibbs Sampling, Version 0.5, (version ii). Cambridge, UK: MRC Biostatistics Unit.
• –- (1996). BUGS Examples Volume 2, Version 0.5, (version ii). Cambridge, UK: MRC Biostatistics Unit.
• Spiegelhalter, D. J., Thomas, A., Best, N. G., and Lunn, D. (2003). WinBUGS User Manual, Version 1.4. Cambridge, UK: MRC Biostatistics Unit.
• Weisberg, S. (1985). Applied Linear Regression (2nd ed.). New York: John Wiley & Sons.
• Williams, E. (1959). Regression Analysis. New York: Wiley.
• Zellner, A. and Tiao, G. C. (1964). "Bayesian Analysis of the Regression Model with Autocorrelated Errors." Journal of the American Statistical Association, 59: 763–778.