Linear regression with dummy coding