determine a rule that relates 2 variables