Professional Documents
Culture Documents
Finals Lesson 1 Correlation and Regression
Finals Lesson 1 Correlation and Regression
- He was an
influential English
mathematician and
biostatician.
What is Correlation?
❖It is a statistical method used to
determine whether a relationship
between two variables exists.
❖It also measure of the direction and
strength of linear relationship between
two variables.
❖Direction maybe positive, negative
or zero.
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Types of Correlation
❖ Positive correlation
❖ Negative correlation
❖ Zero correlation
Positive Correlation
❖A positive correlation exists
when high values of one variable
correspond to high values in the
other variable or low values in one
variable correspond to low values in
the other variable.
Positive Correlation
10
Score in English
8
6
4
2
0
0 2 4 6 8 10
Score in Mathematics
Negative Correlation
➢A negative correlation exist
when high values of one variable
correspond to low values in the
other variable or low values in one
variable correspond to high values
in the other variable.
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Negative Correlation
12
Score in English
10
8
6
4
2
0
0 2 4 6 8 10 12
Score in Mathematics
This time the trend of the data is decreasing, hence, the variables are
negatively correlated.
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Zero Correlation
➢A zero correlation exists when
high values in one variable
correspond to either high or low
values in the other variable.
Zero Correlation
10
Score in English 8
0
0 2 4 6 8 10
Score in Mathematics
Example:
Determine the direction of
relationship between the following
pairs of variables. Is it positive,
negative or zero?
Example:
1. Room rate and size of a room in
a hotel
A. Positive
B. Negative
C. Zero
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Example:
2. Weight and height of students
A. Positive
B. Negative
C. Zero
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Example:
3. Pressure and volume of a gas
A. Positive
B. Negative
C. Zero
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Example:
4. IQ and height of persons
A. Positive
B. Negative
C. Zero
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Example:
5. Number of customers and sales
in a department store
A. Positive
B. Negative
C. Zero
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
What is Correlation?
❖Strength can be perfect, strong
or high, moderate, low or zero or
none correlation.
Note:
Correlation between two variables
does not prove X causes Y or Y causes
X.
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Example:
Construct the scatterplots for the
following bivariate data using
Microsoft Excel and describe the
relationship in terms of direction
and strength.
Example:
Example:
Example:
or
n XY − X Y
r=
n X 2
− ( X ) n Y − ( Y )
2
2 2
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Mathematics English
score (x) score (y)
x2 y2 xy
4 5 16 25 20
5 4 25 16 20
9 8 81 64 72
2 3 4 9 6
8 9 64 81 72
1 2 1 4 2
2 1 4 1 2
7 6 49 36 42
6 7 36 49 42
4 5 16 25 20
σ 𝑥 =48 σ 𝑦 =50 σ 𝑥 2 = 296 σ 𝑦 2 = 310 σ 𝑥𝑦 =298
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
2
- This is denoted as 𝑟 .
➢Closer to 0 = weaker
➢Closer to 1.0 = stronger
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
Mathematics English
score (x) score (y)
x2 y2 xy
4 5 16 25 20
5 4 25 16 20
9 8 81 64 72
2 3 4 9 6
8 9 64 81 72
1 2 1 4 2
2 1 4 1 2
7 6 49 36 42
6 7 36 49 42
4 5 16 25 20
σ 𝑥 =48 σ 𝑦 =50 σ 𝑥 2 = 296 σ 𝑦 2 = 310 σ 𝑥𝑦 =298
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
𝑛 σ 𝑥𝑦 − σ 𝑥 σ 𝑦
𝑏=
𝑛 σ 𝑥2 − σ 𝑥 2
10 298 − 48 50
𝑏=
10 296 − 48 2
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
2980 − 2400
𝑏=
2960 − 2304
580
𝑏=
656
𝑏 ≈ 0.8841 ≈ 0.88
σ𝑦 σ𝑥
𝑎= −𝑚
𝑛 𝑛
50 48
𝑎= − 0.8841
10 10
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
50 48
𝑎= − 0.8841
10 10
𝑎 = 5 − 0.8841 4.8
𝑎 = 5 − 4.24368
𝑎 = 0.75632 ≈ 0.76
VIRTUE EXCELLENCE SERVICE
ISO 9001: 2015 CERTIFIED
EMILIO AGUINALDO COLLEGE QUALITY MANAGEMENT SYSTEM
CITY OF DASMARIÑAS, CAVITE
𝑦 = 0.76 + 0.88𝑥
• The slope, 𝑏 means that for every 1
unit increase in Math score an increase
of 0.88 in English score.
𝑦 = 0.76 + 0.88𝑥
• The y-intercept, 𝑎 means a score of
0.76 in English score when the student
score zero in Math.
𝑦 = 0.76 + 83.6
𝑦 = 84.36
• Hence, the English score will be 84.36.