楼主: ahnulxy
2251 1

[DSGE讨论专题] 为什么Dynare不提供一阶线性化的条件? [推广有奖]

已卖:2109份资源

学科带头人

3%

还不是VIP/贵宾

-

威望
1
论坛币
13191 个
通用积分
2411.7140
学术水平
137 点
热心指数
166 点
信用等级
96 点
经验
49444 点
帖子
874
精华
2
在线时间
1511 小时
注册时间
2008-11-4
最后登录
2025-12-17

楼主
ahnulxy 发表于 2019-3-5 14:56:12 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
很多同学,包括我在内,一直有这个问题。今天寻求到了官方的答案。
很多研究都是从线性化开始的,而且都是手动求解一阶条件,然后输入dynare的mod文件中,然后进行参数估计等分析。
手动线性化耗时耗力,而且容易出错,我一直不鼓励这么做,但除非必须如此。dynare可以一阶求解,使用order=1即可完成,无需手动。既然dynare能够一阶求解,为什么dynare不能直接给出一阶条件呢?也就是说直接将一阶条件显示出来给大家看呢?这样岂不是非常高效率吗?

Stéphane给出了答案:


Dynare does not provide this. In principle it would be possible to do that, since Dynare computes the Jacobian matrix of the model analytically. But this jacobian has to be evaluated at the steady state to write the log-linear (or linear) approximation of the model. Even if we have a closed form expression for the steady state, the evaluation of the Jacobian matrix is done numerically by Dynare. Using this matrix to write the log-linear approximation we would obtain equations with numbers for the elasticities, instead of functions of the parameters, and that would not be very useful.


更多请参考:https://forum.dynare.org/t/makin ... n-of-my-model/12591


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝


琅琅教育 www.longlongedu.com  
人生最大的杯具:白天看中国股市,晚上看中国足球!

沙发
ahnulxy 发表于 2019-3-5 14:59:24
我们手动计算的一阶条件是字符运算的结果,而dynare则数值求解,将结构参数等直接数值替换,因此这样得到的结果,意义不大。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2025-12-25 18:16