Thanks to
Russ Lenth
for providing the Java class to compute the p values.