Select data pairs and compute their correlation and leading/lagging relationships