Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: creating a newvar with sequential values from a bunch of string variables


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: creating a newvar with sequential values from a bunch of string variables
Date   Sun, 26 Jun 2005 17:22:41 +0100

No, this won't work. See my previous posting. 

Nick 
[email protected] 

Richard Williams
 
> I'm not sure if this would work but it seems like you need to 
> rework your quote marks, e.g.
> 
> replace newvar=1 if var1 =="71600"/"71699" etc.
> 

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index