Simple_Linear_Regression_Model
Simple_Linear_Regression_Model
1. Model Equation
Model Equation:
A simple linear regression model relates a dependent variable y to one independent variable x as:
y = b0 + b1*x + e
Where:
- y: Dependent variable
- x: Independent variable
2. Estimating Coefficients
We estimate the coefficients using the Least Squares Method, which minimizes the sum of squared residuals:
Objective: Minimize
Solving gives:
3. Interpretation
Interpretation of Coefficients:
Suppose we are analyzing the relationship between hours studied (x) and test scores (y):
- b1_hat = 5: For every additional hour studied, the test score increases by 5 points.
- b0_hat = 50: If a student studies 0 hours, their predicted score is 50 (may or may not be meaningful).
Summary:
- The simple linear regression model provides a linear relationship between two variables.
- Coefficients are estimated by minimizing the sum of squared errors using Least Squares Method.
- The slope represents the effect of the independent variable on the dependent variable.
- The intercept represents the expected value of the dependent variable when the independent variable is
zero.