Correlation 6th Sem
Correlation 6th Sem
INTRODUCTION
The term correlation is used by a common man without knowing that he is making use of
the term correlation. For example when parents advice their children to work hard so that
they may get good marks, they are correlating good marks with hard work.
DEFINITIONS:
- Ya-Kun-Chou
It depends upon the direction of change of the variables. If the two variables tend to move
together in the same direction i.e., an increase in the value of one variable is accompanied
by an increase in the value of the other, (or) a decrease in the value of one variable is
accompanied by a decrease in the value of other, then the correlation is called positive or
direct correlation. Price and supply, height and weight, yield and rainfall, are some examples
of positive correlation.
If the two variables tend to move together in opposite directions so that increase (or)
decrease in the value of one variable is accompanied by a decrease or increase in the value
1
of the other variable, then the correlation is called negative (or) inverse correlation. Price
and demand, yield of crop and price, are examples of negative correlation.
If the ratio of change between the two variables is a constant then there will be linear
correlation between them.
X 2 4 6 8 10 12
Y 3 6 9 12 15 18
Here the ratio of change between the two variables is the same. If we plot these points on a
graph we get a straight line. If the amount of change in one variable does not bear a constant
ratio of the amount of change in the other. Then the relation is called Curvi-linear (or) non-
linear correlation. The graph will be a curve.
When we study only two variables, the relationship is simple correlation. For example,
quantity of money and price level, demand and price. But in a multiple correlation we study
more than two variables simultaneously. The relationship of price, demand and supply of a
commodity are an example for multiple correlation.
The study of two variables excluding some other variable is called Partial correlation. For
example, we study price and demand eliminating supply side. In total correlation all facts are
taken into account.
PROPERTIES OF CORRELATION:
i.e., –1≤ r ≤ +1
2
Note: r = +1 perfect +ve correlation.
Property 4: Independent variables are uncorrelated but the converse is not true.
Karl Pearson born on 27 March 1857 and died on 27 April 1936 was an English mathematician
and biostatistician. He has been credited with establishing the discipline of mathematical
statistics. He founded the world's first university statistics department at University College,
London in 1911, and contributed significantly to the field of biometrics and meteorology.
Pearson was also a proponent of social Darwinism and eugenics. Pearson was a protégé and
biographer of Sir Francis Galton.
In statistics, the Pearson correlation coefficient, also referred to as Pearson's r, the Pearson
product-moment correlation coefficient (PPMCC) or the bivariate correlation, is a measure of
the linear correlation between two variables X and Y. According to the Cauchy–Schwarz
inequality it has a value between +1 and −1, where 1 is total positive linear correlation, 0 is no
linear correlation, and −1 is total negative linear correlation. It is widely used in the sciences.
It was developed by Karl Pearson from a related idea introduced by Francis Galton in the 1880s
and for which the mathematical formula was derived and published by Auguste Bravais in
1844. The naming of the coefficient is thus an example of Stigler's Law.
3
Definition: Karl Pearson’s Coefficient of Correlation is widely used mathematical method
wherein the numerical expression is used to calculate the degree and direction of the
relationship between linear related variables.
If the relationship between two variables X and Y is to be ascertained, then the following
formula is used:
4
5
FORMULA FOR STEP-DEVIATION METHOD OF PEARSON’S CORRELATION
QUESTION-1
X 2 3 4 5 6 7 8
Y 4 7 8 9 10 14 18
SOLUTION
6
𝛴𝑋 = 35 Σx=0 Σx2=28 ΣY=70 Σy=0 Σy2=130 Σxy=58
N=7 N=7
X̅=5 Y̅=10
𝛴𝑥𝑦
r = Σxy ; x =(X-X̅); Y=(Y-Y̅)
√ 𝛴𝑥2×𝛴𝑦2
58
r=
√28×130
58
r=
60.33
= +0.96
QUESTION-2
Calculate the coefficient of correlation between the age of husbands and wives:
Age of 21 22 28 32 35 36
husbands
(years)
Age of 18 20 25 30 31 32
wives
(years)
SOLUTION:
7
35 +6 36 31 +5 25 30
36 +7 49 32 +6 36 42
ΣX=174 Σx=0 Σx2=208 ΣY=156 Σy=0 Σy2 =178 Σxy=191
x = (X-X̅); y = (Y-Y̅)
174 𝛴𝑌 156
X̅= ΣX/N= =29; Y̅= 𝑁 = =26
6 6
𝛴𝑥𝑦
r=
√𝛴𝑥2×𝛴𝑦2
191
r=
√208 ×178
191
r=
√37024
191
r = 192.42
Thus, there is a high degree of positive correlation between the age of husbands and wives.
QUESTION-3
Price (in 4 6 8 15 20
rupees)
Supply (in 10 15 20 25 30
Kg)
SOLUTION:
8
PRICE Deviation Square of Supply Deviation Square of Multiple of
(X) dx =X-A deviation (Y) dy =Y-A deviation deviation
dx2 dy2 dxdy
4 -4 16 10 -10 100 40
6 -2 4 15 -5 25 10
8 (A) 0 0 20(A) 0 0 0
15 7 49 25 5 25 35
20 12 144 30 10 100 120
N=5 Σdx=13 ΣDx2 N=5 Σdy=0 ΣDy2=250 ΣDxdy=205
=213
𝛴𝑑𝑥×𝛴𝑑𝑦
𝛴𝑑𝑥𝑑𝑦−
𝑁
r= (𝛴𝑑𝑥)2
√𝛴𝑑𝑥2− × √𝛴𝑑𝑦2−(𝛴𝑑𝑦)2/𝑁𝛴𝑑𝑦2
𝑁
0
−10−
5
r=
𝑜
√10−0 × √10−5
5
𝑁
r =-10/10
This is a situation of a perfectly negative correlation between price and quantity demanded.
STEP-DEVIATION METHOD
FORMULA-
́ −(𝛴𝑑𝑥×𝛴𝑑𝑦 )/𝑁
𝛴𝑑𝑥𝑑𝑦
r=
́
́ −(𝛴𝑑𝑥)2 ×√𝛴𝑑𝑦2−(𝛴𝑑𝑦)2
√𝛴𝑑𝑥2 ́ /𝑁
𝑁
9
QUESTION-4
Calculate the coefficient of correlation between the price and quantity demanded:
Price (in 5 10 15 20 25
rupees)
Demand 40 35 30 25 20
(Kg)
SOLUTION:
𝛴𝑑𝑥𝑑𝑦−((𝛴𝑑𝑥)×(𝛴𝑑𝑦))/𝑁
r=
)2
√𝛴𝑑𝑥2−(𝛴𝑑𝑥)2 × √𝛴𝑑𝑦2−(𝛴𝑑𝑦
𝑁 𝑁
−10−0/5
r=
√10−0/5 √10−0/5
−10
r=
10
This is a situation of a perfectly negative correlation between price and quantity demanded.
10
IMPORTANT OR SIGNIFICANCE OF CORRELATION
3) Business decisions
4) Policy formulation
11