I'm trying to get started with my regression analysis on Stata but I'm lacking HHI variable.I n particular the export concentration HHI by country from the exporter and industry HHI market concentration .
I have data classified as follows

Year. Dest-Country. Export value. Industry.
2000. Xxx. X$. A
|
2015. Xxx. X$. A

​2000. yyy. X$. A
|
2015. Yyy. X$. A


And so on .I have about 13 countries in my study and 7 industries over the span of 16 years.is there any code in particular that can help me find 1.hhi by country and the hhi by industry.thanks