Professional Documents
Culture Documents
PS - IV Exp 4
PS - IV Exp 4
Learning Objective: Students should be able to implement simple linear regression on the given
dataset.
Theory:
Simple Linear Regression:
Simple linear regression is a statistical method that allows us to summarize and study
relationships between two continuous (quantitative) variables:
One variable, denoted x, is regarded as the predictor, explanatory, or independent variable.
The other variable, denoted y, is regarded as the response, outcome, or dependent variable.
The Simple Linear Regression model can be represented using the below equation:
Y = a0 +a1x+ ε
Where,
a0= It is the intercept of the Regression line (can be obtained putting x=0)
a1= It is the slope of the regression line, which tells whether the line is increasing or decreasing.
ε = The error term. (For a good model it will be negligible)
1
Result and discussion:
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
Conclusion
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
Viva Questions:
Q.1 What is simple linear regression ?
Q.2 What are the steps used in linear regression algorithms ?
Marks
Obtained
2
3