SMT 1063-Week 10 (Correlation and Regression)
SMT 1063-Week 10 (Correlation and Regression)
SMT 1063-Week 10 (Correlation and Regression)
Correlation &
Regression
SMT 1063
LECTURE 10
NUSKA RUFFIN
Introduction 2
Degree of freedom = n - 2
Example 4
20
Test the significance of the correlation coefficient found in Example
3.
Use α = 0.05 and r = 0.982
State the hypothesis: H0: ρ = 0 H1: ρ ≠ 0
Find the critical values from the t distribution
(α = 0.05 and d.f = 6-2 = 4) = ± 2.776
Compute the test value ; 21
For any given value of r, the r² will denote a value that is closer to 0 and
will be devoid of a sign.
Note: When r2 > 50%, one variable is responsible for more than half of the variation in the other; the
relationship is obviously strong
Regression 24
Regression line is the data’s line of the best fit; drawn when the
correlation coefficient between two variables is significant
𝒚′ = 𝒂+ 𝒃𝒙
where a is the y’ intercept and b is the slope of the line
same values are used in computing the correlation coefficient
27
Plot the two points in the graph paper and draw the line of best
fit
The sign of the correlation coefficient and the sign of the slope
of the regression line is always same
30
Question: 31
Find the equation of the regression line for the data in Example 2