4844 11

[DSGE讨论专题] 哈哈 贴出来好好读读。。不是给别人看的 自己看的 [推广有奖]

  • 9关注
  • 9粉丝

讲师

92%

还不是VIP/贵宾

-

威望
0
论坛币
33 个
通用积分
2.0947
学术水平
17 点
热心指数
14 点
信用等级
10 点
经验
13026 点
帖子
580
精华
0
在线时间
478 小时
注册时间
2010-11-29
最后登录
2022-11-14

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

This is a Classroom License for instructional use only.
Research and commercial use is prohibited.
MATLAB desktop keyboard shortcuts, such as Ctrl+S, are now customizable.
In addition, many keyboard shortcuts have changed for improved consistency
across the desktop.
To customize keyboard shortcuts, use Preferences. From there, you can also
restore previous default settings by following the steps outlined in Help.
Click here if you do not want to see this message again.

>> addpath:c;\dynare\4.3.3\matlab
??? addpath:c;\dynare\4.3.3\matlab
              |
Error: Unexpected MATLAB operator.

>> c;\dynare\work
??? c;\dynare\work
      |
Error: Unexpected MATLAB operator.

>> cd c:\dynare\work
??? Error using ==> cd
Cannot CD to c:\dynare\work (Name is nonexistent or not a directory).

>> cd c:\dynare\4.3.3\examples\example2.mod
??? Error using ==> cd
Cannot CD to c:\dynare\4.3.3\examples\example2.mod (Directory access
failure).

>> cd c:\dynare\4.3.3\examples\fs2000_steadystate.m
??? Error using ==> cd
Cannot CD to c:\dynare\4.3.3\examples\fs2000_steadystate.m (Directory
access failure).

>>
>> cd c:\dynare\4.3.3\examples\\
>> cd c:\dynare\4.3.3\examples\
>> dynare
??? Input argument "fname" is undefined.
Error in ==> dynare at 36
if strcmpi(fname,'help')

>> cd c:\dynare\4.3.3\examples
>> dynare example1

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.3.3).
Starting preprocessing of the model file ...
Found 6 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.

MODEL SUMMARY

  Number of variables:         6
  Number of stochastic shocks: 2
  Number of state variables:   3
  Number of jumpers:           3
  Number of static variables:  1

MATRIX OF COVARIANCE OF EXOGENOUS SHOCKS
Variables       e         u   
e            0.000081  0.000008
u            0.000008  0.000081

POLICY AND TRANSITION FUNCTIONS
                                       y               c               k               a               h               b
Constant                    1.080953        0.803479       11.083988               0        0.291870               0
(correction)                0.000270       -0.000113        0.000383               0        0.000114               0
k(-1)                       0.005358        0.038542        0.941817               0       -0.012547               0
a(-1)                       1.836717        0.424583        1.419062        0.950000        0.341715        0.025000
b(-1)                       0.837086       -0.318740        1.419062        0.025000        0.341715        0.950000
e                           1.911522        0.456074        1.455448        1.000000        0.350477               0
u                           0.830840       -0.347518        1.455448               0        0.350477        1.000000
k(-1),k(-1)                -0.000693       -0.000620       -0.000072               0        0.000640               0
a(-1),k(-1)                 0.031013        0.011201        0.018983               0       -0.005454               0
a(-1),a(-1)                 1.354840        0.198327        1.191903               0        0.113219               0
b(-1),k(-1)                 0.026057       -0.024450        0.018983               0       -0.005454               0
b(-1),a(-1)                 1.010716        0.003915        2.383805               0        0.226438               0
b(-1),b(-1)                 0.118206        0.149375        1.191903               0        0.113219               0
e,e                         1.473867        0.220058        1.253809               0        0.119100               0
u,e                         1.036212       -0.015958        2.507619               0        0.238199               0
u,u                         0.102686        0.165780        1.253809               0        0.119100               0
k(-1),e                     0.031946        0.012476        0.019470               0       -0.005594               0
k(-1),u                     0.026588       -0.026065        0.019470               0       -0.005594               0
a(-1),e                     2.826253        0.417711        2.444928               0        0.232244               0
a(-1),u                     0.989536       -0.006871        2.444928               0        0.232244               0
b(-1),e                     1.058095       -0.004158        2.444928               0        0.232244               0
b(-1),u                     0.221009        0.314583        2.444928               0        0.232244               0

