Lecture 02 - Student Version
Lecture 02 - Student Version
CONTINUES
Lecture 02
Dr. Garima Chaklader
BRIEF REVISION:
cov (X, Y) = 9
σ(Y) = 7.5
Var (X) = 16
◦ A rank correlation coefficient measures the degree of similarity and direction between two rankings.
◦ Unlike Karl Pearson’s correlation, Spearman’s rank correlation does not require the assumption that
◦ One could test for a relationship between poll rankings of the two types of program
◦ “Do colleges with a higher-ranked basketball program tend to have a higher-ranked football
program?”
◦ One could test for a relationship between rankings the two variables measuring the relationship between
d = difference
in ranks
n = number of
observations
Application: Stock Market
Two financial experts were asked to rank ten
stocks for the benefit of investors. The
rankings given by the experts are:
X Y
14 21
10 16
12 32
17 25
10 30
15 16
10 20
12 22
19 35
11 23
Concept: Tied Ranks!
Question:
◦ Consider in above example of income and level of education, n=20, r = 0.8 and level of significance α = 0.05.
Correlation • This hypothesis says that as the sales of ice cream rise and fall, the number of
homicides also rise and fall. But does ice cream consumption causing the death
does not of people?
imply • The answer is "No". If two things are correlated that doesn't mean that one will
Causation cause another.
• When two independent things are tied together, these can be either be bound by
causality or correlation. But in most cases, it is just a coincidence.
"Ice cream sales are correlated with homicides in New York“
causation in
ice-scream What may be happening:
example? • Let's consider a sunny summer day. It is a lovely day to go outside, and people
are enjoying the beach.
• As the day is hot, people are buying ice creams as well as people are exposed to
accidents.
• The weather is causing a rise in the ice cream sale and homicides
Why
correlation
is not the
causation in
ice-scream
example?
◦Garima’s Lectures!
HAVE YOU EVER FILLED A CONSUMER SURVEY?
Calculate correlation coefficient
Q2: Average Salary: (Rs. ‘000)