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: RE: replace missing values in different waves
From
"David Radwin" <[email protected]>
To
<[email protected]>
Subject
st: RE: replace missing values in different waves
Date
Tue, 25 Dec 2012 17:44:40 -0800 (PST)
Something like this?
replace w2gender = w1gender if missing(w2gender)
replace w3gender = w1gender if missing(w3gender)
David
--
David Radwin
Senior Research Associate
MPR Associates, Inc.
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-849-4942
Fax: 510-849-0794
www.mprinc.com
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of benjamin von matt
> Sent: Tuesday, December 25, 2012 4:22 PM
> To: [email protected]
> Subject: st: replace missing values in different waves
>
> hi
>
> i have many missing values in wave 2 and wave 3 in the gender variable.
> there is no missing value in wave 1.
>
> how can i replace the missing values in wave 2 and wave 3 with the values
> of wave 1?
>
> best regards
> andrea
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/