Multi-factor analysis of variance