Hi Statalist,
I have a database of a lot of companies for 7 years: 01-2013 to 01-2019. However, in order to calculate certain variables, I first need to be sure the data of every company starts in 01-2013. And the data for some companies start in 2015 for example. Could you please tell me the code to drop all companies that do not start on 01-2013?
Sidenote: I know deleting all companies that don't make it till the end would cause survivorship-bias, but deleting all funds of which there is no data at the beginning of the period will not do any harm right?
Thank you in advance.
Best regards,
Tom Reinders
Related Posts with Dropping all companies with no observation at the start of the time period
Upon saving my stata ouput as a .tex file, sigificance is disappearing. Why is this happening?hi statalist, I am having a peculiar problem while using estout to save my output as a tex file. I …
U test for Inverted U-shapeHello, I am looking at whether there is a threshold upon which the total value traded of all stocks…
How to calculate standardized mean difference using ipdmetan (two-stage IPD meta-analysis)?Hi everyone, I'm running a two-stage IPD meta-analysis by using ipdmetan: ipdmetan, study(StudyID) …
Merge based on several variables matchingHi fellow Stata users, I'm working on a population of cancer patients and for that I have two datas…
Need Help: On Constructing Some Tables with Attendance DataThis is how my Attendance data looks like: Date TeachersName Student1 Student2 Student3 Student4 …
Subscribe to:
Post Comments (Atom)
0 Response to Dropping all companies with no observation at the start of the time period
Post a Comment