Hi I have a panel data. Gvkey is an identifier for firms and Fyear is an identifier for year. Sic is used to identify industry.
How can I get the number of unique firms or the number of unique industries in my sample?
Thank you in advance for your help!
Related Posts with Number of unique firms/ industries
estimates of variances in esttab for all the levelsI'm running a multilevel mixed model with: eststo: xtmixed y x1 x2 || country: || household:, reml e…
creating a matrix in stata helpHello Stata Experts this forum has been helpful to me thank you so much i`m back with another issue …
Obtaining a list of user-defined programsDear Statalisters, I would like to obtain a list of user-defined programs currently in memory (prog…
How to fix error "outcome does not vary" for OR and logistic regressionDear all, I have been struggling to solve this. I imported data from excel file. And have a variabl…
Clear all commandGood morning, I am now doing a do_file but I noticed that if I run the whole do file I get different…
Subscribe to:
Post Comments (Atom)
0 Response to Number of unique firms/ industries
Post a Comment