联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Web作业Web作业

日期:2024-05-24 05:31

Macroeconometrics

Module 1: Graded Homework Problems

Note: this problem set requires you to solve problems ''by hand'' and also to submit a Stata .do file. Handwritten solutions are perfectly fine as long as they are clearly legible. Your solutions to the analytical problems (that is, those to be solved by hand) should all be in a single .pdf file (if you do solve the problems by hand, then you can take pictures and convert to .pdf). Please put this .pdf file along with the Stata .do file in a .zip folder and upload this .zip file for your submission. VERY IMPORTANT: .pdf and .zip are the only formats accepted: solutions not submitted in .pdf and/or submitted in more than one file and/or submitted using any compression other than .zip are subject to being subtracted points or simply earning a grade of zero.

1. For a first order di§erence equation

given the initial value x0 the solution is


if a ≠ 1 and

if a = 1. Explain how the solution behaves in each of the following cases and draw a graph with an example.

(a) 0 < a < 1, x0 > x =  > 0. So, x0 is greater than the steady state value x, which is strictly positive.

(b) —1 < a < 0, x0 < x =  > 0. So, x0 is less than the steady state value x, which is strictly positive.

(c) a = 1, b > 0, x0 > 0:

(d) a = 1, b < 0, x0 > 0:

(e) a = 1, b = 0, x0 > 0:

2. Consider the following lagged income determination model:



In equilibrium, Yt = Ct + It .

(a) Find the time path of national income Yt .

(b) Derive the steady state value of Y .

(c) Characterize the stability of the time path obtained in part (a).

3. (Note: the main references for this problems are the following two videos: ''M01.20: Stata: HP filter'' and ''M01.21: Stata: making a date.'') The Stata dataset realGDP.dta contains the variable rGDP, which is US real GDP (seasonally adjusted, at an annual rate) at quarterly frequency starting in the first quarter of 1947. Set up a Stata .do file called rGDP_control that does the following (in your code use commented lines of code to clearly indicate which part of the problem you are solving at each point):

(a) Clears the memory, loads the data, generates a date variable called quarter that starts in the first quarter of 1947 and formats the date variable so that it is ''readable by humans'' in line with the material covered in class and then uses tsset to set this variable up as the relevant time variable.

(b) Generates a variable called logGDP that is equal to the natural logarithm of rGDP (in Stata, to generate a variable called x that is equal to the natural log of y, run: gen x = log(y)).

(c) Generates a variable called C1600 that is equal to the cyclical component of logGDP using a smoothing parameter equal to 1600.

(d) Generates a variable called C10_5 that is equal to the cyclical component of logGDP using a smoothing parameter equal to 105.

(e) Uses the tsline command to plot C1600, names the graph "graph1," uses the replace command for the graph name and the nodraw option. Uses the tsline command to plot C10_5, names the graph "graph2," uses the replace command for the graph name and the nodraw option. Uses the graph combine command to put graph1 and graph2 on a same graph called ìgraph3îand uses the replace command for the graph name.

(f) Uses the sum command to obtain summary statistics for the variables C1600 and C10_5.

(g) Addresses the following question within the .do Öle itself by writing down the answer using comments: using your answers to part (e) and (f), which variable, C1600 or C10_5 is more volatilie and what explains this?














版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp