SMS dit: Linear statistical inference and its applications