Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: cancel a selection and continue working with all the variables or category of a variable


From   "Martin Weiss" <martin.weiss@uni-tuebingen.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: cancel a selection and continue working with all the variables or category of a variable
Date   Wed, 3 Sep 2008 14:51:09 +0200

Just -preserve- beforehand, -restore- afterwards. Or conduct your analysis
using the -if- qualifier which is available with almost every Stata
command...

HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of carmen gamarra
Sent: Wednesday, September 03, 2008 2:40 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: cancel a selection and continue working with all the variables
or category of a variable

Hi all,

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: 

thanks

carmen

_________________________________________________________________
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia
Contest
http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM
*
*   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/


*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index