| ²é¿´: 354 | »Ø¸´: 0 | ||
swordsmenľ³æ (СÓÐÃûÆø)
|
[ÇóÖú]
Çë¸ßÊÖ°ïÎÒ¿´ÏÂÕâ¸öGAUSS³ÌÐò
|
|
new; FORMAT /M1 /ROS 8,4; library pgraph; _pdate=""; _pcolor = 1; _pmcolor = ZEROS(8,1)|15; /* path1 = "Z:\\Stephan.Popp\\Projekte\\perronmultiple\\gauss\\output.out"; OUTPUT FILE = ^path1 ON; */ "******************************************"; "date: " datestr(date) " time: " timestr(time); "*******************************************"; /* DATA ** the first column should contain the years or quarters (i.e. 1973.3) ** and the second the observations */ load yy[1456,2]=d:\workgauss\brentw.txt; @ change path settings and yy[here include # of observations ,2]@ /* Randomly chosen dataset yy=SEQA(1900,1,100)~RNDN(100,1); */ XY(yy[.,1],yy[.,2]); yyy= yy[.,2]; kmax = 5; @ max lag @ ttt = rows(yyy); tau = 0.2; @ trimming factor @ "Series: Log(.)"; "Sample:" yy[1,1]~yy[rows(yyy),1]; "# observations:" ttt; "maximum lag " kmax; "trimming factor " tau; "program: popp2break.prg" ; "*******************************"; tbunter = MAXC(3+kmax|CEIL(tau*ttt)); @ lower break date @ "break date floor, effective tau " tbunter~yy[tbunter,1]~tbunter/ttt; tbober = MINC(ttt-3-kmax|FLOOR((1-tau)*ttt)); @ upper break date @ "break date ceiling, effective (1-tau) " tbober~yy[tbober,1]~tbober/ttt; "*******************************************"; /************** Model 0 *****************/ ergeb = ZEROS(2,1); @ Vektor zum Speichern der Ergebnisse @ tbopt = ZEROS(2,1); ttb1 = tbunter; ttb2 = 0; do while ttb1 <= tbober; @ Schleife der durchlaufenden Bruchzeitpunkte T_B @ {rho1,trho1,ttheta1,pp1,rres1,varres1,tstat1,kk1} = mio2break0b(yyy,ttb1,ttb2,kmax); if ABS(ttheta1) > ABS(ergeb[1,1]); ergeb[1,1] = ttheta1; ergeb[2,1] = ttb1; endif; ttb1 = ttb1 + 1; endo; tbopt[1] = ergeb[2,1]; ergeb = ZEROS(2,1); @ Vektor zum Speichern der Ergebnisse @ ttb2 = tbunter; do while ttb2 <= tbober; if ABS(ttb2 - tbopt[1]) < 2; ttb2 = tbopt[1] + 2; endif; {rho1,trho1,ttheta1,pp1,rres1,varres1,tstat1,kk1} = mio2break0b(yyy,tbopt[1],ttb2,kmax); if ABS(ttheta1) > ABS(ergeb[1,1]); ergeb[1,1] = ttheta1; ergeb[2,1] = ttb2; endif; ttb2 = ttb2 + 1; endo; tbopt[2] = ergeb[2,1]; tbopt = SORTC(tbopt,1); {rho1,trho1,ttheta1,pp1,rres1,varres1,tstat1,kk1} = mio2break0b(yyy,tbopt[1],tbopt[2],kmax); "****************"; "output"; "****************"; "model type M0"; "first break " tbopt[1]~yy[tbopt[1],1]~tbopt[1]/ROWS(yy); "second break " tbopt[2]~yy[tbopt[2],1]~tbopt[2]/ROWS(yy); "phi = rho-1 " rho1; "t value " trho1; "optimal lag " kk1; "variance " varres1; "------"; "coeff tstat "; "yyverz constant du1verz du2verz dtb1 dtb2"; pp1~tstat1; ÎÒÔÚÔËÐйý³ÌÖУ¬ÏµÍ³ÌáʾUndefined symbols: mio2break0b¡£ Õâ±íʾ±äÁ¿mio2break0b¼ÈûÓб»¶¨ÒåÓÖûÓб»¸³Öµ¡£µ«ÊÇÎÒ²»ÖªµÀ¸ÃÔõô¸Ä£¬Çë½Ì¸ßÊÖ£¬Ð»Ð»¡£ |
» ²ÂÄãϲ»¶
»¯¹¤×¨Ë¶Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
274Çóµ÷¼Á
ÒѾÓÐ5È˻ظ´
µ÷¼Á
ÒѾÓÐ3È˻ظ´
08¹¤Ñ§µ÷¼Á
ÒѾÓÐ15È˻ظ´
ÕÐ08¿¼Êýѧ
ÒѾÓÐ16È˻ظ´
340Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
²ÄÁÏר˶ÕÒµ÷¼Á
ÒѾÓÐ4È˻ظ´
0854µç×ÓÐÅÏ¢Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
0805 316Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
0854 ¿¼Ñе÷¼Á ÕÐÉúÁË£¡AI ·½Ïò
ÒѾÓÐ17È˻ظ´
ÕÒµ½Ò»Ð©Ïà¹ØµÄ¾«»ªÌû×Ó£¬Ï£ÍûÓÐÓÃŶ~
С°×ÇóÖúÔõô¸ü¸Ä¸ß˹¼ÆËãµÄÊÕÁ²Ìõ¼þ
ÒѾÓÐ6È˻ظ´
ÇóÖú£ºÇëÎʸ÷λ¸ßÊÖÔÚ¸ß˹09ÖÐÓÅ»¯µ¥¸ö·Ö×ÓʱÈçºÎ°ÑÒ»²¿·ÖµÄ²ÎÊý¹Ì¶¨ÁË£¬ÓÅ»¯ÆäËû²¿·Ö
ÒѾÓÐ12È˻ظ´
Óиömatlab³ÌÐò£¬µ«ÊÇÔËÐв»ÏÂÀ´£¬Çó¸ßÊÖ
ÒѾÓÐ23È˻ظ´
Fortran±à³Ì¹ý³ÌÖÐÓöµ½´íÎó£¬Çó´óÏÀ°ïæ¿´ÏÂ
ÒѾÓÐ5È˻ظ´
GaussView¼ÆËãÖжϺó£¬ÈçºÎ²Ù×÷¿ÉÒÔ½Ó×ÅÖжÏǰµÄ¼ÌÐø¼ÆË㣿
ÒѾÓÐ16È˻ظ´
Çó¸ßÊÖ½â´ð--¸ß˹Èí¼þ¼ÆË㻯ѧ·´Ó¦»úÀí
ÒѾÓÐ6È˻ظ´
Çëmatlab¸ßÊÖ¿´Ò»ÏÂÕâ¸öÎÊÌâÔõÑù±à³Ì²ÅºÃ£¬¸½³ÌÐò´úÂ룬лл£¡
ÒѾÓÐ9È˻ظ´
ÇóMatlab¸ßÊÖ½â¾öÏßÐÔ·½³Ì×éµÄµü´úÇó½âÎÊÌâ
ÒѾÓÐ17È˻ظ´
1stoptÔËÐгÌÐò£¬×ÜÊdzöÏÖ×Ö·ûº¯Êý´íÎóµÄÌáʾ£¬Çë¸ßÊÖ°ïÖú
ÒѾÓÐ5È˻ظ´
߲߸£¨100¡ª150¸öÔ×Ó£©¸ß˹¼ÆËãµÄ¼ÆËã»úÅäÖÃÎÊÌâ
ÒѾÓÐ14È˻ظ´
ÇëÎÊÅ£¶Ù·¨ºÍ¸ß˹ţ¶Ù·¨ÓÐʲô²»Í¬£¿·Ç³£¸Ðл
ÒѾÓÐ6È˻ظ´
¸ß˹irc¼ÆËã³ö´í£¬Çë¸ßÊÖ°ïæ¿´Ò»ÏÂÔõô½â¾ö
ÒѾÓÐ8È˻ظ´
gaussian 09 ×öºÃÊäÈëÎļþºó×ÜÊǹØÁª²»ÉÏ£¬×Ü˵ÕÒ²»µ½Îļþ£¬Çë¸ßÊÖÖ¸µã£¡
ÒѾÓÐ16È˻ظ´
°ïæ½²½âһϠÎļþµÄ¶ÁÈ¡
ÒѾÓÐ26È˻ظ´
Óøß˹¼ÆË㣬ÏëÂòһ̨СÐÍ·þÎñÆ÷×Ô¼ÒÓã¬Çë´ó¼Ò°ïæ²Î¿¼
ÒѾÓÐ5È˻ظ´
¡¾ÇóÖú¡¿¸ß˹¼ÆËã³öÏÖFatal Problem: The smallest alpha delta epsilon is -0.785373
ÒѾÓÐ7È˻ظ´
¡¾ÇóÖú¡¿Çë¸ßÊÖ·ÖÎöϸß˹2070´íÎó£¬
ÒѾÓÐ7È˻ظ´
¡¾ÇóÖú¡¿°ïæ¸Äдչ¿í³ÌÐò
ÒѾÓÐ11È˻ظ´
¿ÆÑдÓСľ³æ¿ªÊ¼£¬ÈËÈËΪÎÒ£¬ÎÒΪÈËÈË













»Ø¸´´ËÂ¥
µã»÷ÕâÀïËÑË÷¸ü¶àÏà¹Ø×ÊÔ´