The permutation tag has no wiki summary.
14
votes
4answers
617 views
What is wrong with this “naive” shuffling algorithm?
This is a follow-up to a Stackoverflow question about shuffling an array randomly.
There are established algorithms (such as the Knuth-Fisher-Yates Shuffle) that one should use to shuffle an array, ...
6
votes
3answers
2k views
How do we create a confidence interval for the parameter of a permutation test?
Permutation tests are significance tests based on permutation resamples drawn at random from the original data. Permutation resamples are drawn without replacement, in contrast to bootstrap samples, ...
4
votes
2answers
2k views
How can I obtain some of all possible combinations in R?
Sometimes I want to do an exact test by examining all possible combinations of the data to build an empirical distribution against which I can test my observed differences between means. To find the ...