Thanks to Kit Baum, there is now a new package -xdatelist- available for
download from SSC (using the -ssc- command in Stata).
The -xdatelist- package is described as below on my website. It supersedes
the pre-existing package -datelist-, and is essentially the same except for
the name. This has been changed because, in Stata versions 8.1 and above,
the command
whelp datelist
calls up the official Stata on-line help for -numlists- containing dates.
-xdatelist- can be seen as an extension of this capability, although it is
still written in Stata 7.
I would like to thank Nick Cox for his very helpful advice on how best to
rename this package.
Best wishes
Roger
----------------------------------------------------------------------------
package xdatelist from http://www.kcl-phs.org.uk/rogernewson/stata7
----------------------------------------------------------------------------
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: 06february2005
Stata-Version: 7
INSTALLATION FILES (click here to install)
xdatelist.ado
xdatelist.hlp
----------------------------------------------------------------------------
(click here to return to the previous screen)
--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom
Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://phs.kcl.ac.uk/rogernewson/
Opinions expressed are those of the author, not the institution.