Computer code for the test statistic proposed in [Hlávka, Hušková, and Meintanis (2011): Tests for independence in non-parametric heteroscedastic regression models, Journal of Multivariate Analysis 102: 816-827].