I have an id variable for firms (IMP), the destination of their exports (countryX), and the year (year). I need to count how many firms are exporting for each destination and for each year. I got this by tabulating countryX year, but this gives me a clumsy format with the countries in the row and years in columns. Ideally I should generate a newvar which gives me the total number of firms for every year in each destination. Appreciate any help.
-
Login or Register
- Log in with
Comment