I am having a panel data with the unit is firms in 65 countries around the world with the time series is year level. I am wondering how to get the list of countries in my sample, which is a character variable.
I used the code
list GEOGN with the option fast or constant but it just showed the very last values. (I have around 400,000 observations). And the result table cannot display that much.
Therefore, I am asking how to get the 65 unique country names.
Related Posts with How to show the unique value of a characteristic variable in panel data?
Factor variable and interaction in syntax commandHi, I am trying to add interaction terms into a simple new command. Something simple like this: C…
Coding participants with metabolic syndromeHi there, I would like to categorize participants in a dataset that I am using by whether or not th…
Problem in labels with splitvallabels Hi all, I am having problems in labelling graph with splitvallabels and catplot, I suspect that the…
Egen with an if statementHi, I have a long dataset with multiple observations per patient id. I’m trying to generate a medic…
Remove combination of quotes and asterisk in variable labelHi all, I have a extrange combination of quotes and asterisk in variable label in my data base... L…
Subscribe to:
Post Comments (Atom)
0 Response to How to show the unique value of a characteristic variable in panel data?
Post a Comment