Professional Documents
Culture Documents
100
101
102
103
104
14468
14250
15024
13837
10522
0.015
-0.015
0.054
-0.079
-0.240
Sales
25000
20000
15000
10000
5000
1
13
25
37
49
61
73
85
97
10
13
25
37
49
61
73
85
97
The changes in Sales from month to month are increasing in dollar terms while the
percentage changes in Sales (PctChange) from month to month are relatively consistent
(for example, the percentage changes from December to January each year are always
around 40%). Therefore, the series of percentage changes exhibits constant volatility
and is the appropriate series to analyze.
Fit a model to the appropriate variable (Sales or PctChange) that accounts for the
trend and seasonality in the data.
A regression model that accounts for the trend and seasonality in the data is
PctChanget = D + E1Trendt + E2M1t + E3M2t + E4M3t + E5M4t + E6M5t + E7M6t
+ E8M7t + E9M8t + E10M9t +E11M10t + E12M11t + Ht
The estimates of E1-E12 in the regression model are given in the Excel regression
output below.
SS
3.34837965
0.49643942
3.84481907
MS
0.279031637
0.005515994
Coefficients
0.157470265
3.68785E-06
-0.570578369
-0.186275436
-0.087203218
-0.140005831
-0.129681557
-0.143401209
-0.215269701
-0.323050544
0.177770498
-0.011330671
0.076837582
Standard Error
0.02944145
0.000246581
0.037135686
0.03610208
0.036096185
0.036091974
0.036089447
0.036088604
0.036089447
0.036091974
0.037142235
0.037138142
0.037135686
t Stat
5.348590662
0.014955915
-15.36469168
-5.159687039
-2.415856902
-3.879140326
-3.593337342
-3.973586979
-5.964893344
-8.950758554
4.786208989
-0.305095255
2.069103611
Regression
Residual
Total
Intercept
Trend
M1
M2
M3
M4
M5
M6
M7
M8
M9
M10
M11
(b) Are the residuals from this model independent? If not, modify the model so the
residuals are independent.
The assumption of independent errors is violated. The time series plot given below
shows a pattern of excessive oscillation in the Residuals.
12
0.4-0.1
0.3-0.2
0.2-0.3
103
97
91
85
79
73
67
61
55
49
43
37
31
25
19
13
0.1-0.4
-0.1
-0.2
103
97
91
85
79
73
67
61
55
49
43
37
31
25
19
13
-0.3 not discussed the following hypothesis test for independent residuals at the
(We had
time this
-0.4 homework was assigned. Therefore, you did not need to include it as part
of your answer. I only include it here for completeness.)
The regression
Rest = D + ERest-1 + Ht
(We had not
theresiduals
following hypothesis
test for independent
at the regression:
To discussed
test if the
are independent
we can runresiduals
the following
time
this homework
assigned.
Therefore,
youindid
need toThe
include
it as part
provides
additional was
evidence
that there
is a pattern
the not
Residuals.
t Stat associated
of your
only include
it here-2,for
completeness.)
with Eanswer.
is 6.20,I which
is well below
and
therefore implies there is very strong
Res
= + Res
+
evidence in the data that Rest is negatively relatedtto Res0t-1.
t1
The regression
The results are: so that we concluded that there are still some time dependence left in the
SUMMARY OUTPUT
Rest = D + ERest-1 + Ht
Regression Statistics
Multiple
R
0.527050734
provides
additional
evidence that there
is a pattern in the Residuals. The t Stat associated
R Square
0.277782476
with E Adjusted
is 6.20,Rwhich
is
well
below
-2,
and therefore implies there is very strong
Square
0.270560301
evidence
in the Error
data that Rest is negatively
related to Rest-1.
Standard
0.059866007
Observations
SUMMARY OUTPUT
102
Coefficients
Intercept Regression Statistics
0.000248968
Multiple
R
0.527050734
Res_Lag1
-0.529935429
Standard Error
0.005927945
0.08544852
t Stat
0.041999054
-6.201809353
R Square
0.277782476
Adjusted R Square
0.270560301
Standard
Errorasshould
0.059866007
residuals
they be
are
indeed
correlated
time
(see the
estimate
included
in the
forecastingin
model
to extract
the additional
PctChange
t-1
Observations(pattern) left in the residuals.
102
information
The true regression model including
0.000248968
0.005927945
0.041999054
0.08544852
-6.201809353
P ctChange-0.529935429
t+
N ov + 13 P ctChanget1 + t
t = 0 +
2 Jan + ...12
13 1
13
0.4
ANOVA
0.3
df
0.2
Regression
Residual
0.1
Total
0
SS
3.485117544
0.358086476
3.84320402
13
88
101
MS
0.268085965
0.004069164
97
91
85
79
73
67
61
55
49
43
37
31
25
19
13
-0.1
Coefficients
Standard Error
t Stat
Intercept
0.280095053
0.033009542
8.485275346
-0.2
PctChangeLag1
-0.530913837
0.091125533
-5.826180847
-0.3
Trend
3.84334E-05
0.000214927
0.17882105
M1 -0.4
-0.611405293
0.032656111
-18.72253832
M2
-0.531815718
0.067074575
-7.92872292
M3
-0.226795197
0.039184906
-5.78782038
M4
-0.227031787
0.034411673
-6.597522537
M5
-0.244773938
0.036757496
-6.659157072
M6
-0.253045077
0.036262046
-6.978234945
-8.99640596
(We M7
had not discussed the following-0.33223031
hypothesis test0.036929226
for independent
residuals at the
0.040864934
time M8
this homework was assigned.-0.478199918
Therefore, you did
not need to-11.70196234
include it as part
M9
-0.029501219
0.047787731
-0.617338763
of your
answer. I only include it here
for completeness.)
M10
0.042321586
0.033199757
1.274755879
M11
0.030060624
0.03289106
0.91394514
The regression
Res
= D + EResof
+ Ht
Thet assumption
errors is still questionable. The time series plot given
t-1 independent
Now,
weconsiderable
can onceoscillation
again check
the independence
of the
residuals
below
shows
in the Residuals,
which indicates that
the errors
provides
additional
evidence that there is a pattern left in the Residuals. The t Stat
may not
be independent.
sion:
Intercept
Res_Lag1
Coefficients
0.000544777
-0.175505942
Standard Error
0.005880589
0.099832364
t Stat
0.092639864
-1.758006466
Now we fail to reject the hypothesis that the residuals are independent through time!
(c) September 1996 is month t = 105. The model is (b) allows us to predict the percentage
growth from August 1996
to September 1996 via:
15
d
P ctChange
105 = 0.28 + (0.000038 105) + (0.029 1) + (0.5309 0.240) = 0.381
This implies the following prediction for September:
d
Sales105 = Sales104 (1 + P ctChange
105 ) = 10522 (1 + 0.381) = 14530
6
(c) It appears that there is a nonlinear relationship between Sales and Time left unexplained. The assumptions that the errors are independent, and identically normal
distributed are clearly violated.
Sales112
2
2
1 = elog(Sales112 )log(Sales111 ) 1 = e1 +13 (112 111 )+Apirl M arch 1
Sales111
2 1112 )0.51453(0.524)
e0.01130.00004(112
1 = 1.2%
(h) (Optional) Without considering the seasonal effect, every month the sales increases
by about 100(1 + 213 t) percent. As 13 is negative and 0 is not within its 95%
confidence interval, the model predicts that the sales increase at a lower rate as time
increases.
(i) (Optional) See the Excel file in the course website