SMS: Nonparametric statistical inference