Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: matching within calipers
From
Douglas Levy <[email protected]>
To
[email protected]
Subject
st: matching within calipers
Date
Thu, 21 Jun 2012 10:38:47 -0400
I am trying to match data from two files using a time (of day)
variable. However, the two databases are off from one another by a
second or two in either direction. The error is not consistently in
one direction, so I can't just add a compensating second or two. I've
tried by matching to the minute or even to the "ten minute", but there
are always a few matches on the margins that fail. Is there a way or
workaround to match within +/- 5 seconds? Thanks. -Doug
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/