楼主: rightleft
8431 14

[问答] 求教pesaran CCE估计 [推广有奖]

  • 0关注
  • 2粉丝

初中生

95%

还不是VIP/贵宾

-

威望
0
论坛币
20 个
通用积分
51.3029
学术水平
2 点
热心指数
3 点
信用等级
2 点
经验
117 点
帖子
11
精华
0
在线时间
27 小时
注册时间
2011-3-1
最后登录
2012-1-7

楼主
rightleft 发表于 2011-10-21 16:37:30 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
对于面板数据的横截面相关现在主要有两种处理办法,一个是因子分析,另一个是利用空间相关。pesaran 2006年提出了CCE估计方法,就是使用因子分析来处理截面相关,附件里面是他给出的用于估计的GAUSS程序代码,一调试就出现index of range,看那位大侠能帮忙处理一下。
二维码

扫码加我 拉你入群

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

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

关键词:Pesaran Sara RAN ESA SAR 横截面 程序 空间

CCEgauss6_22Aug08.zip
下载链接: https://bbs.pinggu.org/a-981709.html

102.47 KB

本附件包括:

  • CCEtestdata.xls
  • CCEgauss6
  • CCEgauss6_out.txt
  • CCEgauss6_Readme.pdf

沙发
xuehe 发表于 2011-10-21 21:55:38
PESARAN, M.H., (2006), ESTIMATION and INFERENCE IN LARGE HETEROGENEOUS PANELS WITH A MULTIFACTOR
  ERROR STRUCTURE, ECONOMETRICA, VOL74, NO.4, PP.967-1012.
**********************************************************************************************************
++++++++++++++++ <Preliminary Information on Panel Data> ++ ++++++++++++++++++++++++++++++++++++++++++++

