What this activity asks. This is a data-collection exercise, so there is no single numerical answer printed in the book. You must collect your own class data and compute the correlation coefficient from it. Below is a complete, rigorous method together with a worked illustrative example (clearly labelled as illustrative, not real class data).
Step 1: Collect the data. For each classmate \(i=1,2,\dots,n\), record two measurements:
- \(x_i\): the height of the classmate (in cm), measured by you;
- \(y_i\): the height of that classmate's benchmate (in cm), as reported by the classmate.
Keep the pairs matched: the \(y\)-value must belong to the same student's benchmate as the \(x\)-value belongs to that student. Use the same unit (cm) for both variables.
Step 2: Compute the correlation coefficient. Use Karl Pearson's formula
\[ r=\frac{\sum_{i=1}^{n}(x_i-\bar x)(y_i-\bar y)}{\sqrt{\sum_{i=1}^{n}(x_i-\bar x)^2}\,\sqrt{\sum_{i=1}^{n}(y_i-\bar y)^2}}, \]
where \(\bar x=\frac1n\sum x_i\) and \(\bar y=\frac1n\sum y_i\). Equivalently, use the shortcut form
\[ r=\frac{n\sum x_iy_i-\left(\sum x_i\right)\left(\sum y_i\right)}{\sqrt{n\sum x_i^2-\left(\sum x_i\right)^2}\,\sqrt{n\sum y_i^2-\left(\sum y_i\right)^2}}. \]
Both formulas give the same value; the shortcut form avoids rounding the means. Note that \(-1\le r\le 1\).
Step 3: Interpret. The sign of \(r\) gives the direction and its magnitude gives the strength:
- \(r>0\): taller students tend to have taller benchmates (positive association);
- \(r<0\): taller students tend to have shorter benchmates (negative association);
- \(r\) near \(0\): little or no linear association;
- \(|r|\) near \(1\): strong linear association; \(|r|\) near \(0.5\): moderate; \(|r|\) near \(0\): weak.
Also state clearly that correlation measures only linear association and does not by itself prove causation.
Illustrative example (made-up data, not real measurements). Suppose five students give the pairs \((x,y)\) in cm:
\[ (150,152),\ (155,158),\ (160,157),\ (165,168),\ (170,171). \]
Here \(n=5\), \(\sum x_i=800\), \(\sum y_i=806\), \(\sum x_i^2=129{,}450\), \(\sum y_i^2=130{,}522\), and \(\sum x_iy_i=129{,}331\). Then
\[ n\sum x_iy_i-\left(\sum x_i\right)\left(\sum y_i\right)=5(129{,}331)-(800)(806)=646{,}655-644{,}800=1{,}855, \]\[ n\sum x_i^2-\left(\sum x_i\right)^2=5(129{,}450)-800^2=647{,}250-640{,}000=7{,}250, \]\[ n\sum y_i^2-\left(\sum y_i\right)^2=5(130{,}522)-806^2=652{,}610-649{,}636=2{,}974. \]
Therefore
\[ r=\frac{1{,}855}{\sqrt{7{,}250}\sqrt{2{,}974}}\approx\frac{1{,}855}{(85.15)(54.53)}\approx\frac{1{,}855}{4{,}643}\approx 0.40. \]
So in this illustrative data set the association is positive but weak-to-moderate: students who are taller than average tend, slightly, to have benchmates who are also taller than average. With real class data, substitute your own sums into the same formula and interpret the sign and size of \(r\) in the same way.
Caution. The value of \(r\) depends on the actual measurements; do not copy the illustrative value. Report your own \(n\), your computed \(r\), and a one- or two-sentence interpretation of its sign and strength.