Simple Regression
Simple Regression
Regression Analysis
• Regression analysis is used to predict the value of
one variable (the dependent variable) on the basis
of other variables (the independent variables or
explanatory variables).
• Yi = β1 + β2Xi + ui
• which is referred to as simple linear regression. We
would be interested in estimating β1 and β2 from
the data we collect.
A HYPOTHETICAL EXAMPLE
• Ui = Yi − E(Y | Xi)
• sample regression function (SRF)
• We can develop the concept of the sample regression function
(SRF) to represent the sample regression line.
• Yˆi = βˆ1 + βˆ2Xi
• where Yˆ is read as “Y-hat’’
• Yˆi = estimator of E(Y | Xi)
• βˆ1 = estimator of β1
• βˆ2 = estimator of β2
• uˆi = Yi − Yˆi (1)
• Yi = Yˆi + uˆi (2)
• Yi = βˆ1 + βˆ2Xi +uˆi (3)
i X 55 −
n
5
i =1
X i
2
−
i =1 n