In: Statistics and Probability
how do we estimate variance in linear regression.( what is the formula for estimating variance in simple and linear regression)
Step 1:
The Linear Regression Model is given by:

i = 1,2,...n
where
 is response
(dependent) variable
 is predictor
(independent) variable
 is
error
a = itercept
b = slope
Step 2:
Total Variation:

Step 3:
Variation explained by Linear Model:

Step 4:

Step 5:
Formula for Estimation of Variance in Simple and Linear Regression is given by:
