全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 MATLAB等数学软件专版
8163 294
2020-12-09
  - DisplayTables.m reads the Tables data from the results subfolder and prints them on screen using the same format and ordering as in the paper (without row names).

附件列表
网速.png

原图尺寸 31.53 KB

运行时候的网速

运行时候的网速

DSGE_FORTRAN_compiling.zip

大小:3.21 MB

只需: 50000 个论坛币  马上下载

source files

二维码

扫码加我 拉你入群

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

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

全部回复
2020-12-9 18:07:44
18:07  开始运行,看看最后的运行时间多少;
MATLAB 混编 FORTRAN 语言;

pool =

    'local'

Running Value Function Iteration...
Starting parallel pool (parpool) using the 'local' profile ...
Connected to the parallel pool (number of workers: 6).
Distance after 20 iterations: 0.88956
Distance after 40 iterations: 0.23221
二维码

扫码加我 拉你入群

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

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

2020-12-9 18:14:45
pool =

    'local'

Running Value Function Iteration...
Starting parallel pool (parpool) using the 'local' profile ...
Connected to the parallel pool (number of workers: 6).
Distance after 20 iterations: 0.88956
Distance after 40 iterations: 0.23221
Distance after 60 iterations: 0.084232
Distance after 80 iterations: 0.036514
Distance after 100 iterations: 0.017516
Distance after 120 iterations: 0.0088954
Distance after 140 iterations: 0.0046623
Distance after 160 iterations: 0.0024859
Distance after 180 iterations: 0.0013377
Value Function Iteration in iteration 1 completed
Running time : 610.1224 seconds.

Running Simulation...
二维码

扫码加我 拉你入群

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

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

2020-12-9 18:45:46
Running Simulation...
Simulation in iteration 1 completed
Running time : 1739.3256 seconds.

================================================================
Plant-level investment distribution
CP-dist: 0.87518     0.10234    0.020394     0.10382    0.020994
Skewness : 2.776
Kurtosis : 12.2762
================================================================


================================================================
Iteration 1 completed
Minimum P-value : 0.98544
Maximum absolute change in LOMs : 0.00018834
================================================================


ans =

    1.6723


ans =

    1.4505


ans =

   57.2594


ans =

    0.0175

Running Value Function Iteration...


18:45 开始运行   Value Function Iteration  ,  VFI 值函数迭代。
二维码

扫码加我 拉你入群

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

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

2020-12-9 19:08:32
19:09

Running Value Function Iteration...
Value Function Iteration in iteration 1 completed
Running time : 48.5786 seconds.

Running Simulation...
Simulation in iteration 1 completed
Running time : 14.5523 seconds.


================================================================
Phi =0
Iteration 1 completed
Minimum P-value : 0.94621
Maximum absolute change in LOMs : 0.00036588
================================================================


ans =

    1.6083


ans =

    1.3989


ans =

    2.6391


ans =

    1.1545

--------------------------------------
Table 2
--------------------------------------
GDP STD
--------------------------------------
    1.9600    1.4960    1.4694    1.4720

--------------------------------------
rel Var
--------------------------------------
    2.8200    3.5592    3.2460    3.2486
    1.0300    0.6071    0.6203    0.6201
    0.7200    0.4761    0.4540    0.4558
    2.2500    1.0299    1.0079    1.0109
    3.0200    1.0317    1.0102    1.0123
    0.5000    0.2438    0.2012    0.1889
    2.0800    0.8083    0.8186    0.8186

--------------------------------------
Correlation
--------------------------------------
    0.8500    0.8569    0.8838    0.8849
    0.8200    0.9403    0.9499    0.9487
    0.6100    0.9011    0.9044    0.9030
    0.3800    0.8372    0.8953    0.8996
    0.7900    0.6404    0.6294    0.6279
   -0.4300   -0.2074   -0.1733   -0.1619
   -0.0600    0.4596    0.4616    0.4592

--------------------------------------
Auto Correlation
--------------------------------------
    0.6500    0.2848    0.3241    0.3217
    0.6800    0.5817    0.5655    0.5715
    0.5700    0.3594    0.3800    0.3770
    0.4900    0.5573    0.5606    0.5600
    0.5000    0.5591    0.5630    0.5620
    0.5700    0.3235    0.4126    0.4187
    0.4500    0.6028    0.5704    0.5683

--------------------------------------


par =

  struct with fields:

            theta: 0.2500
               nu: 0.5000
            gamma: 1.0140
            delta: 0.0940
                b: 0
         disttype: 'uniform'
            xibar: 0.2000
                p: 1
          rho_eps: 0.9675
        sigma_eps: 0.0905
            sige1: 0.0586
            sige2: 0.1224
             weps: 0.5882
    update_weight: 1
             beta: 0.9700
                A: 1.8604
            sigma: 1.5000
            omega: 0.7000
        rho_zdiff: 0.7975
      sigma_zdiff: 6.6767e-04
         rho_zsum: 0.9801
       sigma_zsum: 0.0234
              kss: 1.0479

Running Value Function Iteration...
Distance after 20 iterations: 0.86682
Distance after 40 iterations: 0.22853
Distance after 60 iterations: 0.08331
Distance after 80 iterations: 0.036195
Distance after 100 iterations: 0.017381
二维码

扫码加我 拉你入群

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

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

2020-12-9 19:09:59
已经设定为只收论坛币  50 ;

是为了向我的论坛好友 epoh 大神致敬;
我和 epoh 认识快十年了; 在我的心里他一直是神一样的存在,论坛第一。
不多说了; 本来刚才修改帖子,这段话是放在帖子主页里的。 结果修改收论坛币 50 ,那段话消失了。
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
栏目导航
热门文章
推荐文章

说点什么

分享

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