Correlation vs Regression: The Difference in Simple Terms
#Correlation
2 ideas
Correlation vs Regression: The Difference in Simple Terms
AP Statistics: Interpreting Correlation with Guided Notes
Get new #Correlation ideas by email
Every Thursday: the week's best ideas, with the newest from #Correlation.
Related tags
Correlation: What It Means and What It Doesn't
Correlation is a way of describing how two measured things move together. If you record two variables for the same set of subjects — height and weight, hours studied and exam score, outside temperature and heating bills — correlation asks a simple question: when one of them is above its average, is the other one usually above its average too, usually below, or neither in particular?
The coefficient
The usual measure is a single number, written r, that runs from -1 to 1. A positive value means the two variables tend to rise and fall together; a negative value means one tends to go up as the other goes down. A value near zero means there is no consistent straight-line relationship. The size tells you how tightly the points hug a line, not how steep that line is: correlation has no units and no direction of its own, so a strong correlation can come from a shallow relationship and a weak one from a dramatic slope.
What the number can hide
Read more
The single most useful habit is to look at the data before you trust the summary. A scatterplot takes a moment to draw and routinely overturns what the coefficient seems to say.
- Four datasets can share the same correlation and look nothing alike — curved, flat with one extreme point, or a cloud with a stray outlier at the edge.
- Correlation measures straight-line association. A perfect curved relationship, like the arc of a thrown ball, can produce a coefficient near zero.
- A single unusual observation can pull r strongly in either direction. Check what happens when you set it aside.
- A narrow range of values flattens correlation. Restrict yourself to tall adults only and height and weight look far less related than they really are.
- Small samples produce unstable numbers. A striking coefficient from a handful of cases may not survive more data.
Correlation is not causation
Two variables can correlate because one causes the other, because the second causes the first, or because a third factor drives both. Ice cream sales and drowning incidents rise together, and neither causes the other — hot weather does. When groups are pooled, an association can even reverse direction once you separate them, which is why it pays to ask what else might be lumped together.
For beginners, three habits carry most of the weight: plot first, report the sample size alongside the coefficient, and describe what you found as association rather than effect. Correlation is a good first question about a dataset, not the last word on it.
#Correlation: frequently asked questions
How do I get started with correlation?
Begin by collecting paired observations: two measurements taken from the same set of subjects, so each row of your data has both values together. Before calculating anything, draw a scatterplot, because the picture often reveals a curve, a cluster or an outlier that the single summary number would hide. Only then compute the coefficient and describe what you see as an association rather than an effect.
What do I actually need in order to measure correlation?
You need two variables recorded on matching subjects, enough of them to be meaningful, and a rough sense of whether a straight-line summary is appropriate for the shape you see. A plotting tool matters more than a fancy calculator, since the graph is what keeps you honest. It also helps to note the sample size next to any coefficient you quote.
Which kind of correlation should I choose?
The choice depends on the shape of the relationship and the kind of data you have. If the points fall roughly along a straight line and both variables are measured on a continuous scale, a standard straight-line coefficient fits well; if the pattern curves steadily or your values are ranks rather than measurements, a rank-based measure describes the association better. In either case, confirm with a scatterplot that the summary is not fighting the data.
What does a weak or near-zero correlation really tell me?
It tells you there is no consistent straight-line pattern, not that the two things are unrelated. A strong curved relationship, such as the arc of a thrown ball, can produce a coefficient close to zero while still being perfectly predictable. A narrow spread of values can also flatten the number, so check whether you have restricted your range too much.
What are the most common mistakes people make with correlation?
The big ones are skipping the scatterplot, ignoring the sample size, and sliding from association into causation. A single unusual observation can swing the coefficient strongly in either direction, so it is worth seeing what happens when you set it aside. Pooling different groups together can also create or reverse a pattern, so ask what might be lumped into your dataset.
Videos come from YouTube and posts from Instagram; titles and summaries are our own. All rights belong to their creators.