a data frame that contains the variables given in the formula.
subset
an optional expression indicating what observations to use.
Methods (by class)
permTestSlope(default): Permutation test for the slope
permTestSlope(formula): Permutation test for the slope
Author
Adam Loy, Laura Chihara
Details
Perform a permutation test to test \(latex\), where
\(latex\)is the population slope. The rows of the second
variable are permuted and the slope is re-computed.
The mean and standard error of the permutation distribution is printed as
well as a P-value.