Karen.Green at sanofi-aventis.com
2007-Sep-05 23:17 UTC
[R] question: randomization t-test function already defined in R?
Dear R Users, I am hoping you can help me. I have received code from a colleague who uses Matlab. I need to translate it into R. I am wondering if there is a randomization t-test (from non-parametric statistics) function already defined in R. (In Matlab the function is randtest.m.) ************************************************************************ ********** QUESTION: Is anyone aware of a randomization t-test function in R? ************************************************************************ ********** Thank you for your help, Karen --- Karen M. Green, Ph.D. Research Investigator Drug Design Group Sanofi Aventis Pharmaceuticals 1580 E. Hanley Blvd. Tucson, AZ 85737-9525 USA [[alternative HTML version deleted]]
Achim Zeileis
2007-Sep-05 23:51 UTC
[R] question: randomization t-test function already defined in R?
On Wed, 5 Sep 2007, Karen.Green at sanofi-aventis.com wrote:> Dear R Users, > > I am hoping you can help me. > > I have received code from a colleague who uses Matlab. I need to > translate it into R. > > I am wondering if there is a randomization t-test (from non-parametric > statistics) function already defined in R. > (In Matlab the function is randtest.m.)I don't know what randtest in MATLAB does exactly, but I guess that you might want to look at the function independence_test() in package "coin". The "distribution" argument should probably set to use either exact or approximate p values. hth, Z> ************************************************************************ > ********** > QUESTION: Is anyone aware of a randomization t-test function in R? > ************************************************************************ > ********** > > Thank you for your help, > > Karen > > --- > > Karen M. Green, Ph.D. > > Research Investigator > > Drug Design Group > > Sanofi Aventis Pharmaceuticals > > 1580 E. Hanley Blvd. > > Tucson, AZ 85737-9525 > > USA > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch 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. > >