regression for every group