A useful way to compare two approaches is to hold the input constant. In a controlled experiment, change one independent variable at a time. Record the dependent variable, repeat the measurement, and check whether an uncontrolled variable could explain the difference. A correlation alone does not establish causation. Before quoting this explanation, check the terminology against your course materials.