summary: Summary statistics for paired samples

Description Usage Arguments Value Author(s) Examples

Description

Classical and robust statistics (location, scale and correlation) for paired samples.

Usage

1
2
## S4 method for signature 'paired'
summary(object,tr=0.2)

Arguments

object

an object of class paired.

tr

percenatge of trimming.

Value

A list with a first table corresponding to location and scale statistics and a second table to Pearson and winsorized correlation.

The first table contains four rows corresponding to calculations for x, y, x-y and (x+y)/2 variables. The location and scale statistics are given in columns.

n

sample size.

mean

mean.

median

median.

trim

trimmed mean (tr=0.2)

sd

standard deviation.

IQR

interquartile range (standardised to be consistent with the sd in the normal case)

median ad

median of absolute deviations (standardised)

mean ad

mean of absolute deviations (standardised)

sd(w)

winsorised standard deviation (tr=0.2 and standardised)

min

minimum value.

max

maximum value.

Author(s)

Stephane CHAMPELY

Examples

1
2
3
4
5
z<-rnorm(20)
x<-rnorm(20)+z
y<-rnorm(20)+z+1
p<-paired(x,y)
summary(p)


Search within the PairedData package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.