corr_w_scatter: code for simulated vs real data