[R] errors in package nortest

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Apr 3 19:33:16 CEST 2010


Will try to contact the maintainer on some private way and report back.

Uwe Ligges



On 29.03.2010 12:11, Robert Offinger wrote:
> There are two errors in the R package nortest.
> I tried to contact the maintainer Juergen Gross
> but to no avail.
> How should one progress if the mail address is still
> valid but the maintainer does not answer or react in
> any way, e.g. since he left the university? The
> automatic R checking system for orphaned packages
> will not catch such a situation, I guess.
> And now on to the errors:
>
> The first error in the function cvm.test was in a way
> found by
> http://tolstoy.newcastle.edu.au/R/help/06/06/29029.html
> but the data set shows only the effect.
> Here is the problem:
> The approximation formula used in cvm.test has the
> effect that the p-value increases for very large values
> of the test statistic WW (WW>=1.334).
> Therefore very large values of WW result in absurd
> p values (as one can see in the given link).
> The easiest approach would be to set the resulting
> p-value to 0 for large values of WW (e.g. WW>=1.334)
>
> The second error in the function lillie.test was described
> in
> https://stat.ethz.ch/pipermail/r-devel/2007-July/046282.html
> but this error is really harmless since in
> p <- pnorm((x - mean(x))/sd(x))
> the case sd(x)==0 was not caught.
>
> Robert Offinger
>
> ______________________________________________
> 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