Bookmark and Share

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: question about traveltime


From   nola l <[email protected]>
To   [email protected]
Subject   st: question about traveltime
Date   Wed, 28 Nov 2012 09:53:02 -0500

Hello,

I would like to try "traveltime" ado that was developed by Ozimek and
Miles. It supposed to calculate the travel time of two points. I used
the example that were listed in their paper (the stata Journal 2011,
11, Number 1, pp.106-119).

I am using Stata12 and the data input as follow:


start_lat       start_long    end_lat         end_long    mode
39.95234   -75.16379   40.60843   -75.49018      1

39.95234   -75.16379    39.9626   -76.72775       3

the command is : traveltime, start_x (start_lat) start_y(start_long)
end_x (end_lat) end_y (end_long) mode (mode)



However I got the results as follow which must be wrong (doesn't match
the results that Ozimek and Miles listed in their paper):

start_lat start_long end_lat end_long           mode days   hours
mins   travel~t
39.95234 -75.16379 40.60843 -75.49018     1         0            0
    0           0

39.95234 -75.16379 39.9626 -76.72775       3         0            0
     0           0

Did I make any mistake and get those "error" results? Or this command
doesn't work any more?

Any suggestion or advice?

Thanks,
Nola
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index