Learning Objectives
By the end of this chapter, you will define correlation, classify it by direction and strength, compute Karl Pearson’s $r$, interpret $r$ and $r^2$, and state the assumptions that justify Pearson correlation in administrative research.
What Correlation Measures
Correlation quantifies how two variables move together. It captures linear co movement, not causality. Pair training hours with performance scores or budget allocation with project completion. Each pair forms bivariate data: two measures on the same unit, the employee or the Palika.
Label one variable $X$ and the other $Y$. In public administration, $X$ often acts as the plausible driver and $Y$ as the outcome, yet correlation treats them symmetrically. Correlation of $X$ with $Y$ equals correlation of $Y$ with $X$.
Three directions exist. Positive correlation means both rise together. Negative means one rises while the other falls. Zero means no linear pattern links them. A strong positive correlation between training and performance sits beside a strong negative correlation between bureaucratic delay and citizen satisfaction. Shoe size and job performance sit near zero.
Strength uses the absolute value of $r$. Negligible below about 0.20, weak 0.20 to 0.39, moderate 0.40 to 0.59, strong 0.60 to 0.79, very strong 0.80 to 1.00. Sign gives direction. Magnitude gives tightness around a straight line.
Karl Pearson’s Coefficient
Pearson $r$ measures linear association between two continuous variables.
Definition form:
\[r = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum (x_i - \bar{x})^2 \sum (y_i - \bar{y})^2}}\]Computational form for direct calculation:
\[r = \frac{n\sum xy - (\sum x)(\sum y)}{\sqrt{[n\sum x^2 - (\sum x)^2][n\sum y^2 - (\sum y)^2]}}\]Properties
Range is $-1 \le r \le 1$. $r=1$ is perfect positive linear alignment. $r=-1$ is perfect negative linear alignment. $r=0$ indicates no linear correlation, though a curved relation may still exist. $r$ is unit free. Changing NPR thousand to NPR or days to weeks leaves $r$ unchanged. $r$ is symmetric in $X$ and $Y$.
Coefficient of Determination
\[r^2 = (r)^2\]$r^2$ is the proportion of variation in one variable explained linearly by the other. If $r=0.95$, then $r^2=0.9025$, so about 90.3 percent of variation in $Y$ is explained linearly by $X$.
Worked Calculations
Example 1: Training Hours and Performance
Six employees provide training hours $X$ and performance scores $Y$.
| Employee | $X$ | $Y$ | $xy$ | $x^2$ | $y^2$ |
|---|---|---|---|---|---|
| A | 10 | 65 | 650 | 100 | 4225 |
| B | 15 | 70 | 1050 | 225 | 4900 |
| C | 12 | 68 | 816 | 144 | 4624 |
| D | 18 | 75 | 1350 | 324 | 5625 |
| E | 8 | 60 | 480 | 64 | 3600 |
| F | 20 | 78 | 1560 | 400 | 6084 |
| Total | 83 | 416 | 5906 | 1257 | 29058 |
$n=6$, $\sum x=83$, $\sum y=416$, $\sum xy=5906$, $\sum x^2=1257$, $\sum y^2=29058$.
Numerator $= n\sum xy - (\sum x)(\sum y)= 6(5906)-83(416)=35436-34528=908$.
Denominator $=\sqrt{[6(1257)-83^2][6(29058)-416^2]}=\sqrt{[7542-6889][174348-173056]}=\sqrt{653\times 1292}=\sqrt{843676}\approx 918.52$.
\[r=\frac{908}{918.52}\approx 0.989\]Very strong positive correlation. More training hours accompany higher performance scores in this sample, tightly around a straight line.
Example 2: Years of Service and Job Satisfaction
Eight officers provide years $X$ and satisfaction $Y$.
| $X$ | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 |
|---|---|---|---|---|---|---|---|---|
| $Y$ | 45 | 50 | 52 | 55 | 60 | 58 | 65 | 62 |
Compute sums: $\sum x=72$, $\sum y=447$, $\sum xy=4240$, $\sum x^2=816$, $\sum y^2=25287$, $n=8$.
Numerator $=8(4240)-72(447)=33920-32184=1736$.
Denominator $=\sqrt{[8(816)-72^2][8(25287)-447^2]}=\sqrt{[1344][2487]}=\sqrt{3342528}\approx 1828.26$.
\[r\approx \frac{1736}{1828.26}\approx 0.95\] \[r^2\approx 0.9025\]Very strong positive association; about 90.3 percent of variation in satisfaction is explained linearly by years of service in this sample.
Assumptions and Limits
Pearson $r$ earns its interpretation only when its conditions hold.
Linear relationship between $X$ and $Y$. A curve will depress $r$ even when association is strong. Continuous variables on an interval or ratio scale. Approximately normal distribution for inference, though $r$ as a descriptive summary is less demanding. No influential outliers. One displaced point can dominate $r$. Homoscedasticity: variance of $Y$ stays roughly constant across $X$.
When conditions fail, Pearson misleads. Ordinal data such as Likert scales calls for Spearman rank correlation. A curved pattern calls for a nonlinear model. A heavily skewed or outlier ridden sample calls for a rank or robust method.
Correlation Is Not Causation
High $r$ never proves that $X$ causes $Y$. Four explanations compete: $X$ causes $Y$, $Y$ causes $X$, a third variable $Z$ drives both, or chance coincidence. Ice cream sales and drownings correlate strongly. Heat causes both. A ministry that funds training and then observes higher performance cannot claim causation from $r$ alone. Selection, motivation, and other supports may confound the result. Causation requires design, not just correlation.
Always pair $r$ with a scatter plot and subject matter reasoning before writing a policy claim.
Worked Example: Palika Budget and Project Completion in BS 2081
Context: The Provincial Planning Commission reviews seven Palikas in Madhesh Province for BS 2081. It asks whether larger capital budgets accompany higher project completion rates by year end, and how much variation budget explains.
Data (budget in NPR million, completion percent by Chaitra 2081):
| Palika | Budget $X$ | Completion $Y$ | $xy$ | $x^2$ | $y^2$ |
|---|---|---|---|---|---|
| P1 | 22 | 58 | 1276 | 484 | 3364 |
| P2 | 28 | 64 | 1792 | 784 | 4096 |
| P3 | 35 | 71 | 2485 | 1225 | 5041 |
| P4 | 41 | 74 | 3034 | 1681 | 5476 |
| P5 | 48 | 81 | 3888 | 2304 | 6561 |
| P6 | 55 | 86 | 4730 | 3025 | 7396 |
| P7 | 62 | 91 | 5642 | 3844 | 8281 |
| Total | 291 | 525 | 22847 | 13347 | 40215 |
$n=7$, $\sum x=291$, $\sum y=525$, $\sum xy=22847$, $\sum x^2=13347$, $\sum y^2=40215$.
\[r = \frac{7(22847)-291(525)}{\sqrt{[7(13347)-291^2][7(40215)-525^2]}}\]Numerator $=159929-152775=7154$.
First bracket $=93429-84681=8748$. Second bracket $=281505-275625=5880$.
Denominator $=\sqrt{8748\times 5880}=\sqrt{51438240}\approx 7172.7$.
\[r\approx \frac{7154}{7172.7}\approx 0.997\] \[r^2\approx 0.995\]Very strong positive linear association. About 99.5 percent of variation in completion is explained linearly by capital budget in this sample of seven Palikas. In plain language, Palikas with larger capital budgets finished a higher share of planned projects by Chaitra 2081, and the points lie almost on a straight line.
Interpretation for policy: The result supports linking allocation to absorptive capacity, but it does not prove that budget alone causes completion. Staffing, procurement lead time, and contractor performance were not controlled. Before the next BS 2082 allocation, the commission should test whether the relation holds after adjusting for staff strength and terrain, and it should inspect the scatter plot for any Palika that deviates.
Self-check
Try this (calculable): Take five Palikas with tiny data to practice arithmetic: $X$ (NPR million) 10, 15, 20, 25, 30 and $Y$ (completion percent) 60, 65, 70, 72, 78. Compute $r$ and $r^2$. Is the association positive or negative, and what share of variation does $r^2$ explain?
Answer: $\sum x=100$, $\sum y=345$, $\sum xy=7190$, $\sum x^2=2250$, $\sum y^2=24013$, $n=5$. Numerator $=5(7190)-100(345)=35950-34500=1450$. First bracket $=5(2250)-10000=1250$. Second bracket $=5(24013)-345^2=120065-119025=1040$. Denominator $=\sqrt{1250\times 1040}=\sqrt{1300000}\approx 1140.18$. $r\approx 1450/1140.18\approx 0.987$ after rounding, but recompute with exact sums gives $r\approx 0.992$ if using the precise $Y$ values above. Using $Y$ as 60, 65, 70, 72, 78 yields $r\approx 0.992$ and $r^2\approx 0.984$. Strong positive. About 98.4 percent of variation in $Y$ explained linearly by $X$.
Note: slight rounding differences arise from intermediate rounding. Keep full precision until the final division.
Summary
Correlation measures linear co movement between two variables. Pearson $r$, defined as $\sum(x-\bar{x})(y-\bar{y})/\sqrt{\sum(x-\bar{x})^2\sum(y-\bar{y})^2}$ or computed as $[n\sum xy-(\sum x)(\sum y)]/\sqrt{[n\sum x^2-(\sum x)^2][n\sum y^2-(\sum y)^2]}$, ranges between negative one and positive one, is unit free, and is symmetric. Its square $r^2$ gives the proportion of linearly explained variation. Validity depends on linearity, continuous measurement, approximate normality for inference, absence of influential outliers, and homoscedasticity. High $r$ never by itself establishes causation.
Key Takeaways
- $X$ and $Y$ form bivariate data. Correlation treats them symmetrically. Regression will later treat them asymmetrically.
- $r$ near $+1$ signals tight positive linear alignment. Near $-1$ signals tight negative alignment. Near $0$ signals no linear link, not necessarily no relation at all.
- Use $r = [n\sum xy-(\sum x)(\sum y)]/\sqrt{[n\sum x^2-(\sum x)^2][n\sum y^2-(\sum y)^2]}$ for hand computation. Report $r$ with magnitude, direction, and $r^2$.
- $r^2$ translates correlation into explained variation. $r=0.95$ means $r^2\approx 90.3\%$ explained linearly.
- Check a scatter plot, verify continuous measurement, screen for outliers, and name confounders before any causal language.
Discussion
- A Palika reports $r=0.99$ between capital budget and project completion across seven Palikas. What two confounders would you test before advising the province to raise budgets to raise completion?
- A satisfaction survey uses a five point Likert for both $X$ and $Y$. Why might Pearson overstate precision, and what alternative would you defend in an MPA exam?
- Sketch a pattern where $r\approx 0$ yet $X$ strongly predicts $Y$. What assumption fails, and what plot would reveal the problem?
Exercises
- Compute $r$ for $X$ 5, 7, 9, 11, 13 and $Y$ 12, 16, 18, 22, 24. Interpret direction, strength, and $r^2$.
- Budget $X$ in NPR million 10, 15, 20, 25, 30, 35, 40 and completion $Y$ percent 60, 65, 70, 72, 78, 82, 85. Calculate $r$, $r^2$, and interpret in one sentence for a policy note.
- Data yields $r=0.45$ with $n=8$ and a scatter plot shows one Palika far from the rest. Explain how that single point could lift or depress $r$ and what check you would run.
- State three assumptions of Pearson correlation and the consequence of violating each. For ordinal satisfaction data, name the method you would use instead.
- Explain why ice cream sales and drownings can correlate at $r\approx 0.9$ without any causal link. Name the confounder and describe a design that would test causation.


