should work for correlations and regressions as well