楼主: rastila
67334 187

[经济学模型] DSGE模型讨论之七——最简单的DSGE模型的Dynare模拟和MLE,Bayesian估计   [推广有奖]

131
jianbin_1 发表于 2012-10-1 02:38:37
大量的dynare 模型  好东西啊 大家分享 包括  CEE2005,SWET2002

132
rastila 在职认证  发表于 2012-10-2 15:54:19
tutuyaoyao 发表于 2012-9-29 09:56
老师你好,我想问一下,怎么看 oo_.   里的东西,怎么让它里的东西显示出来?
dynare跑完了之后会有一堆结果,你要先学习MATLAB的数据结构。dynare的都是用struct数据来表示的,就比如oo_.

133
lixiaosheng393 发表于 2012-10-3 21:03:19
zheyan

134
girl1982 发表于 2012-10-20 14:27:22

你好,我dynare估计时出现如下提示,请帮看看这是什么意思
??? Error using ==> dynare_estimation_init at 146
Initial parameter values are outside parameter bounds

Error in ==> dynare_estimation_1 at 37
  [data,rawdata,xparam1] = dynare_estimation_init(var_list_);

Error in ==> dynare_estimation at 62
    dynare_estimation_1(var_list,varargin{:});

Error in ==> Untitled4 at 534
dynare_estimation(var_list_);

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

135
girl1982 发表于 2012-10-20 19:29:28
Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.

Starting Dynare (version 4.2.4).
Starting preprocessing of the model file ...
Found 42 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.


You did not declare endogenous variables after the estimation command.
Posterior smoothed variables, posterior smoothed variables will be computed for
the 42 endogenous variables of your model, this can be
very long....


Choose one of the following options:

[1] Consider all the endogenous variables.
[2] Consider all the observed endogenous variables.
[3] Stop Dynare and change the mod file.

options [default is 1] =  1
This version of Dynare cannot estimate non linearized models!
Set "order" equal to 1.


ans =

     1
     2
     3
     4
     5
     6
     7
    10


ans =

   Empty matrix: 0-by-1

??? Error using ==> dynare_estimation_init at 146
Initial parameter values are outside parameter bounds

Error in ==> dynare_estimation_1 at 37
  [data,rawdata,xparam1] = dynare_estimation_init(var_list_);

Error in ==> dynare_estimation at 62
    dynare_estimation_1(var_list,varargin{:});

Error in ==> untitled2 at 540
dynare_estimation(var_list_);

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

>> 这是完整的运行错误提示

136
girl1982 发表于 2012-10-20 21:47:28
老师,以上这是急用的程序,望帮忙解答

137
rastila 在职认证  发表于 2012-10-21 00:15:16
girl1982 发表于 2012-10-20 21:47
老师,以上这是急用的程序,望帮忙解答
Please write your codes here as well

138
girl1982 发表于 2012-10-27 01:04:53
老师好,下面是我做的一段程序,跑不出结果望指教。这是论文急用,望老师你能解答。万分感谢。程序运行说稳态问题,我不太懂,望你具体讲解一下。

zhongjiexiugaibandata.xls
下载链接: https://bbs.pinggu.org/a-1199563.html

30.5 KB

chengxu.doc

53 KB

139
girl1982 发表于 2012-10-27 18:23:39
老师,我又将code老说估计值初值超范围,是什么意思望指教。前面发的我发的code我又修改了下,结果问题错处又变了,请帮看这次传的code就行了,谢谢。

xhdata.xlsx

13.48 KB

code.doc

101.5 KB

140
girl1982 发表于 2012-10-27 18:24:33
急着解决问题,望老师及时帮忙

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

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