Description Usage Arguments Value Author(s) References Examples
This function computes the p-value for the one sample t-test using a permutation test. The permutation density can also be plotted.
1 2 |
x |
a numeric vector containing the sample values (centered at the null hypothesis value) |
nsim |
the number of permutations (randomly selected) |
plotit |
if TRUE, the permutation density is plotted |
The p-value for the test of the hypothesis that the mean of x
differs from 0
J.H. Maindonald
Good, P. 2000. Permutation Tests. Springer, New York.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.