I have panel data for 44 countries across 50 years with numerous variables and am aiming to find the threshold government debt levels beyond which economic growth falls.
When applying the following command: tsset CountryName1 Year it shows that I have a strongly balanced panel.
In order to complete xthreg (fixed effect threshold regression) I need balanced data therefore I have applied the following command: xtbalance, range(1960 2010) as well as xtbalance, range(1960 2010) miss(_all) to make the unbalanced data balanced.
However I still receive the red error as follows: "Panel threshold model need balanced panel, check you data!". After doing xtbalance my data is balanced thus what is the problem? Please advise.
Furthermore, I have tried completing these commands on both Stata 13 and 14 therefore I'm assuming xthreg does not require a newer version of Stata to work. Please advise if there are certain commands relating to xthreg that require newer versions of Stata.
Regards,
Shreyas
When applying the following command: tsset CountryName1 Year it shows that I have a strongly balanced panel.
In order to complete xthreg (fixed effect threshold regression) I need balanced data therefore I have applied the following command: xtbalance, range(1960 2010) as well as xtbalance, range(1960 2010) miss(_all) to make the unbalanced data balanced.
However I still receive the red error as follows: "Panel threshold model need balanced panel, check you data!". After doing xtbalance my data is balanced thus what is the problem? Please advise.
Furthermore, I have tried completing these commands on both Stata 13 and 14 therefore I'm assuming xthreg does not require a newer version of Stata to work. Please advise if there are certain commands relating to xthreg that require newer versions of Stata.
Regards,
Shreyas