# HollBivSym: Hollander Bivariate Symmetry In NSM3: Functions and Datasets to Accompany Hollander, Wolfe, and Chicken - Nonparametric Statistical Methods, Third Edition

 HollBivSym R Documentation

## Hollander Bivariate Symmetry

### Description

Function to compute the Hollander A statistic for testing bivariate symmetry.

### Usage

``````HollBivSym(x,y=NULL)
``````

### Arguments

 `x` Either a matrix containing both groups of data or a vector containing the first group of data. `y` If x is a vector, y is a required vector containing the second group of data. Otherwise, not used.

### Details

The data entry is intended to be flexible, so that the data can be entered in either of two ways. The following are equivalent:

`HollBivSym(x=matrix(c(1,2,3,4,5,6),ncol=2,byrow=T))` `HollBivSym(x=c(1,3,5),y=c(2,4,6))`

### Value

Returns the observed Hollander A statistic.

Grant Schneider

### Examples

``````
##Hollander-Wolfe-Chicken Table 3.16 example
recipient<-c(61.4,63.3,63.7,80,77.3,84,105)
donor<-c(70.8,89.2,65.8,67.1,87.3,85.1,88.1)

HollBivSym(recipient,donor)

##Or, equivalently
table3.16<-matrix(c(61.4,63.3,63.7,80,77.3,84,105,70.8,89.2,65.8,67.1,87.3,85.1,88.1),ncol=2)
HollBivSym(table3.16)
``````

NSM3 documentation built on Sept. 8, 2023, 5:52 p.m.