全部版块 我的主页
论坛 经济学论坛 三区 宏观经济学
4028 5
2015-08-17
模型利用校准数据做过模拟,模型能跑出结果,单参数估计无法运行处结果。以下是运行结果:

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) ;





二维码

扫码加我 拉你入群

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

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

全部回复
2015-8-17 15:34:20
请教问题出在参数初始值的设定上吗??
还是参数的稳态值上?
二维码

扫码加我 拉你入群

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

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

2015-8-17 17:22:05
log-linearized model? 如果是的话,你的steady-state values 应该都是零,如有非零的,可能是你的模型有问题。仅供参考
二维码

扫码加我 拉你入群

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

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

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) ;


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

扫码加我 拉你入群

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

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

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

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

扫码加我 拉你入群

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

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

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

扫码加我 拉你入群

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

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

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

说点什么

分享

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