[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: test for stationarity that accepts the "by" command?
Dear Stata seers,
I am trying to test for stationarity of cross-sectional time series data for individual cross-sections (countries). I am aware of xtfisher and pescadf as tests that work across unbalanced panels and provide a single statistic for the entire dataset. But these are weak tests, and I'd like to be able to test individual series by country, in order to see if most individual series show signs of stationarity or unit roots.
I've tried -by country: dfuller varname-, -by country: pperron varname- and so on with -kpss- and -dfgls- and -levinlin-, but none of these commands allow a -by- (or -bysort-) option.
Might there be another command, of which I am not aware, that is up to the task? If not, am I left to breaking down my 150-country dataset into 150 single-country datasets, or by using 150 different -if country- commands?
Jason Webb Yackee
Gould School of Law
University of Southern California
Los Angeles, California 90089-0071
* For searches and help try: