Hypotheses Testing Objects

DESCRIPTION:
Class of objects that result from performing a test relating to classical statistical inference. This is the class: htest

GENERATION:
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.


METHODS:
The class "htest" has methods for the following generic function: print

STRUCTURE:
The "htest" objects are implemented as lists with the following components:
statistic:
the value of the test statistic, with names attribute indicating its null distribution.
parameters:
the parameters of the null distribution of statistic.
p.value:
the p-value for the test under the null hypothesis.
estimate:
estimate of the corresponding population parameters about which we formulated a null hypothesis. Component estimate has a names attribute describing its elements.
null.value:
the value of the population parameter specified by the null hypothesis. Component null.value has a names attribute describing its elements.
alternative:
value of the input argument alternative: "greater", "less" or "two.sided".
method:
character string giving the name of the test used.
data.name:
a character string containing the actual names of the input data.