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: trouble with traveltime command


From   Valerie Orozco <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: trouble with traveltime command
Date   Fri, 15 Feb 2013 14:19:44 +0000

Thank you Nick, you were right about the new version. Now it works : 

. list  end_city start_city days hours mins traveltime_dist

     +--------------------------------------------------------------------------------------------+
     |                               end_city         start_city   days   hours   mins   travel~t |
     |--------------------------------------------------------------------------------------------|
  1. | 1500 market st, philadelphia, PA 19102   Philadelphia, PA      0       0      3         .5 |
  2. |                       Philadelphia, PA   Philadelphia, PA      0       0      0          0 |
  3. |                          Allentown, PA   Philadelphia, PA      0       1     11       61.3 |
  4. |                          Lancaster, PA   Philadelphia, PA      0       1     31       79.6 |
     +--------------------------------------------------------------------------------------------+

The other question I have is why with French data it doesn't work  :

. traveltime, start_x(lat_home) start_y(long_home)    end_x(lat_ad)   end_y(long_ad)   km  mode(1)    

. list  ad1 MonAd lat1 long1  lat2 long2 days hours mins traveltime_dist if _n==13

     +----------------------------------------------------------------------------------------------------------------------------------------------------------------+
     |                                        ad1                                   MonAd       lat1      long1      lat2      long2   days   hours   mins   travel~t |
     |----------------------------------------------------------------------------------------------------------------------------------------------------------------|
 13. | rue des cigognes, 31520 ramonville, france   21 allee de brienne, toulouse, france   43.55332   1.472469   43.6054   1.432587      0       0      0          0 |
     +----------------------------------------------------------------------------------------------------------------------------------------------------------------+

You can see that I have 2 different points but distance and time are set to 0 between the 2 addresses.
Any idea?

valérie

*
*   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