Unit 9 Bivariate statistics
Key unit competence: Extend understanding, analysis and interpretation of bivariate data to correlation coefficients and regression lines.
Key ideas
- Bivariate data are pairs . A scatter diagram shows the pattern: positive, negative or no correlation; strong or weak.
- Covariance: .
- Pearson correlation coefficient: , with . near 1: strong positive; near : strong negative; near 0: weak or no linear correlation.
- Regression line of on : . Of on : . Both lines pass through ; the product of their slopes .
- Spearman's rank correlation: where is the difference in ranks.
- Use the regression line of on to predict from (interpolation is safer than extrapolation). Correlation does not prove causation.
Formulas to know
Common misconceptions
- " means there is no relationship." It means no linear relationship; there may be a curved one.
- "A strong correlation proves that causes ." No: a third factor may cause both.
Worked examples
Example 1. Data . Find , and the covariance.
Solution
, . ; .
Example 2. For the same data find and the regression line of on .
Solution
; . . Line: , .
Practice questions
Easier and harder questions are mixed, just like in a real exam.
For the data : 2, 4, 6, 8; : 3, 7, 5, 9, find , , and .
Show answer
, . ; . ; . .
Common mistake: Using in some formulas and in others.
Give the value of for the points and justify.
Show answer
: the points lie exactly on the line with positive slope.
Common mistake: Computing a covariance and forgetting to divide by .
Find the regression line of on for the same data and predict when .
Show answer
Slope : , ; at , .
Common mistake: Using the slope .
Explain why extrapolating far beyond the data is risky, with an example.
Show answer
The linear pattern may not continue. A child's height grows with age up to about 18, but predicting the height at 40 with the same line gives a wrong answer.
Common mistake: Assuming every relationship stays linear forever.
Ten students' ranks in Maths and Physics give . Find and interpret.
Show answer
: strong positive agreement.
Common mistake: Using instead of .
Show that does not change if all values are increased by 10.
Show answer
Deviations are unchanged, so and are unchanged; is the same.
Common mistake: Adding 10 to .
Describe the correlation you expect between hours of exercise per week and resting heart rate.
Show answer
Negative: more exercise tends to go with a lower resting heart rate (other factors also matter).
Common mistake: Claiming exercise is the only cause.
The two regression lines are and . Find and the mean point.
Show answer
, (positive slopes). Solve: , , , .
Common mistake: Taking .
Matching and drag-and-drop
Matching
Match each item in column A with the correct answer in column B. Write the letter next to each number.
Column A Column B 1. Using , estimate when . a. 2. The regression lines are and . Find . b. 3. For 6 ranked pairs, . Find . c. 4. Same data (, , , , ). Estimate when . d. Show answer
1 → d () · 2 → a () · 3 → c () · 4 → b ()
- Step 1. .
Step 2. . - Step 1. Both lines pass through , so solve them together.
Step 2. .
Step 3. . - Step 1. .
Step 2. . - Step 1. Use on : .
Step 2. .
- Step 1. .
Drag and drop
Choose the correct word or phrase from the box for each gap. One word in the box is not needed.
unchanged, · a strong negative linear relationship · ·- Each is replaced by and each by . The new correlation coefficient is .
- Every value is multiplied by . The new correlation coefficient is .
- means .
Show answer
1: unchanged, · 2: · 3: a strong negative linear relationship
- Step 1. Adding constants moves the data but not its shape.
Step 2. Multiplying by a positive number does not change . So is unchanged. - Step 1. Scaling by a positive number leaves unchanged.
Step 2. A negative factor reverses the direction, so becomes . - Step 1. The sign gives the direction: negative.
Step 2. close to 1 means strong. is not a slope.
Matching
Match each item in column A with the correct answer in column B. Write the letter next to each number.
Column A Column B 1. The regression line is . Find the residual for the point . a. 2. Data : 2, 4, 6, 8 and : 1, 3, 4, 6. Find . b. 3. The two regression slopes are and . Find . c. 4. With the same data and , find the regression line of on . d. Show answer
1 → c () · 2 → b () · 3 → d () · 4 → a ()
- Step 1. Predicted value: .
Step 2. Residual observed predicted . - Step 1. , , .
Step 2. . - Step 1. .
Step 2. Both slopes are positive, so . - Step 1. , so slope .
Step 2. .
- Step 1. Predicted value: .
Drag and drop
Choose the correct word or phrase from the box for each gap. One word in the box is not needed.
· · ·- Which value cannot be a correlation coefficient? →
- For the same data , →
- Two judges rank 4 items. A: 1, 2, 3, 4; B: 2, 1, 4, 3. Find . →
Show answer
1: · 2: · 3:
- Step 1. Always .
Step 2. is outside this interval. - Step 1. .
Step 2. . - Step 1. : , so .
Step 2. .