Skip to main content
Log in

Analysis of residuals in contingency tables: Another nail in the coffin of conditional approaches to significance testing

  • Published:
Behavior Research Methods Aims and scope Submit manuscript

Abstract

Omnibus tests of significance in contingency tables use statistics of the chi-square type. When the null is rejected, residual analyses are conducted to identify cells in which observed frequencies differ significantly from expected frequencies. Residual analyses are thus conditioned on a significant omnibus test. Conditional approaches have been shown to substantially alter type I error rates in cases involving t tests conditional on the results of a test of equality of variances, or tests of regression coefficients conditional on the results of tests of heteroscedasticity. We show that residual analyses conditional on a significant omnibus test are also affected by this problem, yielding type I error rates that can be up to 6 times larger than nominal rates, depending on the size of the table and the form of the marginal distributions. We explored several unconditional approaches in search for a method that maintains the nominal type I error rate and found out that a bootstrap correction for multiple testing achieved this goal. The validity of this approach is documented for two-way contingency tables in the contexts of tests of independence, tests of homogeneity, and fitting psychometric functions. Computer code in MATLAB and R to conduct these analyses is provided as Supplementary Material.

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
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Notes

  1. A cautionary note is in order here to justify the equivalence of this alternative estimate of the empirical type I error rate p of the omnibus test. By comparison with the situation in the set of simulations whose results are presented in Fig. 1, the current set used negative binomial sampling instead of binomial sampling for the estimation. This is because tables continued to be generated until T were obtained in which the condition for rejection was satisfied, as opposed to generating T tables and observing how many of them satisfied the condition. Thus, let y be the number of failures that occurred before the required x = T successes were observed. An estimate of p under negative binomial sampling (Forbes, Evans, Hastings, & Peacock, 2011, p. 142) is thus given either by x/(x + y) or by (x − 1)/(x + y − 1), but the difference between these alternative estimates is negligible when x ≥ 200,000, as implied in our simulations. We thus used x/(x + y) to estimate empirical test size.

  2. Note that the implied multiple testing does not ensure a familywise rejection rate of 0.05, but this is not a problem here because our goal is to assess test accuracy cellwise.

References

Download references

Acknowledgments

This research was supported by grants PSI2009-08800 (Ministerio de Ciencia e Innovación), PSI2012-32903 (Ministerio de Economía y Competitividad), MTM2010-14913 (Ministerio de Ciencia e Innovación and FEDER), US12/09 (Universidad del País Vasco UPV/EHU), and IT-642-13 and UFI11/03 (Departamento de Educación del Gobierno Vasco - UPV/EHU Econometrics Research Group).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Miguel A. García-Pérez.

Electronic supplementary material

Below is the link to the electronic supplementary material.

ESM 1

(ZIP 411 kb)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

García-Pérez, M.A., Núñez-Antón, V. & Alcalá-Quintana, R. Analysis of residuals in contingency tables: Another nail in the coffin of conditional approaches to significance testing. Behav Res 47, 147–161 (2015). https://doi.org/10.3758/s13428-014-0472-0

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.3758/s13428-014-0472-0

Keywords

Navigation