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
Rename variable in tabHi, I would like to rename my variable just in a tab. I don't want to create a new variable or rena…
Invalid Syntax when calling for local variableHello, I am getting an invalid syntax error when I am try the following: I want ci to be summed only…
Identifying ICD-codes in 30 different variablesHi, I have a dataset containing one variable identifying study participants and 30 variables contai…
Looking for a way to save sums and load into a table similar to estimate tableI apologize if this has been asked before, but I looked around and couldn't find an answer. For a r…
Chow testTwo regression equations are like this: Tobin q = dominant owner CEO + dominant owner CEO * board ab…
Subscribe to:
Post Comments (Atom)
0 Response to Counting number of firms and executives from CompustatCRSPExecucomp merged dataset
Post a Comment