Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: if vx==1 (replace v1=1 if v1 is missing, otherwise replace v2=1 ... : how do i do this?
From
"Paul O'Brien" <[email protected]>
To
statalist <[email protected]>
Subject
st: if vx==1 (replace v1=1 if v1 is missing, otherwise replace v2=1 ... : how do i do this?
Date
Wed, 25 May 2011 19:57:23 +0100
i cannot think how to do this in Stata:
if vx==1 (replace v1=1 if v1 is missing, otherwise replace v2=1 if v2 is missing, otherwise replace v3=1).
thanks for any help you can give.
paul
*
* 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/