R-alpha: ANNOUNCE: ctest update

Kurt Hornik (Kurt.Hornik@ci.tuwien.ac.at)
Wed, 19 Feb 1997 20:29:33 +0100

Date: Wed, 19 Feb 1997 20:29:33 +0100
Message-Id: <199702191929.UAA20912@aragorn.ci.tuwien.ac.at>
From: Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>
To: r-testers@stat.math.ethz.ch
Subject: R-alpha: ANNOUNCE:  ctest update

I've put a new version of my `ctest' collection of classical tests up
for grabs at


The main changes relative to the previous version (yes I should start
numbering them) are:

*) chisq.test() should now be upward compatible with chisquare.test().
In addition, it now returns counts observed and expected under the null
(of course, print.htest() cannot use that information, though ...)

*) bartlett.test(), Bartlett's test for the homogeneity of variances,
has been added.

*) The interface to kruskal.test() has been extended.

Both bartlett.test() and kruskal.test() now support the standard
invocation f(x, g), where x is a data vector and g a vector or factor
with the corresponding group labels, as well as f(l), where l is a list
of samples.  So, to compare the samples x1, ..., xk for homogeneity of
variances one can do
	bartlett.test(list(x1, ..., xk)).

(Some have requested something like that, and using the list mechanism
seemed the cleanest.)

Comments etc are most welcome.

r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch