A generalized analysis of the dependence structure by means of ANOVA