Measuring Linear Association with the Correlation Function