Analysis of frequency data: The ANOFA framework