Bookmark and Share

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: merging variables with labels


From   "Ben Hoen" <[email protected]>
To   <[email protected]>
Subject   st: merging variables with labels
Date   Thu, 13 Jan 2011 08:59:36 -0500

.encode answertype, g(answer) label(answer_label)

.di "thank you sergiy & nick" if answer=="fantastic":answer_label

thank you sergiv & nick

============================================
________________________________________


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index