APROXIMATED THEORETICAL MOMENTS
VARIABLE      MEAN    STD. DEV.   VARIANCE
y              1.0847     0.0897     0.0080
c              0.8065     0.0529     0.0028
k             11.1870     1.2603     1.5883
a              0.0000     0.0340     0.0012
h              0.2917     0.0119     0.0001
b              0.0000     0.0340     0.0012


APPROXIMATED VARIANCE DECOMPOSITION (in percent)
      e      u   
y    70.30  29.70
c    65.16  34.84
k    55.00  45.00
a    88.20  11.80
h    55.00  45.00
b    17.43  82.57


APPROXIMATED MATRIX OF CORRELATIONS
Variables      y       c       k       a       h       b   
y            1.0000  0.8742  0.8548  0.9563  0.6237  0.7773
c            0.8742  1.0000  0.9704  0.8396  0.1656  0.6138
k            0.8548  0.9704  1.0000  0.7504  0.1739  0.7504
a            0.9563  0.8396  0.7504  1.0000  0.5906  0.5627
h            0.6237  0.1656  0.1739  0.5906  1.0000  0.5906
b            0.7773  0.6138  0.7504  0.5627  0.5906  1.0000


APPROXIMATED COEFFICIENTS OF AUTOCORRELATION
Order      1       2       3       4       5   
y        0.9762  0.9530  0.9303  0.9081  0.8864
c        0.9949  0.9889  0.9819  0.9741  0.9656
k        0.9992  0.9971  0.9937  0.9891  0.9834
a        0.9641  0.9299  0.8973  0.8662  0.8365
h        0.9195  0.8442  0.7739  0.7082  0.6468
b        0.9641  0.9299  0.8973  0.8662  0.8365
Total computing time : 0h00m09s
>> edit example1.mod
二维码

扫码加我 拉你入群

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

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

关键词:Perturbation coefficients correlations Approximate correlation commercial customize following default addition

我只看看 ,笑笑。
沙发
谢浩钧 发表于 2013-12-3 11:46:40 |只看作者 |坛友微信交流群
这个东西我确实不知道该怎么读

使用道具

谢浩钧 发表于 2013-12-3 11:46
这个东西我确实不知道该怎么读
Dynare   
我只看看 ,笑笑。

使用道具

呵呵

使用道具

孤独的散步者翱 发表于 2013-12-9 23:28
呵呵
e
我只看看 ,笑笑。

使用道具

孤独的散步者翱 发表于 2013-12-9 23:28
呵呵
求指导
我只看看 ,笑笑。

使用道具

我是一只高压锅 发表于 2013-12-10 23:57
e
同学,dynare学的怎么样啊?

使用道具

孤独的散步者翱 发表于 2013-12-11 00:01
同学,dynare学的怎么样啊?
你看我的的代码就该看出来我刚刚起步诶
我只看看 ,笑笑。

使用道具

我是一只高压锅 发表于 2013-12-14 23:37
你看我的的代码就该看出来我刚刚起步诶
我也是刚会一点点

使用道具

10
yuanxinqiang 发表于 2013-12-19 15:36:53 |只看作者 |坛友微信交流群
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.3.3).
Starting preprocessing of the model file ...
Found 11 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.


Rs =

    1.0101


STEADY-STATE RESULTS:

ly                    0.00509623
lc                    -0.26283
lk                    2.24596
li                    -1.44292
lh                    -1.09861
ly_l                  1.10371
lw                    0.703231
Rk                    -3.34953
Rs                    0.0100503
Rf                    0.0100503
z                     0

EIGENVALUES:
         Modulus             Real        Imaginary

          0.9486           0.9486                0
            0.95             0.95                0
           1.065            1.065                0
             Inf              Inf                0
             Inf              Inf                0


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

The rank condition is verified.


MODEL SUMMARY

  Number of variables:         11
  Number of stochastic shocks: 1
  Number of state variables:   2
  Number of jumpers:           3
  Number of static variables:  7


MATRIX OF COVARIANCE OF EXOGENOUS SHOCKS

Variables       e   
e            0.000100

POLICY AND TRANSITION FUNCTIONS
                                    ly              lc              lk              li              lh              ly_l            lw              Rk              Rs              Rf              z   
