one sample permutation test using package 'coin'

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

one sample permutation test using package 'coin'

Holger Taschenberger-2
Using the package ‘exactRankTests’ one can execute a one-sample permutation test for a hypothesized location parameter of 0 like:

perm.test(rnorm(30,0))

The package ‘exactRankTests’ seems now to be deprecated in favor of the ‘coin’ package which as I understand is a superset of ‘exactRankTests’ in terms of functionality.

The ‘coin’ package allows one to run a two-sample permutation test using oneway_test(...). However, the documentation does not mention a one sample (location) permutation test? Is there a simple way to run such test with ‘coin’?

Thanks,
        Holger

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.