Random Permutations of a Given Length
Random Permutations of a Given Length
Generate random permutations on letters that have a "length" within a fixed range. The space of all permutations on letters is stratified by the degree to which a given permutation mixes up the letters. This Demonstration shows how to generate permutations of a given length using essentially Gaussian copula. The parameter determines the degree of disorder, with being total disorder, signifying no disorder, and indicating reversal of order. The red dots are a graph of the points for the given permutation chosen. The gold line is the permutation length scaled by the number of samples. You can change the number of samples or look at many samples with similar permutation lengths by changing the new random case slider. Notice that scrolling through new cases with a given produces almost no variation in permutation length though many different permutations.
n
n
n
ρ
ρ=0
ρ=1
ρ=-1
(i,π(i))
ρ