add metadata_group to statistical results table