Dear all,
I am writing my Master's Thesis and am currently cleaning my data. For each Company I want to delete observations if they lie within 5 days of other observations of the same Company (-5, +5). See below a small snapshot of my database. Any thoughts on how to handle this the most convenient way? Thanks!
Approval_Date Gen_Company
19oct2015 3D IM
19oct2015 3D IM
30oct2015 3D IM
07jun2001 3M
29sep2006 3M
08aug2018 60 DE
23apr2018 A-OX
01jun2016 AAA U
26jan2018 AAA U
29jun2001 ABBOT
20dec2002 ABBOT
04sep2001 ABBVI
01nov2001 ABBVI
17dec2001 ABBVI
24jul2002 ABBVI
31dec2002 ABBVI
05nov2004 ABBVI
26may2005 ABBVI
28oct2005 ABBVI
24mar2008 ABBVI
15dec2008 ABBVI
30apr2009 ABBVI
10feb2010 ABBVI
29apr2011 ABBVI
14dec2012 ABBVI
19dec2014 ABBVI
Related Posts with Delete observations within timespan of each other
Panel Data & Pearson's Correlation MatrixHi, I am using log variable. Should I use the logged variable for my Pearson's matrix or regular va…
xtdcce2 not allowing me to run the HaumanDear members, I am a user of Stata/15.1 SE. I am employing the Panel ARDL Technique using XTDCCE2 …
xlabel in bar chart. I want to make the negative x-axis values in the bar chart (attached figure) to positve values, eg …
Standard error of the difference of coefficientsDear Statalist Members I run a regression where I compare the the evolution of a coefficient over a…
rangestat errorHi, I am trying to do a regression using -rangestat-, but it gives an error saying "no result for al…
Subscribe to:
Post Comments (Atom)
0 Response to Delete observations within timespan of each other
Post a Comment