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, statalist.org is already up and running.


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

st: trouble with traveltime command


From   Valerie Orozco <Valerie.Orozco@toulouse.inra.fr>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index