htest
Objects of this class are returned by the functions:
binom.test
,
chisq.test
,
cor.test
,
fisher.test
,
friedman.test
,
kruskal.test
,
mantelhaen.test
,
mcnemar.test
,
prop.test
,
t.test
,
var.test
, and
wilcox.test
.
All of these functions, in the statistical inference module, create objects
of class
"htest"
.
An object of class
"htest"
represents a test through
the estimation of a test statistic
given null and alternative hypotheses, and a confidence level.
The methods used in estimating these test statistics are varied ranging from
classical to robust and nonparametric approaches.
The class
"htest"
has methods for the following generic function:
print
The
"htest"
objects are implemented as lists
with the following components:
names
attribute indicating
its null distribution.
statistic
.
estimate
has a
names
attribute describing its elements.
null.value
has a
names
attribute describing its elements.
alternative
:
"greater"
,
"less"
or
"two.sided"
.