Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: question about traveltime

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


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?

*   For searches and help try:

© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index