Statistical framework to define subgroups in complex datasets
