Hello,
I have some troubles in counting the firm number in panel data. I have 3741 fiscal year observations during 1994-2006. And I want to count how many firms are there in my sample.
I used the command below:
bysort fyear gvkey
count gvkey
"fyear" is the fiscal year and "gvkey" is the company ID.
But there always shows an error as ": required r(100);" in Stata.
So could you please tell me what I am doing wrong? Thank you very much!
Related Posts with How to count firm number in panel data?
Doubts on autocorrelationDear Statalist users, I am kind of new with Stata and I'd really appreciate your help. I have been w…
Stata/MP 16 memory issueHi, I am having trouble with memory. My file size is 86mb and I have a memory of 8GM. I am using Sta…
Stata/MP 16 memory issueHi, I am having trouble with memory. My file size is 86mb and I have a memory of 8GM. I am using Sta…
Stata/MP 16: op. sys. refuses to provide memoryHi, I am having trouble with memory. My file size is 86mb and I have a memory of 8GM. I am using Sta…
Question about replace with multiple Criteria based on identifierHello friends. I have a dataset like this: ID Qualification Score A BS A Graduated A MS …
Subscribe to:
Post Comments (Atom)
0 Response to How to count firm number in panel data?
Post a Comment