Learn R Programming

NSM3 (version 1.18)

HoeffD: Function to compute Hoeffding's D statistic for small sample sizes.

Description

This will calculate Hoeffding's D statistic following section 8.6 of Hollander, Wolfe & Chicken, Nonparametric Statistical Methods, 3e. Uses the correction for ties given at (8.92).

Usage

HoeffD(x, y, example=FALSE)

Arguments

x

first data vector

y

second data vector

example

if true, analyzes the data from Example 8.6

Author

Eric Chicken

Examples

Run this code
##Example 8.6 Hollander-Wolfe-Chicken##
HoeffD(example=TRUE)

Run the code above in your browser using DataLab