DOC: add comments to ANOVA code