Learn R Programming

NSM3 (version 1.18)

owa: Ordered Walsh Averages

Description

Function to compute the ordered Walsh averages and the value of the Hodges-Lehmann estimator

Usage

owa(x,y)

Value

Returns a list containing:

owa

the ordered Walsh averages

h.l

the value of the Hodges-Lehmann estimator

Arguments

x

first vector of data of length n

y

second vector of data of length n

Author

Rachel Becvarik

Examples

Run this code
##Hollander-Wolfe-Chicken Example 3.3 
x<-c(1.83, 0.50, 1.62, 2.48, 1.68, 1.88, 1.55, 3.06, 1.30)
y<-c(0.878, 0.647, 0.598, 2.050, 1.060, 1.290, 1.060, 3.140, 1.290)
owa(x,y)

Run the code above in your browser using DataLab