Simple Linear Regression Analysis - Final
Simple Linear Regression Analysis - Final
Isuru Kumarasiri
Content
• Simple Linear Regression Model
• Least square estimation of the parameters
• Hypothesis Testing on the slope and Intercept
• Interval Estimation in Simple Linear Regression
• Prediction of new observations
• Coefficient of Determination
• Estimation by maximum likelihood
Simple Linear Regression Model
• simple linear regression model, is a model with a single regressor x
that has a relationship with a response y that is a straight line.
• This simple linear regression model is:
• where the intercept β0 and the slope β1 are unknown constants and ε
is a random error component.
• The errors are assumed to have mean zero and unknown variance σ2.
Simple Linear Regression Model Contd..
• Additionally we usually assume that the errors are uncorrelated. This
means that the value of one error does not depend on the value of
any other error.
• And
Least square estimation of the parameters
Contd…
• The fitted simple linear regression model is then
Ans: Y = 0.942X+6.08
Least square estimation of the parameters
Contd…
0 and 𝛽
• Therefore 𝛽 1 are the least-squares estimators of the intercept
and slope, respectively. The fitted simple linear regression model is
then,
0 + 𝛽
𝑦ො = 𝛽 1 𝑥
• Above equation gives a point estimate of the mean of y for a
particular x.
New Notations
• 𝑠𝑥𝑥 =
1 is,
• Thus, a convenient way to write 𝛽
Residuals
• The difference between the observed value yi and the corresponding
fitted value yˆi is a residual. Mathematically the ith residual is,
where
• And,
and
Questions?