ESE633� Statistic in Education��Chapter 9�SIMPLE LINEAR REGRESSION� Video E� �
2
INTRODUCTION
We want to find the relationship between IQ and
Mathematics Achievement (DV)
IQ --> IV , interval scale
Math Scores --> DV , interval scale
How to find the relationship?
Scatter plot
Math Score = Y axis
IQ = X axis
Scattergram
(Linear Model of relationship)
Math
score
IQ
0
20
40
60
0
20
40
60
X
Y
Thinking Challenge
How would you draw a straight line through the points? How do you determine which line ‘fits best’? (balance for all points)
Math
Score
IQ
Thinking Challenge
How would you draw a line through the points? How do you determine which line ‘fits best’? (balance for all points)
Math
Score
IQ
Thinking Challenge
How would you draw a line through the points? How do you determine which line ‘fits best’?
Thinking Challenge
How would you draw a line through the points? How do you determine which line ‘fits best’? (balance for all points)
Thinking Challenge
How would you draw a line through the points? How do you determine which line ‘fits best’? (balance for all points)
Thinking Challenge
How would you draw a line through the points? How do you determine which line ‘fits best’? (balance for all points)
Math
Score
IQ
Other Non-linear Relationships
No Relationship
0
20
40
60
0
20
40
60
X
Y
Scattergram
Non-linear Relationship - Curve
0
20
40
60
0
20
40
60
X
Y
Types of �Regression Models
Regression
Models
Linear
Non-
Linear
2+ Explanatory
Variables
Simple
Multiple
Linear
1 Explanatory
Variable
Non-
Linear
Linear Equations
High School Teacher
© 1984-1994 T/Maker Co.
Linear Regression Model �for Prediction
Relationship Between Variables is in a Linear Function
Y
X
i
i
i
=
+
+
β
β
ε
0
1
Dependent Variable (Response) �(e.g., income)
Independent Variable (Explanatory) �(e.g., education level)
Population Slope
Population �Y-Intercept
Random Error
Inference About the Population Slope and Intercept
15
X
Inference About the Population Slope and Intercept
16
X
This is the mean of Y for those whose independent variable is X
Inference About the Population Slope and Intercept
17
X
Note how the mean of Y does not depend on X: Y and X are independent
18
Attitude towards English | English Test Score |
|
|
34 | 80 |
|
|
37 | 87 |
|
|
39 | 89 |
|
|
29 | 70 |
|
|
28 | 69 |
|
|
30 | 72 |
|
|
33 | 79 |
|
|
37 | 85 |
|
|
32 | 81 |
|
|
32 | 79 |
|
|
*
*
*
*
*
*
*
*
*
English
score
Attitude
Scatter plot shows that there
Is a linear relationship between
English score (DV) and
attitude (IV)
Estimating Regression
Coefficients Using SPSS
Based on data in Table 9.1,
page 4
Estimating Regression Coefficients Using SPSS
- Regression slope is equal to zero
19
a) Testing the Assumption of Linearity (Global Hypothesis)
20
21
22
23
Model Summary | ||||
Model | R | R Square | Adjusted R Square | Std Error of the Estimate |
1 | .879a | .772 | .743 | 4.1937 |
Is there a Linear Regression (Table 2 & 3)?
Predictors: (Cons tant), ATTITUDE
|
| Sum of |
|
|
|
|
Model |
| Squares | df | Mean Square | F | Sig. |
1 | Regression | 476.202 | 1 | 476.202 | 27.076 | .001a |
| Residual | 140.698 | 8 | 17.587 |
|
|
| Total | 616.900 | 9 |
|
|
|
Table 2 : Model Summary
Table 3 : ANOVA
R square = .88, and ANOVA shows that it is significantly not zero
Conclusion: there is a Linear relationship betw English score and attitude
b) Testing the Significant of the Slope
zero (beta = 0)
zero (beta ≠ 0)
24
‘Coefficients’ table (see Table 4).�
25
|
| Table 4: | Coefficients |
| |
|
|
| ||
|
| Unstandardized | Standardized |
|
|
|
|
|
| |
Model |
| Coefficients | Coefficients |
| t |
| Sig. |
| ||
| B |
| Std. Error | Beta |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 (Constant) | 0.70 |
| 0.20 | | 13.54 |
| .000 |
|
| |
|
|
|
|
|
|
|
|
|
|
|
Attitude | 1.50 |
| .007 |
|
| |
|
|
|
|
Toward English |
| 1.36 |
| 5.43 |
| .006 |
|
| ||
|
|
|
|
|
|
|
|
|
|
|
Significant
Beta 1 or slope is not zero
Predicting English Performance
26
ENGLISH Score (Y) = β1X + βo
= Slope ((β1) multiplied by Attitude Score (X)) + Intercept (βo)
REGRESSION EQUATION
€
€
(Should be reverse: Beta 1 is the slope, beta zero is the
constant or intercept)
To Predict performance when attitude score is 30.0
= 45.70
27
Assignment Question 2
28
Reading
Comprehension
Hours spent playing video games
Thank You
29