Nonparametric analysis of statistical interactions