SMS: Linear statistical models