Professional Documents
Culture Documents
Covariance
Covariance is a measure of how much two
random variables change together
Correlation
• (Use U=X-75,V=Y-125)
Regression
A linear regression consists of finding the best
fitting straight line through the points.
Lines of regression
• Regression line of y on x
y
y− y =r (x − x)
x
• Regression line of x on y
x
x−x =r ( y − y)
y
Where
x ( x − x )( y − y )
r = bxy =
y ( y − y ) 2
y ( x − x )( y − y )
r = byx =
x ( x − x ) 2
Coefficient of determination
x y
r .r =r 2
y x
Correlation coefficient
r = byx.bxy
Regression, Correlation
From the following table, find
(a) The two regression lines
(b) Determine the correlation coefficient between the
marks in economics and statistics.
(c) Most likely marks in statistics when marks in
economics are 30
Marks in 25 28 35 32 31 36 29 38 34 32
Economics (x)
Marks in 43 46 49 41 36 32 31 30 33 39
Statistics (y)
Example
The two lines of regression are 8x-10y+66=0 and
40x-18y-214=0. Find
1. The mean values of x and y
2. Correlation coefficient of x and y.
PARTIAL-SIMPLE CORRELATION
• Partial correlation analysis involves studying the linear
relationship between two variables after excluding the
effect of one or more independent factors.
• Simple correlation does not prove to be an all-
encompassing technique especially under the above
circumstances. In order to get a correct picture of the
relationship between two variables, we should first
eliminate the influence of other variables.
• For example, study of partial correlation between price
and demand would involve studying the relationship
between price and demand excluding the effect of
money supply, exports, etc.
Partial correlation
r12.3-the coefficient of partial correlation
between X and Y keeping Z constant.
r12 − r13 r23
r12.3 =
(1 − r132 )(1 − r232 )
r23 − r12 r13
r23.1 =
(1 − r )(1 − r )
2
12
2
13
2
r21 + r23
2
− 2 r21r23 r13
R2.13 =
1 − r13
2
r 2
+r 2
− 2 r31r32 r12
R3.12 = 31 32
1 − r12
2
Multiple Regression
Multiple regression
Y = b0 + b1 X 1 + b2 X 2
X 2Y = b0 X 2 + b1X 1 X 2 + b2 X 2
2
Example
The table shows the corresponding values of three variables
X,Y and Z.
X 3 5 6 8 12 14
Y 16 10 7 4 3 2
Z 90 72 54 42 30 12