Corrected regression with rgamma