Reference no: EM132242669
Question: 1. Write an Eviews program that does the following. Upload the code (prg file) to ELMS and also copy the contents of the code to your write-up:
a. Create a monthly workfile from 1980M1 to 2018M12
b. Get the following two variables from FRED:
i. Industrial Production: Manufacturing (NAICS) (Monthly, Seasonally Adjusted)
ii. All Employees: Manufacturing (Monthly, Seasonally Adjusted, thousands of persons)
c. Generate two new variables:
i. g_ip : Growth rate of ip, computed as the change in the log of the industrial production manufacturing index
ii. g_emp : Growth rate of emp, computed as the change in the log of the all employees of the manufacturing industry
d. Do a scatter plot of g_ip (y-axis) vs. g_emp (x-axis) with the regression line and save the resulting figure as "Figure 1".
e. Run a regression of g_emp on a constant, g_ip and first lag of g_ip and store the resulting output as a table called "Table 1".
2. For each of the data sources and variables below, report the value of the variable using as many digits as available in the source.
a. FRED, Civilian Labor Force Participation Rate, Percent, Seasonally Adjusted, March 2003. (Also note the "Updated" date reported on the top left of the screen).
b. ALFRED, Consumer Price Index for All Urban Consumers: All Items, Monthly, Seasonally Adjusted, 01/16/2014 vintage, Jan 2013.
c. Real-Time Data Set for Macroeconomists, Real Personal Consumption Expenditure: Total, 1992Q3 vintage, 1991Q1.
3. Using ALFRED, plot Real Gross Private Domestic Investment growth (quarter-on-quarter, annualized) for the period 2006Q1-2010Q4 using data as of the end of January 2011 and the data in the latest available vintage. You are free to use any method to bring the data in to Eviews to plot and you do not need to write an Eviews code for this. Simply put the plot in your write-up.
4. Write an Eviews program that uses loops to fill out the following matrix.
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
32
|
33
|
34
|
35
|