今天看啥  ›  专栏  ›  计量经济学

面板数据单位根的6种检验方法

计量经济学  · 公众号  ·  · 2023-12-20 11:46
log using 单位根.txt,replace*Tittle        :面板数据单位根检验*Stata Version :13.0*Time          :2018年3月11日*微信公众号    :计量经济学set more on*1 madfuller*适用T>N即时间维度较长,截面较少的面板数据 use http://fmwww.bc.edu/ec-p/data/hayashi/sheston91.dta,clear madfuller rgdppc if country madfuller D.rgdppc if country*2 pescadf*对单个截面进行DF或者ADF检验得到T值的平均值pescadf rgdppc if country>116 & countrypescadf rgdppc if country>116 & countrypescadf rgdppc if country>116 & countrypescadf D.rgdppc if country>116 & country*turnoff某些样本存在离群值,进行特殊处理*3 ipshin*对单附孛骣ADF检验得到T值的平均值*局限:要求面板是平行面板ipshin rgdppc if countryipshin rgdppc if countryipshin D.rgdppc if country*nodemean 不删除共同的时间趋势项*4 xtfisher*以p值为基础进行检定webuse grunfeld, clearxtfisher invest, trend lag(1)xtfisher mvalue, lag(2) pp*5 levin ………………………………

原文地址:访问原文地址
快照地址: 访问文章快照