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
Bar GraphsHello, I need a bar graph, Horizontal bar. Using Categories function, tax 0 is 1st group, taxp5 2nd…
how to assess the effects of confounders in an associationHi everyone I am trying to answer a question if there is a causal effect association between two va…
Rounding the coefficientsDear Researchers, I am sorry, my question may sound silly, but I searched for the answer and the an…
How do I obtain prevalence ratios using the logistic command?I am using the "logistic" command to estimate a binary outcome (yes/no response, cross-sectional sur…
Truncating the most extreme 1 percent of cash from operationsHi all, I have to truncate the most extreme 1 percent of cash from operations (CFO_0). Is the follo…
Subscribe to:
Post Comments (Atom)
0 Response to Counting number of firms and executives from CompustatCRSPExecucomp merged dataset
Post a Comment