Dear Nick,
many thanks, your solution worked. I tried to simplify the problem as much
as I could (probably overdoing it).
A short explanation of what i was trying to do:
The program is part of an infectious disease outbreak detection system and
the numbers in HACODE are codes for regions. In some weeks you dont get
reports from all regions but i wanted to include these regions in the graphs
for the weekly reports.
I had developed a sort of workaround using -for- loops but this is much
neater,
Gianfranco
-------------------------------------------------------------
Gianfranco Spiteri
EPIET Fellow
CDSC (NI)
McBrien Building
Belfast City Hospital
Lisburn Road
Belfast
BT9 7AB
Northern Ireland
[email protected]
Tele: +44 (0) 28 90263765 Fax: +44 (0) 028 90263511
*
* 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/