Permutation test

From WikiMD's Medical Encyclopedia

Revision as of 02:21, 18 April 2024 by Prab (talk | contribs) (CSV import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Permutation test example animation

Permutation tests, also known as randomization tests, re-randomization tests, or exact tests, are a family of statistical significance tests used in inference statistics. They provide a non-parametric alternative to traditional parametric tests, such as the t-test or ANOVA, which rely on assumptions about the underlying probability distribution of the data. Permutation tests are particularly useful when those assumptions are questionable or when dealing with small sample sizes.

Overview[edit]

Permutation tests operate on the principle that under the null hypothesis, all permutations of the observed data are equally likely. By comparing the observed test statistic to the distribution of test statistics computed from a large number of random permutations of the data, one can assess the p-value, which indicates the probability of observing a test statistic as extreme as, or more extreme than, the observed one under the null hypothesis.

Procedure[edit]

The basic steps in conducting a permutation test are as follows:

  1. Formulate the null and alternative hypothesis.
  2. Calculate the test statistic for the observed data.
  3. Permute the data or labels of the data randomly and recalculate the test statistic for each permutation.
  4. Compare the original test statistic to the distribution of permuted test statistics to calculate the p-value.

Applications[edit]

Permutation tests can be applied in a wide range of scenarios, including but not limited to testing the difference in means or medians between two groups, analyzing the association between two variables, and assessing the goodness-of-fit of a model. They are widely used in fields such as psychology, ecology, and genomics, where the assumptions of parametric tests are often violated.

Advantages[edit]

  • Non-parametric: They do not require assumptions about the form of the distribution of the data.
  • Flexibility: They can be applied to a wide variety of test statistics and experimental designs.
  • Exact: Under the null hypothesis, the p-value is exact, not an approximation, assuming all possible permutations are considered.

Limitations[edit]

  • Computational Intensity: For large datasets or complex test statistics, the number of possible permutations can be computationally prohibitive.
  • Dependence on the Test Statistic: The choice of test statistic can influence the power of the test.
  • Sample Size Restrictions: In cases with very small sample sizes, the number of unique permutations may be too limited to provide a meaningful p-value.

Comparison with Parametric Tests[edit]

While permutation tests offer several advantages over parametric tests, especially in terms of flexibility and fewer assumptions, they are not universally superior. Parametric tests can be more powerful when their assumptions are met, and they are generally less computationally intensive.

Software Implementation[edit]

Several statistical software packages and programming languages, including R and Python, offer functions or libraries for conducting permutation tests, making them accessible for researchers and data analysts.


Stub icon
   This article is a statistics-related stub. You can help WikiMD by expanding it!




Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Ad. Transform your health with W8MD Weight Loss, Sleep & MedSpa

W8MD's happy loser(weight)

Tired of being overweight?

Special offer:

Budget GLP-1 weight loss medications

  • Semaglutide starting from $29.99/week and up with insurance for visit of $59.99 and up per week self pay.
  • Tirzepatide starting from $45.00/week and up (dose dependent) or $69.99/week and up self pay

✔ Same-week appointments, evenings & weekends

Learn more:

Advertise on WikiMD


WikiMD Medical Encyclopedia

Medical Disclaimer: WikiMD is for informational purposes only and is not a substitute for professional medical advice. Content may be inaccurate or outdated and should not be used for diagnosis or treatment. Always consult your healthcare provider for medical decisions. Verify information with trusted sources such as CDC.gov and NIH.gov. By using this site, you agree that WikiMD is not liable for any outcomes related to its content. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates, categories Wikipedia, licensed under CC BY SA or similar.