Carmen wrote:
I know how I would like to cancel a selection and
continue working with all the variables or category
of a variable?
Example: keep if yearfile=="1996"
and then (cancel select) cancel the selection and
working with all the categories:
======================================================
-preserve- and -restore- do what you want:
...
preserve
keep if ...
restore
HTH
Svend
__________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone: +45 8942 6090
Home: +45 8693 7796
Email: [email protected]
__________________________________________
*
* 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/