Running regressions for all groups