








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









Correlation
It refers to the degree of relationship or association existing between two or more variables:
Two variables – simple correlation Three or more variables – multiple correlation
Correlation is the degree of relationship existing between two or more variables.
P refers to correlation of all the values of the population of X and Y; it’s represented as pxy. r refers to a Sample statistic for correlation. It’s the estimate of P from any particular sample. It’s represented as rxy.
Correlation analysis is a statistical procedure/tool which studies the relationship between two or more variables and involves various methods and techniques used for studying and measuring the extent of the relationship between the (two) variables. These methods include:
Significance of Correlation Analysis
Perhaps observations by the two scholars below capture significance of correlation quite well:
According to W.A Neiswanger
“Correlation analysis contributes to the understanding of economic behavior, aids in locating the critically important variables on which others depend, may reveal to the economist the connection by which disturbance spread and suggest to him the paths through which stabilizing forces may become effective.”
“The effect of correlation is to reduce the range of uncertainly of our prediction.” Tippet
Scatter diagram method
It’s the simplest way of representing a bivariate distribution and helps when ascertaining the correlation between two variables.
Suppose we are given n pairs of values (X 1 Y 1 ) (X 2 Y 2 )….. (Xn, Yn) of two variables X and Y. These n points may be plotted as dots (.) on the XY- plane. The resultant is described as a scatter diagram.
Pearsonian Correlation Coefficient (Covariance Method)
Covariance measures the extent to which two variables vary akin to variance only that this time two variables are involved (bivariate distribution).
This method was suggested by a British biometrician and Statistician by the name Karl Pearson hence the term Pearsonian Correlation Coefficient. This coefficient is calculated as follows:
_
_
2 2
_^2 _^2
_ _
_^2 _^2
_ _
cov , .................................( 1 )
y Y Y
x X X
Where
x y
xy
n
n
n X X Y Y
r XY
i i
i i
i i
i i
xy x x
Alternative formula:
From equation 3:
_^2 _
_ _
Numerator:
n
n XY X Y n
n
n
n Y n
n
_^2 _^2 _ _ _ _
Denominator:
_^22 _ _ 2 2 _ 2
_^2 _^2 _^2 _^2
X X X 2 XX X X 2 X X nX
This reduces to:
Ranking could either be in ascending or descending order. However, consistency is key. If two or more observations have the same value we assign to them the mean rank.
Question:
Compute r for the rank pairs (1,3) (2,1) (3,4) and (4,12)
r’ = 0
Assignment: For the cardinal data below, compute Spearman Rank correlation coefficient.
Sales (‘000 Shs) Advertising cost
(‘000 Shs)
64 53
65 57
66 60
70 61
71 65
72 74
74 75
78 86
86 91
99 99
Regression analysis
Literally, the word regression means ‘stepping back’ or ‘returning to the average value.
Regression – This word was first used by Sir Francis Galton (19th^ century) in relation to studies he did in estimating the extent to which the stature of the sons of tall fathers/parents reverts or regresses back to the mean stature of the population. He looked at heights of about one thousand fathers and sons and published the results in a paper titled
‘Regression towards mediocrity in hereditary stature’ conclusions being:
⇒The offsprings of abnormally tall or short parents tends to revert or step back to the average height of the population a phenomenon which Galton described as ‘regression to mediocrity.’
In the words of M.M. Blair ,
“Regression analysis is a mathematical measure of the average relationship between two or more variables in terms of the original units of the data”
Regression is a techniques used to describe the relationship between two or more variables in mathematical terms.
Regression is concerned with obtaining a mathematical equation which describes the relationship between two or more variables.
The equation can be used for:
a Y b X
n X X
b n XY X Y
xy aX b X
RR X Y a bX
y an b X
RR Y a bX
i i i
i i
2 2
Lines of regression For 2 variable x and y there are two lines of regression:
a y b x
n x x
b n xy x y
xy a x b x
y an b x
Y a bx
2
2) Line of regression of x on y The line which gives the best estimate for the value of x for any specified value of y
n y y
B n xy x y
X An B Y
2
Evaluating regression equation
Why evaluate? i) To determine if or not it describes the relationship between variable adequately; ii) To see whether it can be used effectively for a) Comparison b) Estimation c) Prediction/forecasting d) Planning
Regression equation is evaluated using coefficient of determination (CD)
CD = r^2 = Explained (or expected variation
Total variation in y = ESS TSS
To serve its core purposes
Standard Error of Estimate
In deriving regression inferences we need a value for the standard error of estimates (e); since we do not know the value of e we estimate for it by se the sample standard error of estimate.
Since 𝑒̅ = 0 (Because ∑𝑒̅ = 0),
2
2 2
n S y a y b xy
n
y y n S e
e
e
E. g
(1) Given the data pairs (4, 3) 6, 5) (10, 6.5) (12, 9.0)
(a) Calculate a and b then write the equation of the regression line (b) Calculate the sample standard error of estimate se
Sol: n = 4, ∑xy = 218 ∑y² = 162.
∑x² = 296, ∑x = 32 ∑y = 24
a = 0.8, b = 0.
y = 0.8+0.65x
Se ^162.^5 ^0.^8 ^242 ^0.^65 ^218 0. 894
Question
Given the data pairs (1, 2) (2, 4) and (3, 3)
a. Calculate a and b and then write the equation of the regression line b. Calculate Se
Solution:
b
a y x