[R] missing ctest and methodological question

Scot W McNary smcnary at charm.net
Mon Apr 23 16:51:01 CEST 2001



Christof,

For the first part of your question:

If you got your r-base from a CD distribution of potato, the version of
r-base could be very old (I have one here that has R version .90 on it).  
Even the debian mirror I use has R at version .90.  If that's true your
version won't automatically load ctest (you would have to "library(ctest)"
to use the features).  In version 1.2.2 ctest is loaded automatically at
startup.  I get my debian packages of r-base and r-doc from the CRAN site.  
Those are current.  You can download a copy of r-base*.deb from CRAN and
install it by hand with dpkg, or you can also point apt-get at:

http://cran.r-project.org/linux/debian/dists/stable/main

and apt will install it for you. 


Hope this helps, 

Scot

--
  Scot W. McNary  email:smcnary at charm.net   

On 23 Apr 2001, Christof Meigen wrote:

> 
> 
> Hi,
> 
> I couldn't figure out how to use the functions from the
> ctest library. I'm using the r-base package that comes with
> debian potato. library("ctest") told me that no such package
> existed. I checked the CRAN, but no such package was
> availiable, instead I was told that it would be part of the
> standard installation. But functions from ctest like
> shapiro-wilk don't work.  The only thing I found was a
> ASCII-file "ctest" which I could load but was only a wrapper
> for some C-Library which seems to be not installed.
> 
> Besides that technical problem I would also appreciate your
> scientific advice. For a publication a have to check about
> 80 samples with about 3000-5000 values each whether they
> a normally distributed (N(0,1) to be exact). The problem is,
> that they are derived from discrete measurements (the
> weight of children, for example, where nearly all values
> have full or half kilograms), so Kolmogorov-Smirnov doesn't
> seem to be the right choice. Shapiro-Wilk, however,
> is limites to 5000 values, for good reasons, I think.
> 
> Personally, for a single sample I would make some plots
> for everyone to see that it fits quite good, but in this
> case it would be nice if I could finally have a table
> saying
> 
> sample  test1   test2  ...
> 1       accept  accept
> 2       accept  reject
> ...
> 
> any advices about which tests I could perform?
> 
> Thanks in advance,
>         Christof
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list