Learn R Programming

nparcomp (version 3.0)

summary.nparttestpaired: Summary of npar.t.test

Description

The function summary.nparttestpaired produces a result summary of npar.t.test.paired. It can only be applied to objects of class "nparttestpaired".

Usage

# S3 method for nparttestpaired
summary(object,...)

Arguments

object

An object of class "nparttestpaired", i.e. the result when applying npar.t.test.paired to a dataset. Otherwise an error will occur.

...

Arguments to be passed to methods.

Value

The function produces a summary of the result of npar.t.test.paired starting with some global information: alternative hypothesis, confidence level, interpretation. This is followed by:

Info

List of samples and sample sizes.

Analysis

Effect: relative effect p(a,b) of the two samples 'a' and 'b', p.hat: estimated relative effect, Lower: Lower limit of the confidence interval, Upper: Upper limit of the confidence interval, T: teststatistic p.value: p-value for the hypothesis by the choosen approximation method.

Details

Since summary.nparttestpaired is a S3 method it suffices to use summary(x) as long as x is of class "nparttestpaired". It will be interpreted as summary.nparttestpaired(x).

References

Munzel, U., Brunner, E. (2002). An Exact Paired Rank Test. Biometrical Journal 44, 584-593.

Konietschke, F., Pauly, M. (2012). A Studentized Permutation Test for the Nonparametric Behrens-Fisher Problem in Paired Data. Electronic Journal of Statistic, Vol 6, 1358-1372.

See Also

For further information on the usage of npar.t.test.paired, see npar.t.test.paired.

Examples

Run this code
# NOT RUN {
data(PGI)
a<-npar.t.test.paired(PGIscore~timepoint, data = PGI, 
               alternative = "two.sided", info=FALSE, plot.simci=FALSE)
summary(a)
# }

Run the code above in your browser using DataLab