ANCOVA and tests of frequencies