Correlation and Regression
Correlation and Regression
&
Regression
Prof. G.R.C.Nair
1
Correlation Analysis
• Correlation Analysis is a
statistical technique used to
measure the strength of the
association between two
variables.
• This is very useful to predict
future scenario for business.
Scatter Diagram
140
120
100
S a le s
80
60
40
20
0
0 10 20 30 40 50 4
A d ve rtis i ng
Direct Linear
6
X
Y
Direct Nonlinear
X
7
• No association / No correlation
• Correlated ?
Y
X
8
Perfect Negative Correlation
10
9
8
7
6
Y 5
4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10
X
Perfect Positive Correlation
10
9
8
7
6
5
Y4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10
X
Zero Correlation
10
9
8
7
6
Y 5
4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10
X
Strong Positive Correlation
10
9
8
7
6
Y 5
4
3
2
1
0
0 1 2 3 4 5 6 7 8 9 10
X
Nature of Correlation
Correlation can be
• Positive or Negative
• Linear or Nonlinear
• Perfect / Strong / Weak
13
Coefficient of Correlation, r
ΣY Σ X
a = −b
n n 20
Example -1
100
90
Price ($)
80
70
60
400 500 600 700 800
Page 23
Example 1 contn
636 4,900
a= − 0.05143 = 48.0
8 8
8(397,200) − (4,900)(636)
b= 2
= .05143
8(3,150,000) − (4,900)
Example 1 contn
Y’ = 48.0 + .05143X
Y ′ = 48.0 + 0.05143 X
= 48.0 + 0.05143(800) = 89.14
26
Example 2/HW
27
Assumptions
30
Significance testing
34
Example 4/ HW
Student A B C D E F G H I J
Hrs 45 30 90 60 105 65 90 80 55 75
Mark 40 35 75 65 90 50 90 80 45 65
36