Description Usage Arguments Details Value Author(s) References See Also Examples
The permutation test for matched pairs (PTMP) is a special case of MRBP, univariate data in two groups and n blocks, used for paired comparisons. Options allows PTMP to perform permutation versions of paired t-tests and Wilcoxon's signed rank test (for ranked data).
1 |
variables |
a character string of the names to be used in the analysis. These should match names found in the |
data |
the |
expon |
allows selection of alternative exponents in distance calculations. |
exact |
a logical value indicating whether to perform an exact test. |
number.perms |
if specified a Monte Carlo resampling procedure with |
save.test |
a logical which when true stores the permutation values of the test statistic. This is only a valid option when |
The PTMP is statistically equivalent to MRBP either command can be used when pairing is indicating by the blocking variable but only
ptmp
can be used when the observations are paired (next to each other) in the data set.
Thus the pairing is indicated by position or by a blocking variable.
The different test statistic structures produce an observed delta in PTMP that is exactly twice the observed test statistic for the same problem in MRBP.
Also, data in PTMP are aligned to a median of 0 by the structure of the test statistic.
ptmp
returns an object of class PTMPObj
.
Marian Talbert
Mielke, P.W., Jr., and K.J. Berry. 2001. Permutation methods: A distance function approach. Springer-Verlag.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.