From | Dirk Nachbar <[email protected]> |
To | statalist <[email protected]> |
Subject | st: dummy creation |
Date | 06 Oct 2005 12:41:31 +0100 |
-----------------
gen early=0
if sex==1 & (anypen1==1 | anypen2==1 | anypen3==1 | anypen4==1 | anypen5==1) & age < 65 {
early=1
}
if sex==2 & (anypen1==1 | anypen2==1 | anypen3==1 | anypen4==1 | anypen5==1) & age < 60 {
early=1
}
------------------------------
Dirk Nachbar Assistant Economist Pensim2 Department for Work and Pensions Level 4, The Adelphi 1-11 John Adam St WC2N 6HT London 020 796 22705
The original of this email was scanned for viruses by the Government Secure Intranet (GSi) virus scanning service supplied exclusively by Energis in partnership with MessageLabs.
On leaving the GSi this email was certified virus-free
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |