owa: Ordered Walsh Averages

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
owa(x,y)

Arguments

x

first vector of data of length n

y

second vector of data of length n

Value

Returns a list containing:

owa

the ordered Walsh averages

h.l

the value of the Hodges-Lehmann estimator

Author(s)

Rachel Becvarik

Examples

1
2
3
4
##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)

Example output

Loading required package: combinat

Attaching package: 'combinat'

The following object is masked from 'package:utils':

    combn

Loading required package: MASS
Loading required package: partitions
Loading required package: survival
fANCOVA 0.5-1 loaded
$owa
 [1] -1.0220 -0.9870 -0.9520 -0.8210 -0.8060 -0.7860 -0.7710 -0.7560 -0.7260
[10] -0.7210 -0.6910 -0.6200 -0.6050 -0.5900 -0.5550 -0.5400 -0.5250 -0.5160
[19] -0.5100 -0.4900 -0.4810 -0.4710 -0.4600 -0.4375 -0.4360 -0.4300 -0.4025
[28] -0.3150 -0.3000 -0.2700 -0.2550 -0.2500 -0.2365 -0.2215 -0.2200 -0.2050
[37] -0.1750 -0.1715 -0.1415 -0.0100  0.0350  0.0685  0.0800  0.1135  0.1470

$h.l
[1] -0.46

NSM3 documentation built on April 6, 2021, 5:05 p.m.

Related to owa in NSM3...