ANSWER IS:
C 2
DEPARTMENT OF EDUCATION
What to Know..
ITOPVESI
Let's have the final. Get Ready.
DEPARTMENT OF EDUCATION
What to Know..
ITOPVESI
#2. From the given shape of the scatterplot below,
which of the following is NOT true?
DEPARTMENT OF EDUCATION
What to Know..
#3. In the study of the Kaolo tribe in Malungon about
ITOPVESI
the parents' education to the childs' intrinsic motivation
to schooling, the scatterplot is shown below. What is
the strength of association between the bivariate data?
A. The relationship is moderately weak.
B. Higher parents education have a higher
relationship to students' intrinsic motivation.
C. Higher parents education have a stronger
relationship to students' intrinsic motivation.
D. The strength association is perfect.
10
0
1
2
3
4
5
6
7
8
9
ANSWER IS:
C 5
DEPARTMENT OF EDUCATION
What to Know..
ITOPVESI
#4. The best-fit line is the line formed by connecting
the points (0, y-intercept) and ( ____, _____).
A. ( x-intercept , 0)
B. (mean of x, 0)
C. ( Mean of x, Mean of y)
D. ( 0, Mean of y)
10
0
1
2
3
4
5
6
7
8
9
ANSWER IS:
C 6
DEPARTMENT OF EDUCATION
What to Know..
ITOPVESI
#5. In your scientific calculator, which keys to press to
enter the data in generating the slope of the regression
line?
10
0
1
2
3
4
5
6
7
8
9
A. Clr;Mode;SD;Reg;Lin;Data x,y; m+;then Shift;S-Var B
B. Clr;Mode;Reg;Lin;Datax,y; m+,thenShift;S-Var B
C. Clr;Mode;SD;RegLin;Data x, y; m+;then Shift;S-Var A
D. ClrMode,Reg;Lin, Datax,y; m+;then Shift; S-Var A
ANSWER IS:
A 7
DEPARTMENT OF EDUCATION
Linear Regression
and
Correlation Analysis
Courtesy of Fordham University, NY, USA
NDDU: Dr. Manubag
USM: Dr Pimentel and Catubig
Department of Education: CG M11/12sp-IV
Output:
In each group, create a simple cheer in a
yell form describing the following:
Group 1: Scatterplot
Group 2: Correlation
Group 3: Regression
Group 4: Best - fit line
Group 5: Pearson r
Group 6. Strength and relationship
3/16/2017
Bivariate Data
Bivariate Data: Consists of the values of two different
response variables that are obtained from the same population
of interest.
scatterplot?
3/16/2017
Scatter Plots and Correlation
y y
x x
y y
x x
LC#4. Estimates strength of association between variables based on the scatterplot.
Scatter Plot Examples
(continued)
Strong relationships Weak relationships
y y
x x
y y
x x
Scatter Plot Examples
(continued)
No relationship
x
Correlation Coefficient
(continued)
r
( x x )( y y )
(n 1) sx sy
Note:
1. 1 r 1
2. r = +1: perfect positive correlation
3. r = -1 : perfect negative correlation
Age (x ) 7 6 6 8 9 12 15 13 10 10
CMFS (y ) 28 47 42 37 35 16 12 23 26 36
50
40
CMFS
30
20
10
6 7 8 9 10 11 12 13 14 15
Age
Alternate formula for r:
SS( xy )
r
SS( x )SS( y )
x
2
x 2
n
SS( y ) sum of squares for y
y
2
y 2
n
SS( xy ) sum of squares for xy
xy
x y
n
LC # 5. Calculates the Pearson's sample correlation coefficient.
Example: The table below presents the weight (in thousands
of pounds) x and the gasoline mileage (miles per gallon) y for
ten different automobiles. Find the linear correlation
coefficient.
x y x2 y2 xy
2.5 40 6.25 1600 100.0
3.0 43 9.00 1849 129.0
4.0 30 16.00 900 120.0
3.5 35 12.25 1225 122.5
2.7 42 7.29 1764 113.4
4.5 19 20.25 361 85.5
3.8 32 14.44 1024 121.6
2.9 39 8.41 1521 113.1
5.0 15 25.00 225 75.0
2.2 14 4.84 196 30.8
Sum 34.1 309 123.73 10665 1010.9
x y x 2
y 2
xy
To complete the calculation for r:
x
2
(34.1) 2
SS( x ) x
2
123.73 7.449
n 10
y
2
(309) 2
SS( y ) y 2
10665 1116.9
n 10
SS( xy ) xy
x y
1010.9
(34.1)(309)
42.79
n 10
SS( xy ) 42.79
r .47
SS( x )SS( y ) (7.449)(1116.9)
20
Age: 40 36 30 27 24 22
7
Days: 11 9 10 5 12 4
LC# 7. Identifies the independent and dependent variables.
Note:
1. r is usually rounded to the nearest hundredth.
2. r close to 0: little or no linear correlation.
3. As the magnitude of r increases, towards -1 or +1, there is
an increasingly stronger linear correlation between the two
variables.
4. Method of estimating r based on the scatter diagram.
Window should be approximately square.
Useful for checking calculations.
3.3: Linear Regression
Regression analysis finds the equation of
the line that best describes the relationship
between two variables.
One use of this equation: to make
predictions.
Models or prediction equations:
Some examples of various possible relationships.
Linear: y b0 b1 x
Quadratic: y a bx cx 2
Exponential: y a (b x )
Logarithmic: y a logb x
Predicted value: y
( y )
y 2
( y (b0 b1 x )) 2
is as small as possible.
The equation of the line of best fit:
Determined by
b1: slope
b0: y-intercept
b1
( x x )( y y ) SS( xy )
( x x) 2
SS( x )
y b1 x
b0 y (b1 x)
n
x 31 33 22 24 35 29 23 37
y 17 20 13 15 18 17 12 21
y b0 b1 x
( x, y)
y y
( x , y)
y
y
x
x y X2 xy
31 17
33 20
22 13
24 15
35 18
29 17
23 12
37 21
Preliminary calculations needed to find b1 and
b 0: 2
x y x xy
23 12 529 276
31 17 961 527
33 20 1089 660
22 13 484 286
24 15 576 360
35 18 1225 630
29 17 841 493
37 21 1369 777
234 133 7074 4009
x y x 2
xy
LC#9. Calculates the slope and y-intercepts of the regression line.
Finding b1 and b0:
x
2
234 2
SS( x ) x
2
7074 229.5
n 8
SS( xy ) xy
x y
4009
(234)(133)
118.75
n 8
SS( xy ) 118.75
b1 .5174
SS( x ) 229.5
y b1 x 133 (.5174)(234)
b0 14902
.
n 8
Equation of the line of best fit:
y 149
. .517 x
LC#10. Interprets the calculated slope and y-intercept of the regression line.
If
Scatter diagram:
22
21
20
19
Job Satisfaction
18
17
16
15
14
13
12
21 23 25 27 29 31 33 35 37
Salary
Note:
1. Keep at least three extra decimal places while doing the
calculations to ensure an accurate answer.
2. When rounding off the calculated values of b0 and b1,
always keep at least two significant digits in the final
answer.
3. The slope b1 represents the predicted change in y per unit
increase in x.
4. The y-intercept is the value of y where the line of best fit
intersects the y-axis.
5. The line of best fit will always pass through the point
( x, y)
Task:
Compute slope and y-intercept,
Draw the proper regression line on the scatterplot,
Describe your findings
The following data are scores from 15 students on Bible knowledge test scores
(Y) and the number of semester hours of Bible in college (X).
X: 15 18 18 12 9 9 6 12 15 12 12 12 15 12 18
Y :23 27 30 19 18 21 17 21 27 29 25 22 26 25 24
Valuing
Complete any one of the following stems:
3/16/2017