Dear Community,
In order to test for auto correlation in the error term of my dynamic panel regression analysis, I want to use the xtptqtest.
I run the following commands:
xtreg y l.y l2.y l3.y x1 ... x5, fe
predict ue, ue
xtptqtest ue, lags(1)
Consequently, I get the following error message: ue: At least one panel is too short, i.e. minT(1) <= lags(1)
Does anyone knows the reason for the error I encounter?
Kind regards,
Tom
Related Posts with xtptqtest error: ue: At least one panel is too short
Change of variable in one columnHi Stata users, I am trying to generate a variable to tell me when a change in values has occurred …
Need for a permutation test ?Hi, STATA people, I have 12000 observation. I want to randomly assign a fake treatment value of 1 t…
Simple by() and 'if' questionI'm working with some historical data on NFL players. I want to create a dummy variable indicating w…
A loop to predict a log-modelFor the model, Y= Yt-1+X1t+X2t+X3t+e I want to create a loop to predict future values such that the …
cond() functionHi all! I have the following dilemma. I would like to create variables such that: if a local takes…
Subscribe to:
Post Comments (Atom)
0 Response to xtptqtest error: ue: At least one panel is too short
Post a Comment