Skip to main content

Two-Sample Tests

  • Chapter
  • First Online:
A Primer of Permutation Statistical Methods

Abstract

This chapter introduces permutation methods for two-sample tests. Included in this chapter are six example analyses illustrating computation of exact permutation probability values for two-sample tests, calculation of measures of effect size for two-sample tests, the effect of extreme values on conventional and permutation two-sample tests, exact and Monte Carlo permutation procedures for two-sample tests, application of permutation methods to two-sample rank-score data, and analysis of two-sample multivariate data. Included in this chapter are permutation versions of Student’s two-sample t test, the Wilcoxon–Mann–Whitney two-sample rank-sum test, Hotelling’s multivariate T 2 test for two independent samples, and a permutation-based alternative for the four conventional measures of effect size for two-sample tests: Cohen’s \(\hat{d}\), Pearson’s r 2, Kelley’s 𝜖 2, and Hays’ \(\hat{\omega }^{2}\).

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 119.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    For two treatments a fair coin works quite well with heads and tails. For three treatments, a fair die is often used with faces with one or two pips assigned to the first treatment, faces with 3 or 4 pips assigned to the second treatment, and faces with 5 or 6 pips assigned to the third treatment. For four treatments, a shuffled deck of cards works well with clubs (♣), diamonds (♢), hearts (♡), and spades (♠) assigned to Treatments 1, 2, 3, and 4, respectively.

  2. 2.

    In some disciplines tests on two independent samples are known as between-subjects tests and tests for two dependent or related samples are known as within-subjects tests.

  3. 3.

    Also see a discussion by S.M. Stigler in The Seven Pillars of Statistical Wisdom [14, pp. 91–92].

  4. 4.

    In 2017 the average student debt for law-school graduates was reported to be $141,000 and the average student debt for medical-school graduates was reported to be $192,000.

  5. 5.

    Degrees of freedom are not relevant for any nonparametric, distribution-free statistic. However, it is noteworthy that degrees of freedom may be required for a test statistic that is nonparametric but is not distribution-free, such as Pearson’s χ 2 test statistics for goodness of fit and independence.

  6. 6.

    When fitting a continuous mathematical function, such as the normal probability distribution, to a discrete permutation distribution, it is oftentimes necessary to correct the fit by adding or subtracting 0.5 to compensate for the discreteness of the distribution.

References

  1. Barnard, G.A.: 2 × 2 tables. A note on E. S. Pearson’s paper. Biometrika 34, 168–169 (1947)

    Google Scholar 

  2. Cohen, J.: Weighted kappa: nominal scale agreement with provision for scaled disagreement or partial credit. Psychol. Bull. 70, 213–220 (1968)

    Article  Google Scholar 

  3. Feinstein, A.R.: Clinical biostatistics XXIII: the role of randomization in sampling, testing, allocation, and credulous idolatry (Part 2). Clin. Pharmacol. Ther. 14, 898–915 (1973)

    Article  Google Scholar 

  4. Hotelling, H., Pabst, M.R.: Rank correlation and tests of significance involving no assumption of normality. Ann. Math. Stat. 7, 29–43 (1936)

    Article  Google Scholar 

  5. Johnston, J.E., Berry, K.J., Mielke, P.W.: A measure of effect size for experimental designs with heterogeneous variances. Percept. Motor Skill. 98, 3–18 (2004)

    Article  Google Scholar 

  6. Johnston, J.E., Berry, K.J., Mielke, P.W.: Permutation tests: precision in estimating probability values. Percept. Motor Skill. 105, 915–920 (2007)

    Article  Google Scholar 

  7. Kendall, M.G., Babington Smith, B.: On the method of paired comparisons. Biometrika 31, 324–345 (1940)

    Article  MathSciNet  Google Scholar 

  8. Macdonell, W.R.: On criminal anthropometry and the identification of criminals. Biometrika 1, 177–227 (1902)

    Article  Google Scholar 

  9. Maxwell, S.E., Camp, C.J., Arvey, R.D.: Measures of strength of association: a comparative examination. J. Appl. Psychol. 66, 525–534 (1981)

    Article  Google Scholar 

  10. McHugh, R.B., Mielke, P.W.: Negative variance estimates and statistical dependence in nested sampling. J. Am. Stat. Assoc. 63, 1000–1003 (1968)

    Google Scholar 

  11. Mielke, P.W., Berry, K.J., Johnson, E.S.: Multi-response permutation procedures for a priori classifications. Commun. Stat. Theor. Methods 5, 1409–1424 (1976)

    Article  Google Scholar 

  12. Scott, W.A.: Reliability of content analysis: the case of nominal scale coding. Public Opin. Quart. 19, 321–325 (1955)

    Article  Google Scholar 

  13. Spearman, C.E.: ‘Footrule’ for measuring correlation. Brit. J. Psychol. 2, 89–108 (1906)

    Google Scholar 

  14. Stigler, S.M.: The Seven Pillars of Statistical Wisdom. Harvard University Press, Cambridge (2016)

    Book  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Berry, K.J., Johnston, J.E., Mielke, P.W. (2019). Two-Sample Tests. In: A Primer of Permutation Statistical Methods. Springer, Cham. https://doi.org/10.1007/978-3-030-20933-9_6

Download citation

Publish with us

Policies and ethics