What Correlation Describes
Covariance describes whether two random variables tend to vary together, but its numerical size depends on the units of both variables. Correlation removes those units by standardizing each variable. The result is useful for describing the direction and strength of a linear association, but it does not summarize every feature of how two variables are related.
Let \(X\) and \(Y\) be random variables with finite, positive variances. Write \(\mu_X=E[X]\), \(\mu_Y=E[Y]\), \(\sigma_X=\sqrt{\operatorname{Var}(X)}\), and \(\sigma_Y=\sqrt{\operatorname{Var}(Y)}\). The correlation coefficient is
The requirement that both variances be positive matters: if either variable is constant, its standard deviation is zero and the ratio is not defined. The Cauchy–Schwarz inequality gives \(-1\leq \rho_{X,Y}\leq 1\). Correlation is dimensionless, unlike covariance, which carries the units of \(X\) multiplied by the units of \(Y\).
Interpreting Sign and Magnitude
A positive correlation means that values of \(X\) above its mean tend, in the covariance-weighted sense, to occur with values of \(Y\) above its mean, and values below one mean tend to occur with values below the other. A negative correlation indicates a tendency for values above one mean to occur with values below the other. These statements describe an overall linear tendency; they do not say that every possible pair of values follows the same direction.
The magnitude \(|\rho_{X,Y}|\) measures how closely the standardized variables follow a linear pattern. Values close to 1 or \(-1\) indicate a strong linear association, while values near zero indicate a weak linear association. There is no universal numerical boundary between “weak,” “moderate,” and “strong.” An interpretation should consider the context, the variables’ possible values, and the purpose of the analysis.
At the endpoints, \(\rho_{X,Y}=1\) or \(-1\) means the variables have an exact positive or negative linear relationship, respectively, with probability 1. This is more specific than merely saying that the variables are closely associated. At the other extreme, \(\rho_{X,Y}=0\) rules out a nonzero linear association measured by correlation, but does not rule out a curved or otherwise nonlinear relationship.
Why Standardizing Removes Units
To see why correlation is unitless, standardize each variable by subtracting its mean and dividing by its standard deviation. The standardized variables are \((X-\mu_X)/\sigma_X\) and \((Y-\mu_Y)/\sigma_Y\). Their covariance is exactly the correlation:
The first equality follows from the covariance rule for multiplying variables by constants: subtracting a constant from either variable does not change covariance, and dividing by the standard deviations multiplies covariance by \(1/(\sigma_X\sigma_Y)\). Standardization changes each measurement into a count of standard deviations from its mean. Correlation is therefore the covariance of those standardized measurements.
Worked Example: Calculating and Interpreting a Positive Correlation
In a hypothetical operating model, four operating conditions are equally likely. Let \(X\) be a coded measure of service demand and \(Y\) a coded measure of processing time. The four possible pairs are \((0,1)\), \((1,3)\), \((2,2)\), and \((3,4)\). Calculate the correlation and interpret it. Assume the equally likely conditions define the probability model, and do not treat the result as evidence that demand causes processing time.
Method. Calculate the means, variances, and covariance under the four equally likely outcomes, then divide the covariance by the product of the standard deviations.
The mean of \(X\) is
The mean of \(Y\) is
For each outcome, calculate the product of the deviations from the respective means:
Each outcome has probability \(1/4\), so the covariance is the average of the four products:
The squared deviations of \(X\) are \(2.25, 0.25, 0.25, 2.25\), so
The squared deviations of \(Y\) are also \(2.25, 0.25, 0.25, 2.25\), giving \(\operatorname{Var}(Y)=1.25\). Thus \(\sigma_X=\sigma_Y=\sqrt{1.25}\), and
The model has a positive, fairly strong linear association: higher demand values tend to accompany higher processing-time values. The correlation is not 1, so the four outcomes do not lie on an exact increasing straight line. The calculation establishes an association in this probability model, not a causal effect.
Check. The value \(0.8\) lies between \(-1\) and \(1\), as required. The positive sign agrees with the overall tendency for larger \(X\) values to accompany larger \(Y\) values.
Correlation Does Not Capture Every Relationship
Correlation measures linear association, not the full structure of dependence. In particular, a curved relationship can be present even when correlation is zero. The next example makes this distinction explicit.
Worked Example: Zero Correlation With a Clear Relationship
Let \(X\) take the values \(-1,0,1\), each with probability \(1/3\), and define \(Y=X^2\). Calculate the correlation and determine whether zero correlation means that \(X\) and \(Y\) have no relationship.
Method. Find the means, covariance, and standard deviations, then compare the correlation result with the conditional behavior of \(Y\).
The possible pairs are \((-1,1)\), \((0,0)\), and \((1,1)\). Therefore,
Since \(XY=X^3\), its values are \(-1,0,1\), and
Using the product-moment identity, the covariance is
The variances are positive. In particular,
and, because \(Y^2\) is 1 at \(X=-1\) and \(X=1\), and 0 at \(X=0\),
Consequently, \(\rho_{X,Y}=0/(\sqrt{2/3}\sqrt{2/9})=0\). Yet \(Y\) is determined exactly by \(X\): \(Y=X^2\). For another direct check, \(P(Y=0)=1/3\), while \(P(Y=0\mid X=0)=1\). The conditional probability differs from the unconditional probability, so the variables are not independent.
The zero correlation arises because the positive and negative values of \(X\) cancel in the covariance calculation. Correlation detects no linear association here, although a definite nonlinear relationship exists.
Check. The calculation has a nonzero denominator because both variances are positive. The result of zero is therefore a valid correlation, not an undefined ratio.
Changes of Scale and Coding
Changing measurement units does not usually change correlation. More precisely, let \(U=a+bX\) and \(V=c+dY\), where \(a,c\) are constants and \(b,d\) are nonzero constants. Adding constants shifts the variables but does not change their deviations from their means. Multiplying by a positive constant preserves the direction of deviations; multiplying by a negative constant reverses it. In equations,
Substitution into the definition of correlation gives
Thus, positive rescaling and shifting leave correlation unchanged. Reversing the coding of exactly one variable changes the sign, while reversing both leaves the sign unchanged. The units of covariance do change with the units of the variables.
Worked Example: Interpreting a Correlation After Changing Units
In a hypothetical model of maintenance activity and repair cost, \(X\) is monthly maintenance time in hours and \(Y\) is monthly unexpected repair cost in dollars. Suppose the model has \(\rho_{X,Y}=-0.60\), \(\sigma_X=2\) hours, and \(\sigma_Y=\$5{,}000\). Find the covariance. Then express maintenance time in minutes and explain what happens to the covariance and correlation. Assume both variables have finite, positive variances.
Method. Rearrange the definition of correlation to find covariance, then apply the scale-change result.
First, \(\operatorname{Cov}(X,Y)=\rho_{X,Y}\sigma_X\sigma_Y\). Substituting the given values,
Let \(M=60X\) be maintenance time in minutes, while \(Y\) remains measured in dollars. Here the scale factors are \(b=60\) and \(d=1\), so
Because both variables have been scaled by positive constants overall, the correlation remains \(-0.60\). Its negative sign describes a negative linear association in the hypothetical model. It does not establish that increasing maintenance time causes repair costs to fall; other factors or the way the model is constructed could affect both variables.
Check. Converting hours to minutes multiplies the covariance by 60, giving the stated change in units and numerical value. The correlation is unchanged because the same positive scaling also multiplies the maintenance-time standard deviation by 60.
Common Traps and Careful Conclusions
A frequent calculation error is to treat covariance and correlation as the same number. In the first worked example, the covariance was \(1\), the standard deviations were each \(\sqrt{1.25}\), and the correlation was \(1/1.25=0.8\). The incorrect calculation \(\rho_{X,Y}=\operatorname{Cov}(X,Y)=1\) omits the standard-deviation denominator. It also loses the distinction between covariance, which has product units, and correlation, which has no units.
Another overclaim is to read a correlation as a causal statement. A negative correlation does not prove that increasing one variable reduces the other; a positive correlation does not prove that increasing one variable raises the other. Correlation describes the joint behavior represented by the probability model. A causal conclusion requires additional information and assumptions that correlation alone does not provide.
A third trap is to treat zero correlation as proof of independence. The quadratic example shows why that is invalid: the variables have zero correlation but are dependent. More generally, correlation summarizes a particular linear feature of a joint distribution, not its entire structure. Even knowing a nonzero correlation does not specify all possible conditional probabilities or the shape of the joint distribution.
When interpreting a correlation, state the variables and the direction of the linear association, describe its magnitude cautiously, and limit the conclusion to what the coefficient measures. Do not convert it into a percentage, a causal effect, or a complete description of dependence.
Check Your Understanding
For each problem, distinguish the numerical calculation from what the correlation does and does not establish.
- A hypothetical pair of random variables has \(\operatorname{Cov}(X,Y)=12\), \(\sigma_X=3\), and \(\sigma_Y=8\). Calculate the correlation and state its direction. (Answer: \(\rho_{X,Y}=12/(3\cdot8)=0.5000\), a positive linear association.)
- Suppose \(\rho_{X,Y}=-0.25\), and define \(U=5-2X\) and \(V=Y+7\). Find \(\rho_{U,V}\). (Answer: \(+0.25\); reversing the coding of \(X\) reverses the correlation sign, and the shift in \(Y\) does not affect it.)
- Let \(X\) take \(-2,0,2\) with equal probabilities and let \(Y=X^2\). What is \(\rho_{X,Y}\), and are the variables independent? (Answer: \(\rho_{X,Y}=0\); they are dependent because \(Y\) is determined by \(X\), and \(P(Y=0\mid X=0)=1\ne P(Y=0)=1/3\).)
- A hypothetical model has \(\rho_{X,Y}=0.90\), \(\sigma_X=4\) units, and \(\sigma_Y=\$3\). Calculate the covariance and give an appropriate interpretation. (Answer: \(\operatorname{Cov}(X,Y)=0.90(4)(3)=10.8\) unit-dollars; the model has strong positive linear association, but this does not establish causation.)
- A report gives a correlation of \(-0.40\) between two nonconstant random variables. What can be concluded about causation and independence from this value alone? (Answer: The model has negative linear association; the value alone establishes neither causation nor independence.)