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
Problem in running loop for regression-industry-yearDear all I'm calculating a variable, that is the residuals from a regression calculated for every i…
Initial Values Problem with melogit and xtmelogitHello, I am fitting an HLM model using a complex survey (DHS) data . My data does not have Level 2 w…
How can I select more than one minimum for each respondentHello Statalist. I have a dataset that looks like this: pid value number 1 0.12 2 1 0.4 2 …
Graph modification: How to modify a line to a "bracket-line", change text to italic and insert character ?Attempting to modify the following graph- 3 questions: 1) Would like to change some of graph text t…
Equation has been stored but it is not found to perform testCould anyone explain to me how to solve this issue? I have run a regression and stored it but I can…
Subscribe to:
Post Comments (Atom)
0 Response to Counting number of firms and executives from CompustatCRSPExecucomp merged dataset
Post a Comment