Beruflich Dokumente
Kultur Dokumente
1. Quantitative (numeric)
a. Discrete
i. Only assumes whole integers
b. Continuous
i. All possible value can be assumed.
2. Qualitative (categorical)
a. Nominal (values are not necessarily in a order)
b. Ordinal (values are in an order)
If the change in the value of one variable changes the value of other variable, then the variables are said
to be correlated variables.
Bivariate analysis is the analysis of any two variables and correlation is the study of the relationship
between the variables.
e.g.
Types of Correlation
Negative Correlation:
when we increase one variable and the other variable decreases, then it is negative correlation.
Also, when we decrease one variable and the other variable increases, then it is negative
correlation.
The change is in the other direction.
B. Linear and non-linear correlation.
Linear Correlation:
If there is a constant change (at the same rate), then it is linear correlation.
X 5 6 7 8 9
y 50 100 150 200 250
Non-linear Correlation:
If there is variable change in the data, then that is non-linear correlation.
X 5 6 7 8 9
y 50 1000 10050 200700 250800
Simple Correlation – If we only have two variables in our study then it is simple correlation.
Partial Correlation - If we have multiple variables in our study but we only take only two (or
portion of the variables but not all) into account keeping the rest of the variables (that aren’t
taken into account) constant, then it is partial correlation.
Multiple Correlation – if we have multiple variables in our study and we take into account all the
variables and their correlation, then it is multiple correlation.
1. Scatter Diagram
2. Karl Pearson Correlation Coefficient
3. Spearman Rank Correlation Coefficient (Do not need to study this for this course)
Page 2 of 4
When there is a constant increase in y when x is increased.
e. Uncorrelated
When there is no decipherable relationship between the increase or decrease x or y.
(e.g. wave, circle)
V(x) = variance of X
V(y) = variance of Y
Cov(x,y) = covariance of x and y.
and
1
𝑣(𝑥) = ∑(𝑥 − 𝑥̅ )2
𝑛
1
𝑣(𝑦) = ∑(𝑦 − 𝑦̅)2
𝑛
1
𝑐𝑜𝑣(𝑥, 𝑦) = ∑(𝑥 − 𝑥̅ )(𝑦 − 𝑦̅)
𝑛
Substituting the values of v(x), v(y), and cov(x,y) in the initial equation);
1
∑(𝑥 − 𝑥̅ )(𝑦 − 𝑦̅)
𝑟= 𝑛
√1 ∑(𝑥 − 𝑥̅ )2 √1 ∑(𝑦 − 𝑦̅)2
𝑛 𝑛
Page 3 of 4
Properties of r
1. The value of r is always between -1 and +1.
2. R is symmetric i.e. 𝑟𝑥𝑦 = 𝑟𝑦𝑥
3. The correlation coefficient r is independent of change of origin (addition or subtraction) and
scale (division).
x Y 𝑥 − 75 𝑦 − 75
𝑈= 𝑉=
10 10
50 125
60 135
70 120
Interpretation of r
1. If r = 0, uncorrelated.
2. If r = +1, perfect positive correlation.
3. If r = -1. Perfect negative correlation.
4. If r is near to +1, highly positively correlated.
5. If r is near to -1, highly negatively correlated.
6. If r is near to 0, low positive/negative correlated.
7. If r is near to 0.5, moderately positive/negative correlated.
Page 4 of 4