I am working with CRSP/WRDS data. I have company names in one column, dates/months (1990-2010) in other column and returns in another column.The data is arranged in WRDS format. I want to drop the company if the number of observations for that company are lets say less than 20. Would appreciate if someone could help me with the code.
Related Posts with Drop Specific Data
Integrating moderators in panel regressionDear all, I have a question about integrating moderators into a panel regression in Stata 14.2. Is …
Finding last day of the monthHello, I have the following code: Code: generate dayofmonth = day(date) rename (THENATIVE-ZWAHLENM…
Reshaping database long to wide and deleting duplicatesHello, Really grateful for any help with a data management question. My dataex is below: Basically…
melogit with crossed (non nested!) factors does not workDear all, thanks in advance. I have an issue that freaks me out. I wonder if I'm wrong to set up th…
Panel data and OLS assumptionsHi! Few days ago, there was an online webinar in my country in which the lecturers stated that many …
Subscribe to:
Post Comments (Atom)
0 Response to Drop Specific Data
Post a Comment