Distinguishing inductive and deductive reasoning