Tools for regression models