Dear all,
am struggling with my project in STATA. I have data on bilateral trade for Germany at the sectoral level. I wanna regress the export volume on exchange rate and GDP for each sector separetly. I have no idea how I obtain coefficients for each sector (variable HsS since I have almost 900 sectors and 26 countries, including Germany. I have panel data on German trade with these countries for every sector. I defined data as panel by using egen id=group(partnernr HSspecific), where partnernr is a partner country for Germany and HSspecific is a sector. I have id's for each sector for very country. Stata created 152031 such ids. However, my aim is to obtain elasticities on export and GDP for each sector. Now I can only run the general regression, taking export as dependent variable and export and GDP as variables of interest. I wanna obtain almost 900 coeffients for each sector. Any suggestions how can I approach this problem?
am struggling with my project in STATA. I have data on bilateral trade for Germany at the sectoral level. I wanna regress the export volume on exchange rate and GDP for each sector separetly. I have no idea how I obtain coefficients for each sector (variable HsS since I have almost 900 sectors and 26 countries, including Germany. I have panel data on German trade with these countries for every sector. I defined data as panel by using egen id=group(partnernr HSspecific), where partnernr is a partner country for Germany and HSspecific is a sector. I have id's for each sector for very country. Stata created 152031 such ids. However, my aim is to obtain elasticities on export and GDP for each sector. Now I can only run the general regression, taking export as dependent variable and export and GDP as variables of interest. I wanna obtain almost 900 coeffients for each sector. Any suggestions how can I approach this problem?
Comment