Jump to content

File:Permutation test example animation.gif

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Permutation_test_example_animation.gif (519 × 419 pixels, file size: 5.24 MB, MIME type: image/gif, 383 frames, 23 s)

Summary

Description
English: Animation of a permutation test being computed on sets of 4 and 5 random values. The 4 values in red are drawn from one distribution, and the 5 values in blue from another, and the hypothesis is that the mean of the first four is higher than the mean of the 5; the null hypothesisis is that they are the same. There are 126 distinct ways to put 4 values into one group and 5 into another (9-choose-4 or 9-choose-5). Of these, one is per the original labeling, and the other 125 are "permutations" that generate the histogram of mean differences shown. The p-value of the hypothesis is estimated as the proportion of permutations that give a difference as large or larger than the difference of means of the labeled sets. In this example, the p-value estimate is approximate, due to the finite bin width of the histogram. The animation was created in Matlab from very hacky code. The underlying distributions of the sets are normal with means 60 and 50, and standard deviations of 10.
Date
Source Own work
Author Dicklyon

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Animation of a permutation test being computed on sets of 4 and 5 random values

Items portrayed in this file

depicts

25 October 2021

image/gif

5,496,038 byte

22.9799999999999 second

419 pixel

519 pixel

31fa2ac231404c6fddc41634ebf157dec5459c1b

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current05:32, 27 October 2021Thumbnail for version as of 05:32, 27 October 2021519 × 419 (5.24 MB)Dicklyonbetter details, new random version
08:13, 26 October 2021Thumbnail for version as of 08:13, 26 October 2021551 × 421 (4.96 MB)Dicklyonbetter annotations; trimmed edges some
07:02, 26 October 2021Thumbnail for version as of 07:02, 26 October 2021624 × 406 (4.13 MB)Dicklyonsmaller still
06:54, 26 October 2021Thumbnail for version as of 06:54, 26 October 2021666 × 462 (4.38 MB)Dicklyonsmaller version to see if it's small enough to animate thumbnail
03:39, 26 October 2021Thumbnail for version as of 03:39, 26 October 20211,120 × 840 (8.26 MB)DicklyonUploaded own work with UploadWizard

The following 3 pages use this file:

Global file usage

The following other wikis use this file: