Thinking Dictionary
Independent vs dependent variables
What it is
A variable is any part of an experiment that can vary or change.¹ In a simple experiment, two variables matter most.
The independent variable is the thing you change on purpose. The dependent variable is the thing you measure, to see whether it changed as a result. A psychology textbook puts it simply: an independent variable "is manipulated or controlled by the experimenter," while a dependent variable "is what the researcher measures to see how much effect the independent variable had."²
An easy way to remember it: the dependent variable depends on the independent variable.² You control the cause. You measure the effect.
Why it matters
Naming your two variables forces you to be clear about what you are testing. The textbook suggests a handy question: "What effect does the independent variable have on the dependent variable?"²
In a well-designed experiment, the independent variable is the only important difference between the groups being compared.² Everything else stays the same. These other things you keep steady are sometimes called controlled variables. If you change two things at once, you can't tell which one caused the result.
Take a textbook example. Students learn algebra either from a computer program or from a teacher. The type of teaching is the independent variable. How much the students learned, measured by a test, is the dependent variable.²
Both variables need to be described precisely, so others know exactly what was changed and what was measured.² The Operational definitions entry explains how.
A real example
In 1968, psychologists Darley and Latané ran a famous study about helping. People heard what sounded like an emergency over an intercom. They believed either that they alone could hear it, or that 1 or 4 unseen others could hear it too.³
- Independent variable: how many other listeners people believed were present (none, 1 or 4).
- Dependent variable: how quickly people reported the emergency.
As predicted, the more bystanders people believed were present, the slower they were to report it.³ The researchers reported this with "p < .01." In plain words, a difference this large would be very unlikely if the number of bystanders made no difference at all.
The researchers also measured people's personality and background. These did not predict helping.³ That's a useful lesson. Not everything you measure is an independent variable. Only the thing you deliberately change is.
Decades later, a review pooled 105 results from more than 7,700 people. On average, having others present reduced helping. The review gave this as an effect size of g = −0.35.⁴ An effect size is a standard way of saying how big a difference is. The minus sign means less helping when others were around. The effect was weaker when people saw the situation as dangerous.⁴
In single-person experiments
Research on single people often calls the dependent variable the outcome variable. A claim that one thing caused another needs the outcome to change when the independent variable is changed.⁵ In a self-experiment, you change the independent variable on and off, and watch whether your outcome follows.
Sometimes people use "independent variable" more loosely, for something that was only observed, not changed. That is a different situation. When two things are only seen together, see the Correlation vs causation entry.
In everyday life
- Focus. Independent variable: where your phone is while you study. Dependent variable: pages read in 30 minutes.
- Spending. Independent variable: whether you leave your bank card at home on weekdays. Dependent variable: weekly spending.
- Screen time. Independent variable: whether notifications are on or off. Dependent variable: daily screen-time total.
- Planning your own test. The Experiment Planner on /apply asks what you will change and what you will measure. The first is your independent variable. The second is your dependent variable. Keep everything else the same.
The common trap
The first trap is mixing them up. Ask: "Which one did I change, and which one did I measure?"²
The second trap is changing several things at once to save time. Then you can't tell which change caused the result.²
The third trap is treating every measured trait as an independent variable. Darley and Latané measured personality, but they didn't change it, and it didn't predict helping.³
The fourth trap is leaving a variable vague. "Feel more productive" has to become something you can count.²
Try it
Write a mini-plan: "Does where my phone is (on the desk or in another room) change how many pages I read in 30 minutes?"
Label the independent variable and the dependent variable. Then list three things you'll keep the same, such as the time of day, the book and the chair. What else might sneak in and change along with your phone's location?
Related concepts
Confounding variable · Correlation vs causation · Randomized controlled trial · Hypothesis · Operational definitions · Control group · Baseline · Manipulation check
Sources
-
Clark, M. A., Douglas, M., & Choi, J. (2018). Biology 2e, Section 1.1 "The Science of Biology". OpenStax (Rice University). OpenStax Biology 2e §1.1
-
Spielman, R. M., Jenkins, W. J., & Lovett, M. D. (2020). Psychology 2e, Section 2.3 "Analyzing Findings". OpenStax (Rice University). OpenStax Psychology 2e §2.3
-
Darley, J. M., & Latané, B. (1968). Bystander intervention in emergencies: Diffusion of responsibility. Journal of Personality and Social Psychology, 8(4, Pt. 1), 377–383. doi:10.1037/h0025589
-
Fischer, P., Krueger, J. I., Greitemeyer, T., Vogrincic, C., Kastenmüller, A., Frey, D., Heene, M., Wicher, M., & Kainbacher, M. (2011). The bystander-effect: A meta-analytic review on bystander intervention in dangerous and non-dangerous emergencies. Psychological Bulletin, 137(4), 517–537. doi:10.1037/a0023304
-
Kratochwill, T. R., Hitchcock, J., Horner, R. H., Levin, J. R., Odom, S. L., Rindskopf, D. M., & Shadish, W. R. (2010). Single-case designs technical documentation (Version 1.0, pilot). What Works Clearinghouse. WWC single-case design technical documentation (PDF)