I am dealing with unbalanced panel data with gaps, it is a survey to manufacturer companies between 1990 to 2012. I am using xtreg, vce (cluster varlist) fe in stata 16.1.
Code:
xtreg growth innov exp rec lnage lnpertot size profg i.naceclio i.year, vce (cluster id) fe
My doubt is that I have found serial correlation using xtserial:
Array
And when I run the Portmanteau test -xtistest-, it confirms autocorrelation and is not balanced for gaps?
Array
I have two questions:
- Do you have any suggestion to solve these serial correlation problems?
- Can you provide me information regarding the meaning of this "gaps" problem?
PD. This is my first time in the Stata forum, if I am not posting correctly, I will appreciate your comments to improve for the next times.
Best Regards,
Alexandra.
0 Response to How to solve auto-correlation using unbalanced panel with gaps
Post a Comment