Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: min and max with dates


From   Ana Gabriela Guerrero Serdan <[email protected]>
To   stata listserve <[email protected]>
Subject   st: min and max with dates
Date   Mon, 8 Oct 2007 08:55:08 -0700 (PDT)

Dear all, 

I have a very basic question but I havent find the
date commands when I only have day and month. 

I have information on interviews carried out and want
to know the range of interview per province (CODE), so
I want to calculate the min and max of the dates
within each province. 


. list  CODE Date1 Date2 Date3 

      +-------------------------------+
      |    CODE   Date1 Date2 Date3   |
      |-------------------------------|
   1. |     01     2704               |
   2. |     01     2704   3004        |
   3. |     01     2704         1505  |
   4. |     01     2505               |
   5. |     01     2605               |
      |-------------------------------|
   6. |     02     2705   0106        |
   7. |     02     2805    0606       |

etc.. 

Can anyone help? 

thanks, 
Gaby  




      ____________________________________________________________________________________
Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.
http://tv.yahoo.com/ 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index