Docsity

Intermediate Econometrics Tutorial 3, Exercises of Econometrics and Mathematical Economics

Toggle sidebar
bg1
Tutorial 3: AR(p) Models
Question 1 (Computer)
Consider again the Worksheet “CPIEmp” from the dataset “USData.xlsx” on the KEATS page.
a) Import the data and prepare it for time series analysis by setting a time series variable
using tsset
b) Generate a variable for CPI inflation, 𝑑𝐶𝑃𝐼𝑡=100Δln 𝐶𝑃𝐼𝑡, the same as last week
c) Run seven different AR(p) models with lags increasing from 𝑝 = 0 to 𝑝𝑚𝑎𝑥 = 6. The
last model is:
𝑑𝐶𝑃𝐼𝑡= 𝛽0+ 𝛽1𝑑𝐶𝑃𝐼𝑡−1 + ⋯+ 𝛽6𝑑𝐶𝑃𝐼𝑡−6 + 𝑢𝑡
IMPORTANT: Be careful to use same number of observations in each regression!
d) Store the results for each of the seven regressions, calling them AR0 through AR6 and
generate a table of statistics including the AIC and BIC (see lecture notes). Which
model do you choose using AIC/BIC?
e) Make a one-step ahead point and interval forecast for inflation based on the model
selected by the BIC. Now use these results to back out the level forecast of the CPI (i.e.
reverse the growth rate transformation). How do you interpret this short-run prediction?
Question 2 (Computer)
Repeat the analysis in Question 1 for the CPI food variable. Do you find the same model to be
selected for CPI food? Are there any issues that you encounter?
Question 3 (Problem)
a) Rewrite the following processes without the lag operator:
i. (1 − 𝛽1𝐿)𝑌
𝑡= 𝛽0+ 𝑢𝑡
ii. (6 − 5𝐿 + 𝐿2)𝑌
𝑡= 𝑢𝑡
b) Rewrite the following processes with the lag operator:
i. 𝑌
𝑡= 5 + 1.5𝑌
𝑡−1 − 0.5𝑌
𝑡−2 + 𝑢𝑡 🎥
ii. 𝑌
𝑡= 1 + 0.1𝑌
𝑡−12 + 𝑢𝑡
c) Determine whether the processes in parts (ai), (aii) and b(i) 🎥 are stationary.
d) What kind of data might we be using if we were specifying a model like (bii)?
e) Assuming the known parameter values in a), and if we are given data such that 𝑌
𝑇=
0.5 and 𝑌
𝑇−1 = 1, then what are the optimal point forecasts for 𝑌
𝑇+1 in parts (ai) and
(aii)? What information would we need to produce interval forecasts?
Discuss
Discuss
Intermediate Econometrics - 5QQMN938
Dr Canh Thien Dang

Partial preview of the text

Download Intermediate Econometrics Tutorial 3 and more Exercises Econometrics and Mathematical Economics in PDF only on Docsity!

Tutorial 3 : AR(p) Models

Question 1 (Computer)

Consider again the Worksheet “CPIEmp” from the dataset “USData.xlsx” on the KEATS page. a) Import the data and prepare it for time series analysis by setting a time series variable using tsset b) Generate a variable for CPI inflation, 𝑑𝐶𝑃𝐼𝑡 = 100 Δ ln 𝐶𝑃𝐼𝑡, the same as last week c) Run seven different AR(p) models with lags increasing from 𝑝 = 0 to 𝑝𝑚𝑎𝑥^ = 6. The last model is: 𝑑𝐶𝑃𝐼𝑡 = 𝛽 0 + 𝛽 1 𝑑𝐶𝑃𝐼𝑡− 1 + ⋯ + 𝛽 6 𝑑𝐶𝑃𝐼𝑡− 6 + 𝑢𝑡 IMPORTANT: Be careful to use same number of observations in each regression! d) Store the results for each of the seven regressions, calling them AR0 through AR6 and generate a table of statistics including the AIC and BIC (see lecture notes). Which model do you choose using AIC/BIC? e) Make a one-step ahead point and interval forecast for inflation based on the model selected by the BIC. Now use these results to back out the level forecast of the CPI (i.e. reverse the growth rate transformation). How do you interpret this short-run prediction?

Question 2 (Computer)

Repeat the analysis in Question 1 for the CPI food variable. Do you find the same model to be selected for CPI food? Are there any issues that you encounter?

Question 3 (Problem)

a) Rewrite the following processes without the lag operator: i. ( 1 − 𝛽 1 𝐿)𝑌𝑡 = 𝛽 0 + 𝑢𝑡 ii. ( 6 − 5 𝐿 + 𝐿^2 )𝑌𝑡 = 𝑢𝑡 b) Rewrite the following processes with the lag operator: i. 𝑌𝑡 = 5 + 1. 5 𝑌𝑡− 1 − 0. 5 𝑌𝑡− 2 + 𝑢𝑡 🎥 ii. 𝑌𝑡 = 1 + 0. 1 𝑌𝑡− 12 + 𝑢𝑡 c) Determine whether the processes in parts (ai), (aii) and b(i) 🎥 are stationary. d) What kind of data might we be using if we were specifying a model like (bii)? e) Assuming the known parameter values in a), and if we are given data such that 𝑌𝑇 =

  1. 5 and 𝑌𝑇− 1 = 1 , then what are the optimal point forecasts for 𝑌𝑇+ 1 in parts (ai) and (aii)? What information would we need to produce interval forecasts? Discuss Discuss

Intermediate Econometrics - 5QQMN93 8

Dr Canh Thien Dang