Simple Linear Regression
Simple Linear Regression
WESTERN CAMPUS
FACULTY: EDUCATION.
DEPARTMENT: POST GRADUATE STUDIES.
COURSE UNIT: EDUCATIONAL RESEARCH METHODS
YEAR OF STUDY: 2024/2025
YEAR: ONE
SEMESTER: ONE
NAME OF LECTURER: ASS. PROF. AUGUSTINE
PWASONG DAVOU (PhD)
NAMES OF STUDENT:
1. ARIYO ROBERTS: 2025-01-34789
TEL: NO 0782476224
PROGRAMME: MED
DATE OF SUBMISSION: 22ND MARCH 2025
COURSEWORK
Simple linear regression
a) Estimating the parameters of a simple linear regression
b) Inferences about regression parameters
Simple linear regression is a statistical method used to model the relationship
between two variables it involves finding a straight line called the regression line
that best fits the data points. The line represents how one variable changes in
relation to the other
It works with two Variables
1. Independent Variable (X).
The predictor Input Variable
2. Dependent Variable (y).
The out Come or response Variable which depends on the Independent Variable.
LINEAR RELATIONSHIP.
It assumes that there is a linear relationship between the two variables, meaning
that change in the dependent variable is proportional to the change in the
independent variable.
EQUATION OF THE LINE.
The relationship is represented by the Equation of a straight line.
Y = βo+ β1 x+ε Where
Y is the dependent Variable (what you are trying to predict).
X is the Independent Variable (predictor)
βo is the Y- Intercept (The Valve of Y where x=0)
β1. is the slope of the Line (how much Y Changes for each unit of Change in X)
ε Is the error term (the difference between the actual Value and the predicted
Value)
ESTIMATION OF SIMPLE LINEAR REGRESSION
In Simple Linear regression, the goal is to estimate the parameters of the regression
line that (1) The Intercept (βo) and the Slope (β1).
The Parameters are estimated using the Method of least squares which minimizes
the Sum of the squared differences between the observed Value and the Values
predicted by the model (e)
Formula for the regression line therefore is
Y= βo + β1x
ESTIMATION OF PARAMETERS
1. To Calculate the Slope (β1) the formula used is
β₁ ¿
∑ ( X — X ) ( yi− y )
∑ ( xi−x̅ ) 2
Step 2
Calculate the slope β1
The formula for the slope is
∑ ( x i−x ̅ )( Y i− y ̅ )
β i=
∑ ( x i−x ̅ ) 2
Slope (βi) = 5
Step 3
Calculate the intercept β0 = Y̅ - β1 x̅
βo =60 -5(3) = 60-15
βo = 45
Step 4
The regression equation is
Y =βo + β1x
Y = 45 =5X
STEP 5
Predicting (exam score0 for any given time study
For example if a student studies for 6 hours, we can predict their exam score using
the regression equation
Y =45+5 ( 6 )=45+30=7 5
CONCLUSION
The estimated regression equation is
y=45+5 x
This means that for each additional hour of study the exam is expected to increase
by 5 points
If the a student studies for 6 hours the predicted exam score is 75
This can be illustrated by the regression line graph below