Five ways to detect correlation in panels
Jesse Wursten1
1jesse.wursten@kuleuven.be
Faculty of Economics and Business KU Leuven
23rd London Stata User Group Meeting, September 2017
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 1 / 15
Five ways to detect correlation in panels Jesse Wursten 1 1 - - PowerPoint PPT Presentation
Five ways to detect correlation in panels Jesse Wursten 1 1 jesse.wursten@kuleuven.be Faculty of Economics and Business KU Leuven 23rd London Stata User Group Meeting, September 2017 Jesse Wursten (KUL) Five panel correlation tests SUGM 2017
1jesse.wursten@kuleuven.be
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 1 / 15
◮ xtqptest, xthrtest and xtistest test for correlation over time (serial
◮ pwcorrf and xtcdf test for correlation across panel units (cross sectional
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 2 / 15
◮ More flexible: not limited to respectively 1st order serial correlation and
◮ More robust: better power and size in various scenarios Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 3 / 15
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 4 / 15
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 5 / 15
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 6 / 15
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 7 / 15
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 8 / 15
◮ More flexible: can test multiple variables, which do not need to be
◮ More efficient: faster than existing commands Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 9 / 15
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 10 / 15
◮ xtcsd can only be used as postestimation command ◮ xtcd is slow in larger datasets and reports the wrong number of joint
◮ xtcd2 assumes mean-zero variables (residuals) and only takes a single
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 11 / 15
◮ xtqptest, xthrtest: Born and Breitung (2016) ◮ xtistest: Inoue and Solon (2006) ◮ xtcdf: Pesaran (2004)
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 12 / 15
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 13 / 15
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 14 / 15
Jesse Wursten (KUL) Five panel correlation tests SUGM 2017 15 / 15