Resampling By Permutations


Clear samples
Sample A

Sample B

Item count: A=20, B=20
Means: A=74.12, B=76.38

meanA - meanB = -2.26


Repeat Permutations Of Samples
 

250 resampled differences shown


with items in each sample
simulated from populations
whose means differ by
Each permutation resampling is done by:
  • randomly shuffling the combined set of 40 items contained in A and B,
  • dividing that randomized set into two groups the size of the A and B samples,
  • computing the mean value (i.e., the average) for each group,
  • subtracting one mean value from the other, and
  • using that difference-of-means value to increment the histogram.
A-B mean difference values for 250 sample permutations -20 -15 -10 -5 0 5 10 15 20 0 10 20 30 40 The red circle indicates the amount of difference between the means of the A and B samples Lower differences: 32.0% of resamples Higher differences: 68.0% of resamples

The graph is split into two regions based on the original difference in the means of the A and B samples. Each region is labeled with the percentage of the resamples for which the difference in the resampled means is on that side of the original difference.
250 resampled
differences

An
open-source site  --  Problems/suggestions?  Notify hunter@ellinger.org
Home
(use this link instead of the Back button)