Shouldn't the following do the job?
mvdecode varname, mv(6)
Wing
Patrick Sturgis wrote:
I have a data file that has the value 6 for the response don't know in
attitude items. I want to specify the value '6' as missing so that it is
dropped from analyses. This should be simple but I can't fathom how to do
it. Thanks in advance,
PatrickDr Patrick Sturgis
Department of Sociology
University of Surrey
Guildford
GU2 7XH
tel: 01483 686 974
*
* 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/
--
Department of Sociology, University of Oxford,
Littlegate House, St Ebbes, Oxford OX1 1PT, UK
tel: +44 (1865) 286176, fax: +44 (1865) 286171
http://users.ox.ac.uk/~sfos0006
*
* 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/