Key operation
Linear Regression
The regression formula for linear regression is:
= +
y A Bx
Example: Consider the following table with the
annual average temperature and latitude of some
European capitals.
City
Amsterdam
Athens
Bonn
Brussels
Copenhagen
Dublin
Lisbon
London
(
)
(
)
(
)
(
)
(
)
(
)
(
)
Temperature
( Celsius)
13
24
13
14
11
13
19
14
41
Calculation
å
3
x
å
2
x y
å
4
x
Regression
coefficient C
ˆ x
1
ˆ x
2
ˆ y
Latitude
( )
54
37
52
52
54
53
39
53