My panel data is not always consecutive: there are some gaps for time series of a few IDs. I tried both of code below to estimate with time-series autocorrelation corrected for estimating standard errors:
However, both report errors due to the data structure. Is there any better command I can use for the purpose?
Code:
asreg x1 x2 x3, fmb newey(3)
Code:
xtfmb y x1 x2 x3, lag(3)
Comment