Intermediate Econometrics Tutorial 3, Exercises of Econometrics and Mathematical Economics

Intermediate Econometrics Tutorial 3 for 2024/2025

Typology: Exercises

2024/2025

Uploaded on 02/27/2025

henry-ho-1
henry-ho-1 ๐Ÿ‡ฌ๐Ÿ‡ง

1 document

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

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