Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: Panel unit root tests
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
st: RE: Panel unit root tests
Date
Mon, 3 Oct 2011 11:11:57 +0100
Your thread was hijacked, true, but your question was visible nevertheless. A bigger problem is that there is absolutely no detail here on precisely what commands you used and precisely what you typed in Stata.
Error 2000 does not mean "no data"; it means "no data with which to do precisely what you asked". That could arise because of missing values, -if- or -in- restrictions, string values, or requests which are contradictory and are thus satisfied by no observations in your data. I can't say what is biting in your case.
Nick
[email protected]
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neesha Harnam
Sent: 03 October 2011 11:01
To: statalist
Subject: st: Panel unit root tests
Dear all,
Apologies for reposting, but I did not receive any responses to my
earlier query and thought it may have been because someone hijacked my
thread with a question of their own. I have also rephrased some of my
questions in the event that they were not clear initially, as
suggested by the Statalist FAQ:
I have a set of variables for which I would like to check for
non-stationarity (these are in panel data form, with 31 years and 70
countries worth of data). As there are some unbalanced panels in my
dataset I am using IPS and Fisher (ADF) tests to conduct these checks.
I have looked at the individual line plots for each country/variable
to determine if there is a time trend, and have run these tests both
with and without cross-sectional demeaning. I am planning on running
country-fixed effects regressions on these data. My questions are as
follows:
a. Is the Fisher-ADF test valid when Statalist generates the message
"Stata could not compute test for panels 6, 12, 15, etc.?"
b. What does it mean when one gets the following error message
"performing unit-root test on first panel using the syntax..." and
returns "error code 2000?" A google search revealed that this occurs
when one has no observations, but I do have observations so am unclear
as to what is happening behind the scenes.
c. I understand that demeaning is used when cross-sectional dependence
is thought to occur in the data, but is there any way to test for
cross-sectional dependence? Likewise, is there any way to test for a
time trend, or is it based on visual inspection of plots / empirical
evidence?
d. Which p-value of the Fisher-ADF test is valid for finite panels?
Stata generates p-values for the inverse chi-squared, inverse normal,
inverse logit, and modified inverse chi-squared.
e. Is it possible to run Fisher-ADF in Stata using AIC-selected lag lengths?
Thank you very much,
Neesha
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/