script to generate correlated data and compare methods