Hi All,
I have a multi-dimensional panel data with four identifying variables - retailer, home country, host country, and year (2001-2015). I am trying to declare my panel dataset time series in order to run xtgls but I keep getting "repeated time values within panel" error message when I use the xtset command. I looked through the forum and came across a few possible solutions but neither of them worked. From what I understand, I need to make my panel data from four to two-dimensional and I tried the following: egen pan_id = group(retailer hostcountry homecountry) xtset pan_id year, but I still get the same error message. Any suggestions would be greatly appreciated.
Thanks!
I have a multi-dimensional panel data with four identifying variables - retailer, home country, host country, and year (2001-2015). I am trying to declare my panel dataset time series in order to run xtgls but I keep getting "repeated time values within panel" error message when I use the xtset command. I looked through the forum and came across a few possible solutions but neither of them worked. From what I understand, I need to make my panel data from four to two-dimensional and I tried the following: egen pan_id = group(retailer hostcountry homecountry) xtset pan_id year, but I still get the same error message. Any suggestions would be greatly appreciated.
Thanks!
Comment