Permutation Test

The program performs multiple tests to select the number of joinpoints, using the Bonferroni correction for multiple testing. Set the overall significance level for multiple testing.

The program performs permutation tests to select the number of joinpoints. Since fitting all N! possible permutations of the data would take too long, the program takes a Monte Carlo sample of these N! data sets, using a random number generator. Specify the size of the Monte Carlo sample of permuted data sets.