Thanks to Kit Baum, a new version of the xdatelist package is now
available for download from SSC. In Stata, use the ssc command to do
this, or use adoupdate if you have the old version of xdatelist.
The xdatelist package is described as below on my website, and is an
extended date list facility, used mostly for graphing time series. The
new version has been upgraded from Stata 7 to Stata 10, to take
advantage of the more powerful Stata 10 date() function and the improved
Stata 10 online help.
Best wishes
Roger
Roger B Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/
Opinions expressed are those of the author, not of the institution.
------------------------------------------------------------------------
-------
package xdatelist from http://www.imperial.ac.uk/nhli/r.newson/stata10
------------------------------------------------------------------------
-------
TITLE
xdatelist: Create ascending numeric lists of dates
DESCRIPTION/AUTHOR(S)
xdatelist creates a numeric list of dates bounded by a
string-format
first and last date and spaced by a given number of time units (eg
weeks, months, quarters or years). It is similar to the numlist
command, and returns the numeric dates in the result r(numlist).
Optionally, xdatelist also returns a list of formatted string
dates
in the result r(strlist). The program is useful if the list of
dates
is separated by unequal numbers of days (because months and years
vary in length). xdatelist is an update of the datelist package
formerly distributed on SSC. The change of name was necessary
because
Stata versions 8.1 and above use the word datelist to describe a
numlist including dates.
Author: Roger Newson
Distribution-Date: 04july2008
Stata-Version: 10
INSTALLATION FILES (click here to
install)
xdatelist.ado
xdatelist.sthlp
------------------------------------------------------------------------
-------
(click here to return to the previous screen)
*
* 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/