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

st: RE: missing values


From   "Greg Branch" <[email protected]>
To   <[email protected]>
Subject   st: RE: missing values
Date   Wed, 16 Apr 2003 10:32:22 -0500

<<"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.">>

"replace attitude = . if ..."

I think you can also do

"regress...... If attitude ~= 6"

greg

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Patrick
Sturgis
Sent: Wednesday, April 16, 2003 6:18 AM
To: [email protected]
Subject: st: missing values


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/

*
*   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