楼主: ahnulxy
1812 4

[DSGE讨论专题] A Question about Taking “data” to “model”:DSGE模型参数估计的一点思考 [推广有奖]

学科带头人

3%

还不是VIP/贵宾

-

威望
1
论坛币
12784 个
通用积分
2364.3649
学术水平
137 点
热心指数
166 点
信用等级
96 点
经验
47877 点
帖子
875
精华
2
在线时间
1494 小时
注册时间
2008-11-4
最后登录
2024-4-6

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
Generally speaking, we use a linear model to estimate parameters. Of course, we can use nonlinear model to estimate parameters too but it could be much more complicated [The first particle filter routines was released in Dynare 4.3. But it was not that clean and efficient at that time. Now It should be stable and efficient.]
In the linear model, variables are usually log-linearized\[ \hat{x}_{t}\equiv\log x_{t}-\log x\]   So in order to take data to model, we could define a growth variable as \[\text{d}x\equiv\log x_{t}-\log x_{t-1}=\hat{x}_{t}-\hat{x}_{t-1}\]then we define dx as varobs in Dynare model file. Then the growth data could be constructed from statistical level data and taken to model by loading the data into the model.
So the data are not necessarily be de-trended using HP filter when one estimate the parameters in the model though sometimes it is used. To my understanding, in this case, the cycle part of the HP filter is taken to model variable \[\hat{x}_{t}\]directly without defining a new observable variable. By definition, the cycle part of HP filter is the periodic variation around its trend. And the log-deviation form \[\hat{x}_{t}\] refers to the deviation from its steady state value. In this sense, the cycle part of HP filter matches   \[\hat{x}_{t}\] in implication to some extent.


二维码

扫码加我 拉你入群

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

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

关键词:question taking dsge模型 Quest About

已有 2 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
tulipsliu + 5 + 5 + 5 精彩帖子
linmengmiki + 100 + 100 精彩帖子

总评分: 经验 + 100  论坛币 + 100  学术水平 + 5  热心指数 + 5  信用等级 + 5   查看全部评分

琅琅教育 www.longlongedu.com  
人生最大的杯具:白天看中国股市,晚上看中国足球!
沙发
ahnulxy 发表于 2019-8-2 04:40:19 |只看作者 |坛友微信交流群
PDF附件 estimation_equations201907.pdf (103.98 KB)
已有 1 人评分经验 论坛币 收起 理由
linmengmiki + 100 + 100 精彩帖子

总评分: 经验 + 100  论坛币 + 100   查看全部评分

使用道具

藤椅
tianwk 发表于 2020-2-16 15:54:22 |只看作者 |坛友微信交流群
thanls for sharing

使用道具

板凳
lnsongxf 发表于 2020-7-9 06:32:54 |只看作者 |坛友微信交流群
稳态x可能在每一期都是不同的,例如GDP,此时 x_hat(t) = log[x(t)] - log[x_ss(t)] ,则

增长率 log[x(t)] - log[x(t-1)]
= x_hat(t) + log(x_ss(t)) - x_hat(t-1) - log[x_ss(t-1)]
= x_hat(t) - x_hat(t-1) + log[x_ss(t)]-log[x_ss(t-1)]
而对于GDP来说通常 log[x_ss(t)] - log[x_ss(t-1)] 不等于0

使用道具

报纸
tulipsliu 在职认证  发表于 2020-12-2 22:09:46 |只看作者 |坛友微信交流群
李向阳老师, 拥有微软软件工程师资格;

then we define dx as varobs in Dynare model file. Then the growth data could be constructed from statistical level data and taken to model by loading the data into the model.

这个教案里; 提示了定义变量;

很多人没学过高级语言。  C++ 或者 FORTRAN ;  动态编程语言的变量类型不需要预先申明: declare, or declaration. 我的英文不好,怕拼写错误;


我2007年大学毕业去深圳做研究员,所以因为我是研究员出身的;我知道这个帖子的作者就是李向阳老师本人;哈哈

可以进一步教学不?
同时,据我在遇到 dynare 错误的时候  dynare.m 文件里有 hook 钩子函数; hook 钩子函数在 C++ 语言,专业程序员更得心应手;以及 dynare 的并行多核计算, 配置 pstools 以及  .ini 文件;

很期待李向阳老师再露一手,因为我也买了李向阳老师的教材第一版; 看了后非常的痴迷。哈哈

尤其是在教学编程上,dynare 的
var,varexo ,parameters ,其实都是 double 类型的数据?

我现在和一些网友聊天,我就说定义一个MATLAB 变量
boolTest = true;    % declare a   boolen type varable.  变量用合成单词的大小写表示,应该在C++ 语言里叫做【匈牙利变量表示方法】
class(boolTest);

testMatrix = eyes(10); % declare a matrix ,which is double type varables ;
class(testMatrix):

goodnight, Yurs Daniel.

使用道具

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

本版微信群
加JingGuanBbs
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-26 13:44