Documente Academic
Documente Profesional
Documente Cultură
Regression Approaches
• Initial investigations.
• Simple linear regression model.
• Parameter estimation.
• Forecasting.
• Multivariate linear regression model.
• Parameter estimation.
• Forecasting.
• Model building and residual analysis.
. – p.1/15
Initial Investigations
. – p.2/15
Simple Linear Regression Model
y = β0 + β1 x + ǫ (1)
where
β0 - intercept of y when x = 0
β1 - slope; the change in the mean value of y associated with a
unit increase in x
ǫ - error term
• All the unknown parameters can be estimated using least square
method so that the estimated model is ŷ = b0 + b1 x where b0 and
b1 are unbiased estimators of β0 and β1 respectively.
. – p.3/15
Least Square Method
• Objective: this method seek for estimators (b0 and b1 ) that give
minimum total value of error rate e.
• The total error is computed by:
X X
e2t = (yt − ŷt )2 (2)
t t
. – p.5/15
Model Fit
• So, the degree of relationship between x and y can be measured
using a simple coefficient called R2
Explained variation
R2 =
Total variation
where 0 ≤ R2 ≤ 1.
• This coefficient gives the proportion of the total variation in ŷ that
is explained by the simple linear regression model based on the
sample of size n. The constructed model is explainable when R2
approaching 1.
√
• R = R2 (−1 ≤ R ≤ 1) gives a direction of relationship; R > 0
shows a positive relationship and R < 0 exhibits negative
relationship.
. – p.6/15
Model Fit
• Hypothesis testing for determining significance relationship of x
and y
H0 : There is no relationship between x and y, ρ = 0.
H1 : There is a relationship between x and y, ρ 6= 1.
• The test statistic
√
r√ n−2
t= 1−r 2
. – p.7/15
Model Fit
Explained variation
FM = .
Unexplained variation/(n−1)
. – p.8/15
Model Fit
H0 : β1 = 0 vs β1 6= 0
• If the regression assumptions hold, then
√
b1 ∼ N (β1 , σb1 = σ/ SSxx )
√
where the estimator of σb1 is sb1 = s/ SSxx
• Then,
b1 −β1
s b1
. – p.9/15
Model Fit
H0 : β0 = 0 vs β0 6= 0
• If the regression assumptions hold, then b0 ∼ N (β0 , σb0 ) where
q
1 x̄2
the estimator of σb0 is sb0 = s n + SSxx
• Then,
b0 −β0
s b0
. – p.10/15
Model Adequacy Check
. – p.11/15
Some Informative Plots
. – p.12/15
Forecasting Using the
Simple Linear Regression Model
. – p.13/15
Example:
Quality Home Improvement Center (QHIC)
. – p.14/15
How to Investigate?
Check list
1. What is the relationship between x and y? Is it linear?
2. What is the estimated value of parameters β0 and β1 ?
3. Is the constructed model good enough?
4. Does the constructed model fulfill all the assumptions? (Check
the error plots)
5. Can prediction or forecasting can be made?
6. What can we conclude about the constructed model?
. – p.15/15
Some Issues in Regression
. – p.16/15