Min(year  Max(Year   Min(Ti)   Max(Ti)         N   mean Ti
     1970      1979         9        10         3      9.33

++++++++++++++++ <OLS Mean Group Estimates> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

               y            coeff           se(NP)            t(NP)
              x1         0.908876         0.663846         1.369106
              x2         0.374051         0.072670         5.147241
              d1         1.006693         0.132861         7.577001
            inpt         2.449062         1.227480         1.995194

   Pesaran's (2004) CD test statistic (residuals): -1.59442
     (Pesaran, M.H., (2004), General Diagnostic Tests for Cross Section Dependence in Panels, CESifo
       Working Papers No.1233)
   * OLS Mean Group Estimator is simple cross section average of OLS estimator for each cross section unit.
   * se(NP) is the standard error based on non-parametric variance estimator of eq(58) in Pesaran (2006).
   *  t(.) is associated t-ratio.

++++++++++++++++ <Fixed Effects Estimates> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        y     coeff    se(NP)     t(NP)    se(NW)     t(NW)
       x1  0.808984  0.628055  1.288076  0.486449  1.663040
       x2  0.217298  0.181566  1.196801  0.435513  0.498947

   * se(NP) is the standard error based on non-parametric variance estimator of eq(69) in Pesaran (2006).
   * se(NW) is the standard error based on Newey-West type variance estimator of eq(74) in Pesaran (2006).
   *  t(.) is associated t-ratio.

   Cross Section Averages of Estimated Heterogeneous Slops in FE Estimation

       d1  1.026741
     inpt  2.445495

++++++++++++++++ <Pesran's (2006) CCE Mean Group Estimates> ++++++++++++++++++++++++++++++++++++++++++++

               y            coeff           se(NP)            t(NP)
              x1         1.599212         0.639212         2.501846
              x2         -2.01574         0.391813         -5.14464

   * CCE Mean Group Estimator is defined by eq(53).
   * se(NP) is the standard error based on non-parametric variance estimator of eq(58) in Pesaran (2006).
   *  t(.) is associated t-ratio.

   Cross Section Averages of Estimated Heterogeneous Slops in CCE Mean Group Estimation

              d1         -1.97231
            inpt         -4.79778
            ybar         3.001323
           x1bar         -1.84820
           x2bar         -1.49441

++++++++++++++++ <Pesaran's (2006) CCE Pooled Estimates> +++++++++++++++++++++++++++++++++++++++++++++++

        y     coeff    se(NP)     t(NP)    se(NW)     t(NW)
       x1  1.253333  0.896996  1.397255  0.479063  2.616214
       x2  -1.26680  0.720385  -1.75850  0.521113  -2.43095

   * CCE Pooled Estimator is defined by eq(65).
   * se(NP) is the standard error based on non-parametric variance estimator of eq(69) in Pesaran (2006).
   * se(NW) is the standard error based on Newey-West type variance estimator of eq(74) in Pesaran (2006).
   *  t(.) is associated t-ratio.

   Cross Section Averages of Estimated Heterogeneous Slops in CCE Pooled Estimation

       d1  -1.13908
     inpt  -3.16088
     ybar  2.148750
    x1bar  -0.94997
    x2bar  -0.33588

--------------------------------------------------------------
N used for Cross Section Average (out of        3 )

     1970         2
     1971         3
     1972         3
     1973         3
     1974         3
     1975         3
     1976         3
     1977         3
     1978         3
     1979         2
--------------------------------------------------------------
Reports on CCE Estimates of All Cross Section Units


       ID        x1    se(NW)        x2    se(NW)        d1    se(NW)      inpt    se(NW)      ybar    se(NW)     x1bar    se(NW)     x2bar    se(NW)        Ti      From        To
        1     2.000     0.312    -1.624     0.551     0.756     0.094    -1.313     0.346     0.514     0.099    -1.919     1.036     3.818     0.297         9      1970      1978
        3     0.347     0.207    -2.016     0.000     0.830     0.307     3.150     0.339     0.155     0.283     0.869     0.809    -2.477     0.672        10      1970      1979
        5     2.450     0.049    -2.408     0.056    -7.503     0.223   -16.231     0.661     8.336     0.223    -4.495     0.156    -5.824     0.227         9      1971      1979

   * CCE Estimator for a cross section unit is defined by eq(26).
   * se(NW) is the standard error based on Newey-West type variance estimator of eq(50) in Pesaran (2006).

藤椅
xuehe 发表于 2011-10-21 21:57:00
路径设了没?你用GAUSS7.0

板凳
xuehe 发表于 2011-10-21 22:04:27



Home     People   Research     Intranet    About   Seminars   News    Computing    Prospectus Library



You are in:  Home &raquo; Staff

Staff

[td]University Teaching Officers
M. Hashem Pesaran FBA Professor of Economics
College: Fellow of Trinity College Email: mhp1@cam.ac.uk Tel: +44-(0) 1223-335216 (Faculty Office)
+44-(0) 1223 338403 (Trinity Office) Room: 16 Office Hours: Wednesdays 2-4:30 Subject to making an appointment with Sharon Swann (ss243@cam.ac.uk) Interests:
Econometric Analysis of Heterogeneous Panels with Unobserved Common Effects. Panel unit root tests. Analysis of Panel Vector Autoregressive Models(PVAR). Long-run Structural Macroeconometric Modelling. Global Vector Autoregressive Modelling (GVAR). Economic and Financial Forecasting in the Presence of Structural Breaks. Financial Econometrics - credit risk analysis and portfolio optimization. Econometric Analysis of Non-nested Models. Empirics of Growth.
Research on EconPapers ** Current CV Teaching


Personal Pages



A listing of my work available on EconPapers. You may find more specific links to my work in my Personal Pages box




[/td][/tr]
[/table]
&copy;2011 Faculty of Economics, University of Cambridge, Sidgwick Avenue, Cambridge, CB3 9DD

Information provided by webmaster@econ.cam.ac.uk.




报纸
xuehe 发表于 2011-10-21 22:23:17
PesaranCVDec2010.rar (143.5 KB) 本附件包括:
  • PesaranCVDec2010.pdf


Hashem Pesaran.doc (31 KB)

LN-SR052010-EN.rar (568.86 KB) 本附件包括:
  • LN-SR052010-EN.pdf


地板
rightleft 发表于 2011-10-22 10:35:06
xuehe 发表于 2011-10-21 21:57
路径设了没?你用GAUSS7.0
谢谢你的回复。路径按他给的PDF文件中的说明设置好了,就是一运行,就会出现index of range,一直不知道怎么解决这个问题

7
xuehe 发表于 2011-10-22 17:09:39
路径如下
output file = D:\\gausscd\\CCEgauss7_Aug\\CCEgauss7_out.txt RESET;

/************************************************************/
/** load cross section id, years, y_it, x_it (first sheet) **/
/************************************************************/
    /* Specify the rage of first raw, variables names */
        vname=xlsreadm("D:\\gausscd\\CCEgauss7_Aug\\CCEtestdata.xls","a1:e1",1,"");

    /* Specify the range of the cross section varying regresssors, second raw onwards */
        data=xlsreadm("D:\\gausscd\\CCEgauss7_Aug\\CCEtestdata.xls","a2:e29",1,"");

已有 2 人评分学术水平 热心指数 信用等级 收起 理由
zhangtao + 5 + 5 + 5 精彩帖子
ywh19860616 + 1 + 1 + 1 热心

总评分: 学术水平 + 6  热心指数 + 6  信用等级 + 6   查看全部评分

8
rightleft 发表于 2011-10-23 10:02:25
xuehe 发表于 2011-10-22 17:09
路径如下
output file = D:\\gausscd\\CCEgauss7_Aug\\CCEgauss7_out.txt RESET;
请问你这样改过路径滞后能正常运行吗?路径我也按照要求修改过了
output file = C:\\gauss\\CCEgauss6_22Aug08\\CCEgauss6_out.txt RESET
/* Specify the rage of first raw, variables names */
        vname=xlsreadm("C:\\gauss\\CCEgauss6_22Aug08\\CCEtestdata.xls","a1:e1",1,"");

    /* Specify the range of the cross section varying regresssors, second raw onwards */
        data=xlsreadm("C:\\gauss\\CCEgauss6_22Aug08\\CCEtestdata.xls","a2:e29",1,"");
但还是不行,

9
xuehe 发表于 2011-10-23 12:07:57
可能存在别的问题,就不知道了?

10
xuehe 发表于 2011-10-23 12:09:17
output file = D:\\gausscd\\CCEgauss7_Aug\\CCEgauss7_out.txt RESET;

少;?

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

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