SMS: Regression analysis by example