Lecture 3
Lecture 3
AA037007/EQC7006 • Trend is slow, long-run evolution in the variables that • The trend increases or decreases like a straight
Time Series Analysis we want to model and forecast.䎻࣯ᱟᡁԜᜣ㾱ᔪ⁑઼亴⍻Ⲵਈ䟿 line.
ѝ㕃ធⲴǃ䮯ᵏⲴ╄ਈ
20.00
Trend1t 10 0.25t 60
where t =1,2,3,….., T-1, T.
55
0.00
50
• ȕ0 is the regression intercept, it is the value of
Rate
-20.00 45
the trend at time t=0.
40
• ȕ1 is the regression slope, it is positive if the
-40.00
trend is increasing and negative if the trend is 35
Trend 2t 50 0.8t
decreasing. 30
-60.00 1950 1960 1970 1980 1990 2000
• The larger the absolute value of ȕ1, the steeper 1 11 21 31 41 51 61 71 81 91
Rate
0
77.5
0
-2
75.0
-4 -1
72.5
-6 -2
1950 1960 1970 1980 1990 2000 70.0 1950 1960 1970 1980 1990 2000
1950 1960 1970 1980 1990 2000
•ਣח㓥䖤 (30-60): Residual Actual Fitted Residual Actual Fitted
Time
• Actual (⛩⣦㲊㓯): ᇎ䱵Ⲵྣᙗࣣࣘ࣋৲о⦷ᮠᦞ˄਼ка亥Ⲵ㓯˅DŽ
• Fitted (䮯㲊㓯): ⭘㓯ᙗഎᖂ⁑රᤏਸࠪᶕⲴ䎻࣯㓯DŽ䘉ᱟаᶑㅄⴤⲴкॷⴤ㓯ˈԓ㺘Ҷ⁑රՠ䇑ࠪ
Ⲵ䮯ᵏᒣ൷໎䮯䎻࣯DŽ
•ᐖח㓥䖤 (-6 to 4):
• Residual (ᇎ㓯): ↻ᐞDŽ↻ᐞᱟᇎ䱵٬ (Actual) ߿৫ᤏਸ٬ (Fitted) ⲴᐞDŽᆳ㺘⽪⁑රᵚ㜭䀓䟺Ⲵ䜘࠶DŽ
2 -1000
2500 Trend t 10 0.3t 0.3t
(a) Quadratic trend. -1500
2000
¾ Quadratic trend models can potentially capture -2000
-4000
Tt E 0 E1t E 2t 2 0 1 11 21 31 41 51 61 71 81 91
1 11 21 31 41 51 61 71 81 91
Trend
Trend
Example 2c: modeling trend. Example 2d: modeling trend.
ȕ1 < 0 and ȕ2 > 0 : the trend has U shape. ȕ1 > 0 and ȕ2 < 0 : the trend has an inverted U
shape.䎻࣯ قU ᖒDŽ • Keep in mind that quadratic trends are used to
800
300
600
“U-shaped” trend. Instead, all of the data may
Trend t 10 25t 0.3t 2 lie on one or the other side of the U.䈧䇠տˈҼ⅑䎻
100 500
࣯䙊ᑨ⭘Ҿᨀተ䜘䘁լ˗ањᒿࡇᖸቁՊᆼᮤൠ⧠ĀUᖒā䎻࣯DŽ৽ˈ
400 ᡰᴹᮠᦞਟ㜭ਚսҾUᖒⲴаחᡆਖаחDŽ
-100
300
-300
200
Trend t 10 30t 0.3t 2
-500
100
-700 0
1 11 21 31 41 51 61 71 81 91 1 11 21 31 41 51 61 71 81 91
Trend Trend
•ᤏਸⲴҼ⅑䎻࣯㓯˄䮯㲊㓯˅൘ਾᵏ˄1985ᒤਾ˅䖳ྭൠᦅҶӔ᱃䟿࣐䙏໎䮯Ⲵ⁑ᔿDŽ
•❦㘼ˈ൘ᰙᵏ˄1960-1980˅ˈᤏਸ㓯ᱟањл䱽ਾ㕃ធкॷⲴUᖒᓅ䜘ˈ㘼ᇎ䱵ᮠᦞ൘䛓⇥ᰦ䰤ᱟሩᒣっᡆ
Example 2e: appropriate to be used on… 㕃ធ໎䮯ⲴDŽ䘉ሬ㠤൘ᰙᵏᤏਸ᭸᷌н֣DŽ Other types of nonlinear trend are sometimes
•↻ᐞമᱮ⽪ˈ൘UᖒⲴᓅ䜘४ฏ˄㓖1970-1980˅ˈ↻ᐞѪ䍏ф䖳བྷˈ㺘᰾⁑ර儈ՠҶᰙᵏⲴл䱽઼վՠҶᰙᵏⲴ
ᒣっDŽ㘼൘ਾᵏ࣐䙏໎䮯䱦⇥ˈ↻ᐞ㲭❦ᴹ⌒ࣘˈնᤏਸ㓯䐏кҶᙫփ䎻࣯DŽ appropriate. This includes:
•䘉ᨀ⽪ˈ㲭❦Ҽ⅑䎻࣯∄㓯ᙗ䎻࣯ᴤ㜭ᦅਾᵏⲴ࣐䙏໎䮯ˈնᆳሩᮤњᒿࡇⲴᤏਸ˄⢩࡛ᱟᰙᵏ˅ਟ㜭ӽᴹተ
Figure 5.6 Volume on the New York Stock Exchange 䲀DŽањᆼᮤⲴUᖒਟ㜭нᱟሩ䘉њᮠᦞⲴᴰ֣᧿䘠ˈᮠᦞᴤۿᱟUᖒⲴਣॺ䗩˄࣐䙏кॷ䜘࠶˅DŽ
Figure 5.8 Quadratic Trend: Volume on the New York Stock Exchange (b) Exponential trend.
40,000
40,000
¾ Suitable if trend is characterized by constant
growth at rate ȕ1.ྲ᷌䎻࣯Ⲵ⢩⛩ᱟԕᚂᇊ໎䮯⦷ ɴІ໎䮯ˈࡉ䘲⭘DŽ
30,000 30,000
20,000 20,000
¾ It is defined by: 1
20,000
Volume
Tt E 0e E t
10,000
10,000
10,000 0 ¾ Also known as log-linear trend:
0
0 ln(Tt ) ln(E 0 e E1t ) ln(E 0 ) ln(e E1t )
60 65 70 75 80 85 90 95 00 05
-10,000
Time 60 65 70 75 80 85 90 95 00 05
ln(Tt ) ln(E 0 ) E1t
Residual Actual Fitted
Example 3a: modeling trend. Example 3b: modeling trend. Example 3c: modeling trend.
ȕ0 > 0 and ȕ1 > 0; ȕ0 > 0 and ȕ1 < 0; ȕ0 < 0 and ȕ1 > 0;
6
40 0
35 -5
5
30
Trend t 5e 0.02t Trend t 5e 0.02t Trend t 5e 0.02t
-10
4
25 -15
3
20 -20
15 -25
2
10 -30
1
5
-35
0
0
1 11 21 31 41 51 61 71 81 91 -40
1 11 21 31 41 51 61 71 81 91
1 11 21 31 41 51 61 71 81 91
Trend
Trend
Trend
↻ᐞമ˄ᇎ㓯˅ᱮ⽪ˈ㲭❦ӽᴹ⌒ࣘˈն㌫㔏ᙗⲴٿᐞլѾ∄Ҽ⅑䎻࣯⁑ර㾱ሿаӋDŽֻྲˈᰙᵏ⋑ᴹࠪ⧠Ҽ⅑
䎻࣯⁑රѝ䛓Uᖒᓅ䜘Ⲵᤏਸ䰞仈DŽн䗷ˈ൘1987ᒤ㛑ᐲፙⴈ˄"唁㢢ᱏᵏа"˅䱴䘁ˈ↻ᐞࠪ⧠Ҷ䖳བྷⲴ⌒ࣘˈ
Example 3e: appropriate to be used on… 䘉㺘᰾⁑රᵚ㜭ᦅ䘉ケਁһԦDŽ
Example 3d: modeling trend. Figure 5.12 Exponential Trend: Volume on the New York Stock Exchange
First approach:
ȕ0 < 0 and ȕ1 < 0; Reconsider the volume on the New York Stock Exchange (Figure 40,000
5.6-Slide 16).
0
Figure 5.6 Volume on the New York Stock Exchange 30,000
20,000
-1 15,000 20,000
40,000
10,000 10,000
-2
30,000 5,000
Trend t 5e 0.02t 0
-3 0
20,000
Volume
-5,000
-4
-10,000
10,000 60 65 70 75 80 85 90 95 00 05
-5
Log Volume
0.0
estimated.
6
-0.5 • A linear trend, for example, has Tt(ș)=ȕ0+ȕ1t,
5 -1.0
60 65 70 75 80 85 90 95 00 05
and ș=(ȕ0,ȕ1), in which case the computer finds
4 T 2 ሩҾ㓯ᙗ䎻࣯ˈᡁԜ㾱Ⲵ
60 65 70 75 80 85 90 95 00 05 ቡᱟ㜭֯ (yᴽ - (ȕ +
Residual Actual Fitted ( E 0 , E1 ) arg min ¦ yt E 0 E1t ȕΌt)) Ⲵᒣᯩ઼ᴰሿ
Time E 0 , E1 Ⲵ ȕ ઼ ȕΌ Ⲵՠ䇑
t 1 ٬ ȕƄ ઼ ȕƄΌDŽ
0
• 95% forecast intervals;
-20,000
yT h|T r 1.96V h
-40,000
1955 1960 1965 1970 1975 1980 1985 1990
where V h is an estimate of the standard deviation of
Residual Actual Fitted
the h-step forecast distribution.ᱟ h ↕ੁࡽ亴⍻䈟ᐞⲴḷ߶ᐞⲴՠ •↻ᐞ˄㬍㢢˅⧠ࠪ䶎ᑨᲠⲴ⁑ᔿ˖ᰙᵏѪ↓ˈѝᵏѪ䍏˄ᇎ䱵٬վҾ䎻࣯㓯˅ˈਾᵏ৸ਈ
䇑٬DŽ Ѫ↓ф䎺ᶕ䎺བྷ˄ᇎ䱵٬䘌儈Ҿ䎻࣯㓯˅DŽ䘉ĀᗞㅁāᡆĀUᖒāⲴ↻ᐞ⁑ᔿᱟ㓯ᙗ䎻࣯⁑ර
H t ~ N (0, V H2 ). н䘲ਸ᧿䘠䶎㓯ᙗᮠᦞⲴިර㺘⧠DŽ
t •䘉ока亥Durbin-Watson㔏䇑䟿ᶱվᡰᤷ⽪Ⲵѕ䟽↓㠚ޣᱟа㠤ⲴDŽᖃ↻ᐞ⧠䘉㌫㔏ᙗ
* under assumption that ⁑ᔿᰦˈᆳԜ䙊ᑨᱟ㠚ⲴޣDŽ
160,000
120,000
12,000
80,000
8,000
40,000
4,000
0
0
-4,000
-8,000
1955 1960 1965 1970 1975 1980 1985 1990
10,000 10.0
50,000 .3
9.5
5,000
.2 9.0
0
0
.1
-5,000
.0
-10,000
-15,000 -.1
1955 1960 1965 1970 1975 1980 1985 1990
-.2
Residual Actual Fitted 1955 1960 1965 1970 1975 1980 1985 1990
Evaluating different types of models. Quadratic trend model, actual values and forecasts. Linear trend model, actual values and forecasts.
Figure 5.22 Retail Sales: History, 1990.01 - 1993.12 Linear Trend Forecast and Realization, 1994.01 - 1994.12
Figure 5.20 Retail Sales: History, 1990.01 - 1993.12 Quadratic Trend Forecast and Realization, 1994.01 - 1994.12
200,000
• Log-linear trend regression is excluded from 200,000
Gasoline Sales
both price and quantity of summertime gasoline • For example, monthly U.S. current-dollar liquor
8,000 sales, both of which feed into higher current- sales, Jan 1980 - Jan 1992, which are very high in
7,000 dollar sales.ᆳ䀓䟺ҶӪԜᐼᵋ൘༿ᆓ䘋㹼ᴤཊⲴٷᵏ㹼ˈ䘉ᖰᖰՊ໎࣐༿ November and December.
ᆓ⊭⋩䬰ⲴԧṬ઼ᮠ䟿ˈ䘉є㘵䜭Պሬ㠤ᴤ儈Ⲵ⧠٬㖾ݳ䬰仍DŽ
6,000
80 81 82 83 84 85 86 87 88 89 90 91
䈕മᲠൠᱮ⽪Ҷ⇿ᒤ䟽༽Ⲵᆓ㢲ᙗ⁑ᔿ˄༿ᆓ Time
儈ˈߜᆓվ˅ˈ਼ᰦҏਟ㜭ᆈ൘䮯ᵏ䎻࣯DŽ
Figure 6.2 Liquor Sales Figure 6.3 Durable Goods Sales
2,800 70,000
Liquor Sales
1,800
U.S. current-dollar durable goods sales, Jan 1980
• The behaviour of many series, such as sales, • Trading variation refers to the fact that different
• The idea of seasonality may be extended to allow for shipments, inventories, and so on depends in
more general calendar effects. Standard seasonality months contains different numbers of trading days
part on timing of such holiday. Thus, we may or business days, which is an important
is just one type of calendar effect. want to keep track of them in our forecasting
ᆓ㢲ᙗⲴᾲᘥਟԕᢙኅࡠवਜ਼ᴤᒯ⌋Ⲵᰕশ᭸ᓄDŽḷ߶ᆓ㢲ᙗਚᱟᰕশ᭸ᓄⲴаDŽ consideration when modeling and forecasting
models.䇨ཊᒿࡇⲴ㹼Ѫˈྲ䬰仍ǃਁ䍗䟿ǃᓃᆈㅹˈ䜘࠶ਆߣҾ䘉Ӌ㢲ٷᰕ
• Two additional calendar effects are holiday variation Ⲵᰦ⛩DŽഐ↔ˈᡁԜਟ㜭ᐼᵋ൘ᡁԜⲴ亴⍻⁑රѝ䘭䑚ᆳԜDŽ certain series.Ӕ᱃ᰕਈࣘᤷⲴᱟн਼ᴸԭवਜ਼н਼ᮠ䟿ⲴӔ᱃ᰕᡆᐕᰕˈ䘉
൘ሩḀӋᒿࡇ䘋㹼ᔪ⁑઼亴⍻ᰦᱟањ䟽㾱Ⲵ㘳㲁ഐ㍐DŽ
and trading-day variation. ਖཆєᰕশ᭸ᓄᱟٷᰕਈ઼ࣘӔ᱃ᰕਈࣘDŽ • Holiday effects may be handled with dummy
• Holiday variation refers to the fact that some variables. In a monthly model, for example, in • For example, in a monthly forecasting model of
holiday’s dates change over time. Ester as an addition to a full set of seasonal dummies, we volume traded on the London Stock Exchange, in
example, arrives at approximately the same time might include an “Ester dummy”, which is 1 if the addition to a full set of seasonal dummies, we
each year, but the exact dates differ.ٷᰕਈࣘᤷⲴᱟаӋ㢲ᰕⲴᰕ month contains Ester and 0 otherwise. ٷᰕ᭸ᓄਟԕ⭘ might include a trading-day variable, whose value
ᵏՊ䲿ᰦ䰤ਈॆDŽֻྲ༽⍫㢲ˈᆳ⇿ᒤབྷ㠤൘਼аᰦ䰤ࡠᶕˈնާփᰕᵏн਼DŽ 㲊ᤏਈ䟿ᶕ༴⨶DŽֻྲˈ൘ањᴸᓖ⁑රѝˈ䲔Ҷаᮤ྇ᆓ㢲ᙗ㲊ᤏਈ䟿ཆˈᡁԜਟ
㜭䘈Պवਜ਼ањĀ༽⍫㢲㲊ᤏਈ䟿āˈྲ᷌Ḁњᴸԭवਜ਼༽⍫㢲ˈࡉ䈕ਈ䟿Ѫ1ˈࡉ each month is the number of trading days that
Ѫ0DŽ
month.ֻྲˈ൘ањՖᮖ䇱ࡨӔ᱃ᡰӔ᱃䟿Ⲵᴸᓖ亴⍻⁑රѝˈ䲔Ҷаᮤ྇ᆓ㢲ᙗ
㲊ᤏਈ䟿ཆˈᡁԜਟ㜭䘈Պवਜ਼ањӔ᱃ᰕਈ䟿ˈަ⇿њᴸⲴ٬ᱟ䈕ᴸⲴӔ᱃ᰕᮠ䟿DŽ
• Inclusion of holiday and trading-day variation gives • Point forecast:⛩亴⍻нवਜ਼ᵚᶕⲴ䈟ᐞ亩˄ٷᇊަᵏᵋѪ0˅DŽ
the complete modelवਜ਼ٷᰕ઼Ӕ᱃ᰕਈࣘ㔉ࠪҶᆼᮤⲴ⁑ර 3. Forecasting Seasonal Series
s v1
•ᆓ㢲ᙗ⁑ᔿ䶎ᑨᲠ˖⇿ᒤ᱕༿ᆓ˄བྷ㓖3-5ᴸ䗮ࡠጠ٬˅ᔰᐕ䟿儈ˈ❦ਾ䙀⑀л䱽ˈࡠߜᆓ˄12ᴸ-2ᴸ˅䗮ࡠ䉧
ᓅˈ❦ਾ൘ᯠⲴаᒤ⅑എॷDŽ
4. Application: Forecasting Housing •䘉њ⁑ᔿ⇿ᒤ䜭൘䟽༽DŽ
•൘1990-1991ᒤᴹањվ䉧ˈѻਾ1992-1994ᒤᮤփ≤ᒣᴹᡰഎॷˈ䘉ਟ㜭৽᱐Ҷ⸝ᵏ䎻࣯ᡆઘᵏDŽ
Figure 6.4 Housing Starts, 1946.01-1994.11
Starts • Here we zoom in on the Jan 1990 – Nov 1994 to
250
• Figure 6.4 shows monthly data on U.S. housing inspect for seasonal pattern.
starts between Jan 1946 – Nov 1994, which are 200 Figure 6.5 Housing Starts, 1990.01-1994.11
160
seasonal because it’s usually preferable to start
150
houses in the spring, so that they’re completed 140
Starts
before winter arrives.മ6.4 ᱮ⽪Ҷ1946ᒤ1ᴸ㠣1994ᒤ11ᴸⲴ㖾ഭᴸᓖտ 120
ᡯᔰᐕ䟿ᮠᦞˈ䘉Ӌᮠᦞᱟᆓ㢲ᙗⲴˈഐѪ䙊ᑨᴰྭ൘᱕ᆓᔰᔪᡯˈԕׯ൘ߜᆓࡠᶕѻ 100
ࡽᆼᐕDŽ
100
Starts
• We’ll use 50
80
¾ Jan 1946 – Dec 1993 for estimation,
0
60
¾ Jan 1994 – Nov 1994 for out-of-sample forecasting. 50 55 60 65 70 75 80 85 90
മѝᲠਟ㿱ᕪ⛸Ⲵᆓ㢲ᙗ⌒ࣘˈ਼ᰦ䮯ᵏ Time 40
䎻࣯н᰾ᱮᡆ䖳Ѫ༽ᵲˈਟ㜭䘈ᆈ൘୶ъઘ 90:01 91:01 92:01 93:01 94:01
ᵏDŽ Time
Table 6.1; Regression results: Seasonal dummy variable model, • Notice that it has very low Durbin-Watson statistic
• The figures reveal that there is no trend, thus it is housing starts. 䘉㺘᰾⁑ර↻ᐞᆈ൘䶎
(see appendix).⌘ࡠᆳⲴDurbin-Watson㔏䇑䟿䶎ᑨվˈ䘉
adequate to model the series using the pure •ՠ䇑ࠪҶ⇿њᴸⲴᒣ൷տᡯᔰᐕ䟿≤ᒣ ᑨѕ䟽Ⲵᒿࡇޣᙗ䰞仈DŽ䘉ણ⵰㓟ᆓ㢲ᙗ⁑රᱟнˈⲴ࠶ݵᘭ⮕ҶᮠᦞѝⲴަԆ䟽㾱ࣘ
˄ᆓ㢲ᙗഐᆀ ȖƄ૾˅ˈֻྲ5ᴸᴰ儈ˈ1ǃ2ǃ ᘱ˄ྲ䎻࣯ǃઘᵏᡆ↻ᐞ㠚䓛Ⲵࣘᘱ˅DŽ
seasonal model that given by,മ㺘ᱮ⽪⋑ᴹ˄᰾ᱮⲴ䮯ᵏঅа˅ 12ᴸ䖳վDŽ
䎻࣯ˈഐ↔֯⭘ྲл㔉ࠪⲴ㓟ᆓ㢲ᙗ⁑රᶕᔪ⁑䈕ᒿࡇᱟ䏣ཏⲴˈ • The residual plot in Figure 6.6 makes clear the
s
䘉ણ⵰ӵࠝᆓ㢲ᙗഐ㍐ቡ㜭䀓䟺տᡯ @EXPAND(@MONT strength and limitations of the model.
yt i it Ht ᔰᐕ䟿ᮠᦞѝ㓖38%Ⲵ⌒ࣘDŽ䘉㺘᰾ᆓ
¦J D H)˖䘉ᱟEViewsⲴ
i 1 㢲ᙗ⺞ᇎᱟ䈕ᮠᦞⲴањ䶎ᑨ䟽㾱Ⲵ傡
ࣘഐ㍐DŽ ањ䶎ᑨᯩ࠭Ⲵׯ • There is nothing in the model other than
ᮠˈᆳՊ㠚ࣘѪ
• Table 6.1 shows the estimation results. ࡋᔪа㌫ࡇԓ㺘ᴸ
deterministic seasonal pattern every year – it picks
ԭⲴ㲊ᤏਈ䟿DŽ up a lot of the variation in housing starts, but it
• The 12 seasonal dummies account for more than
a third of the variation in housing starts, as R2 = however, doesn’t pick up all of the variation as
0.38. 12њᆓ㢲ᙗ㲊ᤏਈ䟿䀓䟺Ҷտᡯᔰᐕ䟿ਈᔲⲴй࠶ѻаԕкˈഐѪ R² = 0.38DŽ evidenced by the serial correlation that’s apparent in
• At least some of the remaining variation is the residuals.⁑රѝ䲔Ҷ⇿ᒤ⺞ᇊⲴᆓ㢲ᙗ⁑ᔿཆˈ⋑ᴹަԆԫօь㾯——ᆳ⺞ᇎ
ᦅҶտᡯᔰᐕ䟿ѝⲴབྷ䟿ਈᔲˈնᱟˈ↻ᐞѝ᰾ᱮⲴᒿࡇޣᙗ䇱᰾Ҷᆳᒦ⋑ᴹᦅࡠᡰ
cyclical, which the model not designed to ᴹⲴਈᔲDŽ
•Ո⛩ (Strength): ᡀ࣏ᦅҶᖃа䜘࠶⭡പᇊᆓ㢲ᙗ⁑ᔿᕅ䎧Ⲵਈࣘ˄R²=0.38˅DŽ
capture.㠣ቁ䜘࠶࢙։ⲴਈᔲᱟઘᵏᙗⲴˈ㘼䘉њ⁑රᒦ䶎䇮䇑⭘ᶕᦅઘᵏᙗDŽ •ተ䲀ᙗ (Limitations): ⭡Ҿ⁑රਚवਜ਼ᆓ㢲ᙗ㲊ᤏਈ䟿ˈᆳᰐ⌅䀓䟺ᮠᦞѝަԆ㊫රⲴਈࣘ˄ྲ䎻࣯ǃ
୶ъઘᵏˈᡆᆓ㢲ᙗ⁑ᔿᵜ䓛䲿ᰦ䰤Ⲵਈॆ˅DŽ䘉Ӌᵚ㻛䀓䟺Ⲵਈࣘሬ㠤↻ᐞ⧠ࠪᒿࡇޣᙗ
˄ণ↻ᐞнᱟ䲿ᵪⲴ˅DŽ
Appendix : • The regression disturbance is serially correlated • DW takes values in the interval [0,4], and if all is
when M z 0. well, DW should be around 2.
• DW Ⲵਆ٬㤳ത൘ [0,4] ४䰤ˈྲ᷌а࠷↓ᑨ˄ণ⋑ᴹа䱦㠚ˈ˅ޣDW ᓄ䈕൘2䱴
• The Durbin-Watson statistic tests for correlation • Hypothesis: 䘁DŽ
over time, called serial correlation, in regression H0 :M 0
• If DW is substantially less than 2, there is
disturbances. Durbin-Watson 㔏䇑䟿⭘ҾỰ傼എᖂᢠࣘ亩ѝ䲿ᰦ䰤ᆈ൘Ⲵޣ
ᙗˈ〠ѪᒿࡇޣDŽ/Ự傼എᖂ⁑රⲴ↻ᐞ˄ᢠࣘ亩Ⲵՠ䇑˅ᱟᆈ൘㠚˄ޣᒿࡇ H1 : M z 0 evidence of positive autocorrelation.
˅ޣDŽ • ༷ᤙٷ䇮 (alternative hypothesis) ᱟ䈟ᐞ亩ᆈ൘а䱦㠚ˈޣDWỰ傼䙊ᑨᴤ↓⌘ޣ㠚 • ྲ᷌ᆈ൘ᕪⲴ↓㠚( ޣȡƄ ᧕䘁1)ˈࡉ DW Šʼn2(1-1) = 0DŽᡰԕDW٬᧕䘁0㺘⽪ᕪⲴ
( ޣij > 0)ˈഐѪ䘉൘㓿⍾ᰦ䰤ᒿࡇѝᴤᑨ㿱DŽ ↓㠚ޣDŽ↓㠚ޣણ⵰ྲ᷌ањ↻ᐞᱟ↓Ⲵˈлањ↻ᐞҏੁٮҾᱟ↓Ⲵ˄৽ѻ
Ӗ❦˅DŽ䘉൘ѻࡽⲴ䴦仍઼տᡯᔰᐕ䟿⁑රⲴ↻ᐞമѝ䜭㿲ሏࡠҶDŽ
• The Durbin-Watson test works within the context of
• Durbin-Watson statistic
T
is • If DW is substantially greater than 2, there is
the regression model
2
yt E 0 E1 X 1,t E k X k ,t H t ¦ e e t t 1 evidence of negative autocorrelation.
t 2 • ྲ᷌ DW ᱮ㪇བྷҾ2ˈࡉᴹ䍏㠚Ⲵޣ䇱ᦞDŽྲ᷌ᆈ൘ᕪⲴ䍏㠚( ޣȡƄ ᧕䘁-1)ˈࡉ DW
DW T Šʼn2(1-(-1)) = 4DŽᡰԕDW٬᧕䘁4㺘⽪ᕪⲴ䍏㠚ޣDŽ䍏㠚ޣણ⵰ྲ᷌ањ
↻ᐞᱟ↓Ⲵˈлањ↻ᐞੁٮҾᱟ䍏Ⲵ˄৽ѻӖ❦˅ˈ↻ᐞ⧠Ӕᴯ⁑ᔿDŽ
Ht MH t 1 vt , 2
¦e t
2 t 1
vt N 0, V