Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

B - Write a code that does the following. a) Fetch the data for real GDP (GDPC1) from Fred. b) Compute quarterly growth rates. (quarter-on-quarter

B - Write a code that does the following. a) Fetch the data for real GDP (GDPC1) from Fred. b) Compute quarterly growth rates. (quarter-on-quarter growth rate, annualized, expressed in percentage units) c) Using data from 1969Q1 until 2020Q4 estimate an AR(3) model. d) Produce a forecast for 2021Q1-2021Q4. Make the code report a table with the point forecast and the standard error. e) For 2021Q1-2021Q3 produce the 99% confidence interval for GDP growth. Are the realizations inside the bands? If not, compute the probability that the true GDP growth is less than the realized number. (For example suppose the true GDP growth is -10% and your confidence bands are between -8% and 10%. Clearly the true GDP growth is outside these bands. Now compute, based on the forecast you produced, the probability that GDP growth is less than -10%.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra

Authors: Cynthia Y Young

4th Edition

1119320682, 9781119320685

More Books

Students also viewed these Mathematics questions