Dear all,
I have an unbalanced panel (N=32, T=13.5) with variables such as social spending and GDP on which I need to perform the: xtunitroot fisher.
I am using the dfuller option. I can visualize the trend, however in order to determine the lag length I was using the varsoc command but it seems that is doesn't perform with panel data as I get an error massage:
varsoc socialspending
repeated time values in sample
Do I need to loop the varsoc command over all panels and choose the max lag length over all panels?
Any hint will be greatly appreciated,
Anat
I have an unbalanced panel (N=32, T=13.5) with variables such as social spending and GDP on which I need to perform the: xtunitroot fisher.
I am using the dfuller option. I can visualize the trend, however in order to determine the lag length I was using the varsoc command but it seems that is doesn't perform with panel data as I get an error massage:
varsoc socialspending
repeated time values in sample
Do I need to loop the varsoc command over all panels and choose the max lag length over all panels?
Any hint will be greatly appreciated,
Anat
Comment