楼主: 向修海
12377 25

有关gauss的DSGE程序 [推广有奖]

  • 1关注
  • 4粉丝

已卖:581份资源

博士生

60%

还不是VIP/贵宾

-

威望
0
论坛币
975 个
通用积分
6.8678
学术水平
12 点
热心指数
9 点
信用等级
5 点
经验
1871 点
帖子
185
精华
0
在线时间
382 小时
注册时间
2008-5-9
最后登录
2024-12-13

楼主
向修海 发表于 2010-11-25 17:36:29 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
附件有gauss的动态随机一般均衡模型的程序,并且只需要修改其中的参数设置,可以应用于大多数经济周期方面的论文。
二维码

扫码加我 拉你入群

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

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

关键词:GAUSS DSGE Aus USS 一般均衡模型 GAUSS RBC 经济周期

DSGE(17July2010).zip
下载链接: https://bbs.pinggu.org/a-801538.html

604.84 KB

需要: 2 个论坛币  [购买]

本附件包括:

  • DSGE_LA.g
  • DSGE_QA.g
  • SolveLA1.src
  • SolveLA2.src
  • SolveLA3.src
  • SolveQA1.src
  • SolveQA2.src
  • SolveQA3.src
  • Tools.dll
  • DFORRT.DLL
  • SolveLA4.src
  • DSGE_UG.pdf

已有 3 人评分经验 论坛币 学术水平 热心指数 收起 理由
zhaomn200145 + 40 + 60 + 2 + 2 精彩帖子
xuelida + 20 + 40 + 1 根据规定进行奖励
xuehe + 40 + 100 + 3 + 1 对论坛有贡献

总评分: 经验 + 100  论坛币 + 200  学术水平 + 5  热心指数 + 4   查看全部评分

厚积薄发

沙发
xuehe(未真实交易用户) 发表于 2010-11-26 16:53:02
本板块已有DGE,现在又贡献了DSGE,目前本版gauss做理论模型的还不多,版友贡献值得鼓励!望再提供一些文献资料等?

藤椅
wb123456(真实交易用户) 发表于 2011-1-4 16:29:14
xiexie~~~~~

板凳
zhangtao(真实交易用户) 发表于 2011-1-5 09:27:53
运行DSGE_LA.g后提示以下错误是什么原因?如何修正?非常感谢!
Undefined symbols:
    _plegend                           F:\0计量经济学前沿\Gauss\DSGE(17July2010)\SolveLA3.src(826)

(0) : error G0511 : Program compile failed

报纸
zhangtao(真实交易用户) 发表于 2011-1-5 09:29:18
Undefined symbols:
    _plegend                           F:\0计量经济学前沿\Gauss\DSGE(17July2010)\SolveQA2.src(912)

(0) : error G0511 : Program compile failed
运行DSGE_QA.g后,提示以上错误

地板
zhaomn200145(未真实交易用户) 发表于 2011-1-6 14:09:06
看一下程序里对 _plegend 是怎么定义的?

7
zhangtao(真实交易用户) 发表于 2011-1-6 16:21:29
proc(0)=SetLegend(j,ymin,ymax,i,sn);
    local a,b;
    external matrix _plegctl, _plegend;

    if ismiss(_plegend[sn,i,1]);
        if abs(ymin)>ymax;
           _plegctl=(1~6~floor(j/3)~ymin);
        else;
          _plegctl=(1~6~floor(j/3)~0.5*ymax);
        endif;
    else;     
       a=arraytomat(_plegend[sn,i,1]);
       b=arraytomat(_plegend[sn,i,2]);
        _plegctl=(1~6~a~b);
      
    endif;      
   
retp;

endp;

proc(1)=String1(s1,s2);

    local c;   
    c="  (" $+ ftos(s1,"*.*lf",6,2) $+ "-" $+ ftos(s2,"*.*lf",6,2) $+ ")  ";
   
retp(c);

endp;

proc(1)=String2(s);
    local l1, i1, s1;
    s1=ftos(s,"*.*lf",6,2);
    l1=strlen(s1);
    i1=round((19-l1)/2);
    s1=strtruncpad(" ",i1) $+ s1;
    i1=strlen(s1);
    s1=s1 $+ strtruncpad(" ",19-i1);
retp(s1);
endp;


   
#include SolveLA4.src;


     我看了,但是发现已经把plegend定义了,请帮我看看,谢谢!
程序在附件中,请帮忙运行看一下,由于我gauss刚入门,这么复杂的程序我还看不懂,
多谢!

新建文件夹 (8).rar

13.26 KB

8
向修海(未真实交易用户) 发表于 2011-1-6 22:22:32
检查下路径添加正确是否正确。我运行了的,完全可以。
厚积薄发

9
向修海(未真实交易用户) 发表于 2011-1-6 22:24:23
[img][/img]
厚积薄发

10
向修海(未真实交易用户) 发表于 2011-1-6 22:27:17
Eigenvalues of W:

      0.97250876                     
       1.0396476                     

                        (  0.43-  0.75)                       (  0.98-  0.99)    (  0.50-  0.82)   
Investment                     6.18               4.26               1.00               0.64      
                        (  4.73-  8.18)                       (  1.00-  1.00)    (  0.47-  0.80)   
Hours                          0.78               0.54               1.00               0.64      
                        (  0.60-  1.03)                       (  0.99-  1.00)    (  0.47-  0.80)   
Real Wage                      0.68               0.47               0.99               0.66      
                        (  0.52-  0.90)                       (  0.99-  1.00)    (  0.49-  0.82)   
Rental Rate of Capital         1.49               1.03               0.98               0.64      
                        (  1.14-  1.97)                       (  0.96-  0.99)    (  0.47-  0.81)   

Column 1: Variable name
Column 2: Standard deviation
Column 3: Standard deviation relative to standard deviation of variable Output
Column 4: Cross correlation with Output
Column 5: First order autocorrelation
Numbers in parenthesis: 95 percent of the moments are within these bounds
厚积薄发

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-6 04:16