Hello good people,
I have to work with CompustatCRSPExecucomp merged dataset. I need to count the number of firms and the number of executives in the merged dataset. I have cusip, gvkey, fyear, permno, execid. Please suggest how can I get the number of firms and the number of executives in the dataset. is the following code okay?
egen cusiptag=tag(cusip)
count if cusiptag
Thanks in advance for your kind help.
Related Posts with Counting number of firms and executives from CompustatCRSPExecucomp merged dataset
Insufficient observations to compute bootstrap standard errorsI am trying to perform mi imputation with bootstrap using following syntax: 1.mi set wide 2. program…
stataHello . I selecting the excell file. then import the following code in stata gen area=substr( ADDRES…
variable names as elements?Dear All, I find this question here. The data is Code: * Example generated by -dataex-. To install…
Problem with a big databaseHello, I want to open an excel file, import it, but it does not leave stata 14, this excel file has …
Variable not found in nlcomDear Everyone, I'm new here and I would like to measure willingness to pay by using double bounded …
Subscribe to:
Post Comments (Atom)
0 Response to Counting number of firms and executives from CompustatCRSPExecucomp merged dataset
Post a Comment