Constant                    0.005096       -0.262830        2.245959       -1.442920       -1.098612        1.103709        0.703231       -3.349525        0.010050        0.010050               0
lk(-1)                      0.162828        0.537093        0.948618       -1.055280       -0.249510        0.412338        0.412338       -0.837172       -0.029092       -0.027597               0
z(-1)                       1.397370        0.395795        0.116429        4.657166        0.667717        0.729653        0.729653        1.397370        0.048559        0.042744        0.950000
e                           1.470916        0.416626        0.122557        4.902280        0.702860        0.768056        0.768056        1.470916        0.051114        0.044993        1.000000


THEORETICAL MOMENTS (HP filter, lambda = 1600)

VARIABLE      MEAN    STD. DEV.   VARIANCE
ly             0.0051     0.0192     0.0004
lc            -0.2628     0.0063     0.0000
lk             2.2460     0.0056     0.0000
li            -1.4429     0.0640     0.0041
lh            -1.0986     0.0092     0.0001
ly_l           1.1037     0.0104     0.0001
lw             0.7032     0.0104     0.0001
Rk            -3.3495     0.0196     0.0004
Rs             0.0101     0.0007     0.0000
Rf             0.0101     0.0006     0.0000
z              0.0000     0.0130     0.0002



MATRIX OF CORRELATIONS (HP filter, lambda = 1600)

Variables     ly      lc      lk      li      lh     ly_l     lw      Rk      Rs      Rf       z   
ly           1.0000  0.9002  0.3628  0.9902  0.9801  0.9843  0.9843  0.9584  0.9584  0.9530  0.9989
lc           0.9002  1.0000  0.7324  0.8306  0.7959  0.9630  0.9630  0.7384  0.7384  0.7261  0.8785
lk           0.3628  0.7324  1.0000  0.2291  0.1707  0.5218  0.5218  0.0817  0.0817  0.0636  0.3182
li           0.9902  0.8306  0.2291  1.0000  0.9982  0.9500  0.9500  0.9889  0.9889  0.9860  0.9957
lh           0.9801  0.7959  0.1707  0.9982  1.0000  0.9296  0.9296  0.9960  0.9960  0.9942  0.9884
ly_l         0.9843  0.9630  0.5218  0.9500  0.9296  1.0000  1.0000  0.8929  0.8929  0.8845  0.9748
lw           0.9843  0.9630  0.5218  0.9500  0.9296  1.0000  1.0000  0.8929  0.8929  0.8845  0.9748
Rk           0.9584  0.7384  0.0817  0.9889  0.9960  0.8929  0.8929  1.0000  1.0000  0.9998  0.9709
Rs           0.9584  0.7384  0.0817  0.9889  0.9960  0.8929  0.8929  1.0000  1.0000  0.9998  0.9709
Rf           0.9530  0.7261  0.0636  0.9860  0.9942  0.8845  0.8845  0.9998  0.9998  1.0000  0.9663
z            0.9989  0.8785  0.3182  0.9957  0.9884  0.9748  0.9748  0.9709  0.9709  0.9663  1.0000



COEFFICIENTS OF AUTOCORRELATION (HP filter, lambda = 1600)

Order      1       2       3       4       5   
ly       0.7181  0.4788  0.2800  0.1188 -0.0082
lc       0.8068  0.6189  0.4427  0.2823  0.1408
lk       0.9586  0.8589  0.7213  0.5625  0.3959
li       0.7070  0.4612  0.2595  0.0982 -0.0269
lh       0.7052  0.4584  0.2563  0.0950 -0.0299
ly_l     0.7451  0.5215  0.3296  0.1686  0.0372
lw       0.7451  0.5215  0.3296  0.1686  0.0372
Rk       0.7060  0.4597  0.2578  0.0965 -0.0285
Rs       0.7060  0.4597  0.2578  0.0965 -0.0285
Rf       0.7067  0.4608  0.2590  0.0977 -0.0274
z        0.7133  0.4711  0.2711  0.1098 -0.0163


standard deviations in %

VARIABLE   REL. S.D.
ly               1.92
lc               0.63
lk               0.56
li               6.40
lh               0.92
ly_l             1.04
lw               1.04
Rk               1.96
Rs               0.07
Rf               0.06


Relative standard deviations in %

VARIABLE   REL. S.D.
ly               1.00
lc               0.33
lk               0.29
li               3.33
lh               0.48
ly_l             0.54
lw               0.54
Rk               1.02
Rs               0.04
Rf               0.03
Total computing time : 0h00m03s

使用道具

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

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

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

GMT+8, 2024-5-2 01:00