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).