File:Permutation test example animation.gif

From testwiki
Jump to navigation Jump to search
    Original file (519 × 419 pixels, file size: 5.24 MB, MIME type: image/gif, 383 frames, 23 s)
    Note: Due to technical limitations, thumbnails of high resolution GIF images such as this one will not be animated.

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    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
    current06:32, 27 October 2021Thumbnail for version as of 06:32, 27 October 2021519 × 419 (5.24 MB)wikimediacommons>Dicklyonbetter details, new random version

    There are no pages that use this file.