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
Interpreting Average Marginal EffectsHi all, I have a question about interpreting average marginal effects. So, I am looking at the foll…
Unconditional quantile regression / pooling together dataDear Statalist members. Has anyone ever used unconditional quantile regression in stata (ivqte comma…
CSAD and herdingDear all, I am new to Stata. and I am seeking help from experienced users. I am looking for evidenc…
issue with replacing values with bysortHi all, I have the following situation: Code: +--------------------------------+ | pi…
100% Stacked Bar ChartHello, I want to create a stacked bar graph, where the bars equal 100%, representing the percentage …
Subscribe to:
Post Comments (Atom)
0 Response to Counting number of firms and executives from CompustatCRSPExecucomp merged dataset
Post a Comment