Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2011 Apr;102(1):75-80.
doi: 10.1016/j.cmpb.2010.11.002. Epub 2010 Dec 10.

A SAS(®) macro implementation of a multiple comparison post hoc test for a Kruskal-Wallis analysis

Affiliations

A SAS(®) macro implementation of a multiple comparison post hoc test for a Kruskal-Wallis analysis

Alan C Elliott et al. Comput Methods Programs Biomed. 2011 Apr.

Abstract

The Kruskal-Wallis (KW) nonparametric analysis of variance is often used instead of a standard one-way ANOVA when data are from a suspected non-normal population. The KW omnibus procedure tests for some differences between groups, but provides no specific post hoc pair wise comparisons. This paper provides a SAS(®) macro implementation of a multiple comparison test based on significant Kruskal-Wallis results from the SAS NPAR1WAY procedure. The implementation is designed for up to 20 groups at a user-specified alpha significance level. A Monte-Carlo simulation compared this nonparametric procedure to commonly used parametric multiple comparison tests.

PubMed Disclaimer

LinkOut - more resources