Question
Use only the SAS software to answer the questions. Write one complete program for each question. So, there should be three complete SAS programs for
Use only the SAS software to answer the questions.
Write one complete program for each question. So, there should be three complete SAS programs for this assignment.
Remember to show only the relevant SAS output for each question.
Remember to add titles to your output (including tables and graphs).
Question 1
Go to the IFS online database. Download the following data at the quarterly frequency from the first quarter of 2004 to the third quarter of 2016 for Brazil.
Gross Domestic Product, Real, National Currency
Save the data as an Excel file and name it q1. Make sure that the quarterly dates are in the following format: 03/01/05, 06/01/05, 09/01/05, 12/01/05, 03/01/06, etc. (8 characters in total for each date). Also make sure that the Excel file has been formatted appropriately so that it is ready to be imported to SAS.
Now, import the Excel data into SAS and write a short program that,
A) Shows the basic summary statistics for the real GDP data series.
B) Generates a new variable named ggdp, which computes the percentage change in the real GDP data. Then obtain a line plot that shows the growth rate in the real GDP over time.
C) Creates a dummy variable named recession that is set equal to one from the fourth quarter of 2007 to the first quarter of 2009, and zero otherwise. Note that this is the time period that captures the most recent U.S. economic recession. For this question, show the print output for your data including the dummy variable from the first quarter of 2006 to the fourth quarter of 2008.
One complete SAS program:
(Note: Points will be deducted if the program is shown in segments and not shown as one complete program)
SAS output for parts a, b, and c:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started