From | Scott Cunningham <[email protected]> |
To | [email protected] |
Subject | Re: st: RE: stset and the NLSY97 |
Date | Sun, 16 Oct 2005 21:23:57 -0400 |
On Oct 16, 2005, at 9:01 PM, Nick Cox wrote:
Nick,Not my field, but your dummy calculation can be put more succinctly: gen sa = firstsex_yr <= age However, safer would be to trap missings: gem sa = cond(mi(firstsex_yr, age), ., firstsex_yr <= age) Nick
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |