I have a large dataset currently set up as a panel, (1000 Firms and 200 Months). I would like to run a fixed-effect panel regression and adjust standard errors for both cross-sectional and time series correlation as my data suffers from both issues.
First, I tried - cluster(ID) - but it seems to only correct for time-series autocorrelation. Then I clustered by(ID) and added a time dummy, but my R-Squared increased dramatically.
I was wondering if it is possible to cluster by both ID and Time? Also, why is the R-Squared increase significantly when I include a time-dummy?
Your help is much appreciated as I am a beginner Stata user.
First, I tried - cluster(ID) - but it seems to only correct for time-series autocorrelation. Then I clustered by(ID) and added a time dummy, but my R-Squared increased dramatically.
I was wondering if it is possible to cluster by both ID and Time? Also, why is the R-Squared increase significantly when I include a time-dummy?
Your help is much appreciated as I am a beginner Stata user.
Comment