Econ 5140: Problem Set #1 : Simple Dynamic General Equilibrium Fall 2024Matlab

Java Python Fall 2024 Econ 5140:

Problem Set #1 : Simple Dynamic General Equilibrium

Model and Solow Growth Model

Due Wednesday, Sept.  25rd, 2024

Q1: Download  China’s  annual real  GDP  (usually from  1952) and quarterly real GDP data (usually available from 1992) and use the a computer command to apply HP filer to the data and show the trend component and cyclical component. What do you find from the data?  (You can use command from other software as well.  )

For example:

Eview command:  (for annual data, λ = 100)

%  Example  Eview   code   for   hp=filter  ,   gdp hp   is   the   trended   component ;

Select   all

gdp . hpf ( lambda=1600)   gdp hp

series   gdp c  =  gdp       gdp hp

Q2: Question 2 from Chapter 4 of the GLS  (intermediate macro textbook I sent earlier) textbook. You can download data following the link provided in GSL text- book.

Q3: Consider the two-period endowment economy (with no uncertainty) we discuss in class.  But now we assume there are two types of households,  1 and 2.  Let us assume that there are L1  and L2  households of each type.  Also, assume that Type 1 agents receive Yt1  = 1 and Yt = 0.  So they are natural saver.  Type 2 agents are natural borrower,  receiving  Yt2   =  0  and Yt =  1.   Also,  these two types  of households have identical preference.

a) Derive the consumption function of Type 1 and 2.

b) What is the equilibrium interest rate in this case?  (Hint, you need to consider goods market equilibrium).

c) What is the equilibrium consumption for Type 1 and 2 households at period t and t + 1.  Are they same or diferent from those in the model we study in class?

Why?

d) Please explain if the distribution of endowment afect the equilibrium interest rate. Why?

Q4: Consider a two period economy with production, where consumers have utility given by

U(C1 , C2 ) = ln C1 + η ln(1 - H1 ) + β[ln C2 + η ln(1 - H2 )]             (0.1)

The consumer’s budget constrain is given by

C1 + K2     =   W1 H1 + R1 K1

C2     =   W2 H2 + R2 K2                                                     (0.2)

where W is the wage rate, R is the gross capital rental rate, H is the labor supply and K is the investment.

This says that in the first period, the consumer consumes and invests and earns wages from working and rents from renting her capital to the firm.  In the second period, the consumer consumes all wages and rents.  Since all consumers are alike we can think of the one consumer as representing ‘the whole economy’ .

a). The consumers  Econ 5140: Problem Set #1 : Simple Dynamic General Equilibrium Fall 2024Matlab will choose consumption, investment and labor supply in period 1 and 2 to maximize her utility, taking wage and rental rate as given. Describe the conditions that characterize the consumers’ optimal choice.

b). Explain the intuition of the intertemporal optimality condition (the Euler equa- tion) and the intratemporal optimality condition (the equation that relates the labor supply, wage and consumption).

c).    Assume  that  the  firms  are  perfectly  competitive.    What  will  be  the  com- petitive wage  and return to capital in each period,  if the production function is Y = ΘKα L1-α  in each period?

d).  Now use the results from a and b to compute the equilibrium value of employ- ment and first period investment for the economy.  Does employment depend on the productivity term Θ?  Can you explain?

Q5: Take the Solow growth model with exogenous saving rate s, population growth rate n, depreciation rate δ, and rate of labor augmenting technical progress g.  In addition, assume that the production function is of the Cobb-Douglas form.

Y = Kα (AL)1-α                                                                      (0.3)

a). Assume that factors of production are paid their marginal product. What is the expression for the wage and the return to capital, in terms of the intensive form. of the production function?

b).  Show that along the stead state, the return to capital will be constant, but the wage will be growing. At what rate will the wage grow?

c).  Assume that the economy start of below the steady state capital per efective labor. Show that the rate of return to capital will be falling over time, but the wage will be growing at a faster rate than in the steady state.

d). Compute the saving rate that is necessary so that the steady state of the economy is below the golden rule level for the capital per efective labor.

e).   Assume  now  that there  is  a  government which  spends  a  fraction  z of GDP in every year, so that the government spending is zY.  Using the national income identity Y = C + I + G to work out the new rule for capital accumulation in the Solow model.   How will  government spending  afect the long run growth rate of output per capita and the steady state level of GDP?

Q6: Read Section 1.6 of Romer, answer the following question.  Suppose there are two economies a and b,  let y˜a   =  L(Y)a(a)  and  ˜(y)b   =  L(Y)b(b) .   Suppose  that  the  production function in both economies are Cobb-Douglas, i.e., Y = Kα (AL)1-α .  Also suppose that the market is competitive and the marginal product of capital is equal to the rate of return to capital.

a).  If    = 10 and suppose the technology level  (Aa  = Ab ) is the same across two economies, what is the implied diference of rate of return in economy a and b? Is the observed diference in rate of return on capital reasonable? Why?

b). Now suppose that  = 10 still holds, but these two economies have diferent

technology level (Aa  Ab ). Usually the observed rate of return on capital between poor countries and rich countries is 3 - 4 times, assume that this is the diference in rate of return on capital between country a and b, i.e., = 4, what is the implied diference in technology in these two economies?

(Do not need to hand in.)Q7: Using the facts of growth and explain in what aspects the Solow growth model provides a theory of growth which is consistent with the data, and in what aspects it is not so successful         

深度学习作为人工智能的关键分支,依托多层神经网络架构对高维数据进行模式识别与函数逼近,广泛应用于连续变量预测任务。在Python编程环境中,得益于TensorFlow、PyTorch等框架的成熟生态,研究者能够高效构建面向回归分析的神经网络模型。本资源库聚焦于通过循环神经网络及其优化变体解决时序预测问题,特别针对传统RNN在长程依赖建模中的梯度异常现象,引入具有门控机制的长短期记忆网络(LSTM)以增强序列建模能力。 实践案例涵盖从数据预处理到模型评估的全流程:首先对原始时序数据进行标准化处理与滑动窗口分割,随后构建包含嵌入层、双向LSTM层及全连接层的网络结构。在模型训练阶段,采用自适应矩估计优化器配合早停策略,通过损失函数曲线监测过拟合现象。性能评估不仅关注均方根误差等量化指标,还通过预测值与真实值的轨迹可视化进行定性分析。 资源包内部分为三个核心模块:其一是经过清洗的金融时序数据集,包含标准化后的股价波动记录;其二是模块化编程实现的模型构建、训练与验证流程;其三是基于Matplotlib实现的动态结果展示系统。所有代码均遵循面向对象设计原则,提供完整的类型注解与异常处理机制。 该实践项目揭示了深度神经网络在非线性回归任务中的优势:通过多层非线性变换,模型能够捕获数据中的高阶相互作用,而Dropout层与正则化技术的运用则保障了泛化能力。值得注意的是,当处理高频时序数据时,需特别注意序列平稳性检验与季节性分解等预处理步骤,这对预测精度具有决定性影响。 资源来源于网络分享,仅用于学习交流使用,请勿用于商业,如有侵权请联系我删除!
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值