From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: missing values |
Date | Thu, 22 Sep 2005 02:05:02 -0500 |
At 01:11 AM 9/22/2005, NEYMOTIN, FLORENCE wrote:
A couple of points:Here are my exact commands. replace sswlnw_1 = .a if (yob > 1912 & a_age > 69) replace sswlol_1 = .a if (yob > 1912 & a_age > 69) replace sswlnw_2 = .a if (yob > 1912 & a_age > 69) replace sswlol_2 = .a if (yob > 1912 & a_age > 69) If I use . instead of .a, 0 changes are made. (With .a, 57981 changes re made) If I say gen dummy = 0 replace dummy = 1 if (yob > 1912 & a_age > 69) then 57891 changes are made...
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |