summary {PairedData}R Documentation

Summary statistics for paired samples

Description

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

Usage

## 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

z<-rnorm(20)
x<-rnorm(20)+z
y<-rnorm(20)+z+1
p<-paired(x,y)
summary(p)

[Package PairedData version 1.1.1 Index]