[R] Randomisation tests

Greg Snow Greg.Snow at imail.org
Fri Apr 8 18:25:57 CEST 2011


For simple permutation tests I usually just code it up in regular R without worrying about any packages.  R is powerful enough that it is simple to do a permutation test in only a few lines ( or sometimes just one long line).  And that way you know exactly what it is doing.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Ben Ward
> Sent: Thursday, April 07, 2011 11:52 AM
> To: r-help
> Subject: [R] Randomisation tests
> 
> Hi,
> 
> I want to ue a randomisation test, to compare two sample means, for a
> small set of data, I've looked at towt.permutation, perm.test and
> permtest, as well as permTS(), which is the best one to use for such a
> simple purpose? I know perm.test package isn't used anymore and coins
> recommended, but reading the manual I couldnt find the function most
> like it, ore more likely I didn't understand the lingo used to know
> it's
> what I wanted.
> 
> Thanks,
> Ben.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> 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.



More information about the R-help mailing list