| ![]() |
From | Caleb Southworth <caleb@uoregon.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Two Easy Questions |
Date | Tue, 31 Oct 2006 14:08:43 -0800 (PST) |
:replace Dot=Quick if var==0 & var2==0 & ....& var12==0. Is there a :way to make a shortage of that? I tried possible different varlist You might consider -rowtotal- or -rowmiss- or related functions in -egen-, so egen t=rowtotal(var*) replace dot=quick if t==0 Caleb caleb@uoregon.edu University of Oregon Sociology * * 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/
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |