I have a question about the egen command.
I have used the tab command to create the following table:

egen tagc = tag(CountryofIncorporation) if total<=5
total not found
r(111);
How can I accomplish steps 1. And 2. above with or without the egen command?
I have used the tab command to create the following table:
- I want to drop all the countries whose total above (i.e. Total col) is less than or equal to 5.
- Next, I will use the same tab command and inspect the External Assurance – Yes column. If there are any zeros in this column, I will drop them later.
egen tagc = tag(CountryofIncorporation) if total<=5
total not found
r(111);
How can I accomplish steps 1. And 2. above with or without the egen command?
Comment