Thanks Maarten and Jeph
this works fine, thanks. Sorry I wasn't entirely clear. What I
actually would like to do is match each case (e.g., cancer patient) to
two controls with the same age (age in 1 year bands). This way I get
"sets" of subjects matched on age. The steps above work fine, but how
do I get a number for each set? Thanks again, much appreciated.
Raoul
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/