楼主: freedom021
4087 5

[DSGE讨论专题] dynare参数估计请教。 [推广有奖]

  • 3关注
  • 2粉丝

已卖:163份资源

本科生

60%

还不是VIP/贵宾

-

威望
0
论坛币
116 个
通用积分
29.5900
学术水平
0 点
热心指数
2 点
信用等级
0 点
经验
5562 点
帖子
74
精华
0
在线时间
105 小时
注册时间
2010-4-12
最后登录
2024-4-26

楼主
freedom021 发表于 2015-8-17 15:33:23 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
模型利用校准数据做过模拟,模型能跑出结果,单参数估计无法运行处结果。以下是运行结果:

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Starting Dynare (version 4.4.3).
Starting preprocessing of the model file ...
Substitution of endo lags >= 2: added 1 auxiliary variables and equations.
Found 23 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.


STEADY-STATE RESULTS:

i                                 0
c                                 0
w                                 0
p                                 0
m                                 0
rd                                0
rl                                0
rk                                0
y                                 0
k                                 0
n                                 0
q                                 0
u                                 0
b                                 0
z                                 0
l                                 0
lcb                               0
d                                 0.226994
r                                 0
re                                0
e                                 0
rr                                0.00922032

EIGENVALUES:
         Modulus             Real        Imaginary

      9.939e-017       9.939e-017                0
      1.818e-014       1.818e-014                0
          0.2128           0.2128                0
          0.3024          -0.1122           0.2808
          0.3024          -0.1122          -0.2808
           0.604            0.604                0
             0.7              0.7                0
             0.7              0.7                0
            0.85             0.85                0
            0.85             0.85                0
          0.9829           0.8737           0.4504
          0.9829           0.8737          -0.4504
           1.034            1.034                0
           1.055            1.055          0.01484
           1.055            1.055         -0.01484
             Inf             -Inf                0
             Inf              Inf                0
             Inf              Inf                0


There are 6 eigenvalue(s) larger than 1 in modulus
for 6 forward-looking variable(s)

The rank condition is verified.

Loading 58 observations from date20.m



ESTIMATION_CHECKS: There was an error in computing the likelihood for initial parameter values.
ESTIMATION_CHECKS: You should try using the calibrated version of the model as starting values. To do
ESTIMATION_CHECKS: this, add an empty estimated_params_init-block with use_calibration option immediately before the estimation
ESTIMATION_CHECKS: command (and after the estimated_params-block so that it does not get overwritten):



??? Error using ==> initial_estimation_checks at 34
initial_estimation_checks:: Estimation can't take place because there are less declared shocks than observed variables!

Error in ==> initial_estimation_checks at 34
    error(['initial_estimation_checks:: Estimation can''t take place because there are less declared shocks than observed variables!'])

Error in ==> dynare_estimation_1 at 179
    oo_ = initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);

Error in ==> dynare_estimation at 89
    dynare_estimation_1(var_list,dname);

Error in ==> mp5est at 468
dynare_estimation(var_list_);

Error in ==> dynare at 180
evalin('base',fname) ;





二维码

扫码加我 拉你入群

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

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

关键词:dynare 参数估计 ARE Perturbation substitution products equation sequence solution version

沙发
freedom021 发表于 2015-8-17 15:34:20
请教问题出在参数初始值的设定上吗??
还是参数的稳态值上?

藤椅
richardgu26 发表于 2015-8-17 17:22:05
log-linearized model? 如果是的话,你的steady-state values 应该都是零,如有非零的,可能是你的模型有问题。仅供参考
已有 1 人评分论坛币 学术水平 热心指数 收起 理由
freedom021 + 3 + 1 + 1 热心帮助其他会员

总评分: 论坛币 + 3  学术水平 + 1  热心指数 + 1   查看全部评分

板凳
freedom021 发表于 2015-8-18 14:38:18
richardgu26 发表于 2015-8-17 17:22
log-linearized model? 如果是的话,你的steady-state values 应该都是零,如有非零的,可能是你的模型有问 ...
STEADY-STATE RESULTS:

i                                 0
c                                 0
w                                 0
p                                 0
m                                 0
rd                                0
rl                                0
rk                                0
y                                 0
k                                 0
n                                 0
q                                 0
u                                 0
b                                 0
z                                 0
l                                 0
d                                 0
r                                 0

我调整模型之后,模型参数稳态都为零。但仍存在以下问题,


ESTIMATION_CHECKS: There was an error in computing the likelihood for initial parameter values.
ESTIMATION_CHECKS: You should try using the calibrated version of the model as starting values. To do
ESTIMATION_CHECKS: this, add an empty estimated_params_init-block with use_calibration option immediately before the estimation
ESTIMATION_CHECKS: command (and after the estimated_params-block so that it does not get overwritten):


??? Error using ==> initial_estimation_checks at 34
initial_estimation_checks:: Estimation can't take place because there are less declared shocks than observed variables!

Error in ==> initial_estimation_checks at 34
    error(['initial_estimation_checks:: Estimation can''t take place because there are less declared shocks than observed variables!'])

Error in ==> dynare_estimation_1 at 179
    oo_ = initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);

Error in ==> dynare_estimation at 89
    dynare_estimation_1(var_list,dname);

Error in ==> mp6est at 437
dynare_estimation(var_list_);

Error in ==> dynare at 180
evalin('base',fname) ;


问题是不是出在模型初始参数值校准部分?

报纸
richardgu26 发表于 2015-8-18 14:59:27
freedom021 发表于 2015-8-18 14:38
STEADY-STATE RESULTS:

i                                 0
没有模型,暂时无法得知问题所在。按照提示,问题应该是在你的初始值上。

地板
freedom021 发表于 2015-8-18 15:01:16
问题已解决。问题在于观察变量多了,与冲击数不匹配。重新设定模型冲击或者观察变量,就解决了问题。

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

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