全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 经管百科 爱问频道
945 0
2018-10-09
运行simplest DSGE程序:

var x y;
varexo e;
parameters rho beta;
beta=0.9;
rho=0.9;
model(linear);
y=beta*y(+1)+x;
x=rho*x(-1)+e;
end;
initval;
x=0;
y=0;
end;
steady;
check;
resid;
shocks;
var e;stderr 0.1;
end;
stoch_simul(periods=900,order=1,irf=40,drop=400,aim_solver) y x;

save Simul_data y x;
varobs y x;
estimated_params;
beta, 0.8, 0.01, 0.99;
rho, 0.8, 0.01, 0.99;
end;
estimation(datafile=Simul_data, mode_check,
prefilter=1, order=1, mode_compute=1) y x;



一直提示:错误使用 initial_estimation_checks (line 49)
initial_estimation_checks:: Estimation can't take place because there are less declared shocks than observed variables!请大神帮助,感激不尽。。。。。

二维码

扫码加我 拉你入群

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

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

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群