Functions for creating summary tables for statistical reports.