> Looks like code and docs are not in sync. I guess the only way to avoid touching the code in these examples is to swap "x" and "y" in the docs - that will make the p value consistent with the code, but then, of course, the meaning of the sign of the corresponding statistic gets flipped around.