*This program reads the 2004 National Health Interview Survey 2004 injpoiep Data File *Note: This program is distributed under the GNU GPL. See end of *this file and http://www.gnu.org/licenses/ for details. *by Jean Roth Mon Jul 2 15:51:11 EDT 2007 *Please report errors to jroth@nber.org *Change output file name/location as desired. *Change the input file location as needed. *If you have trouble running this program, *then try opening a new syntax file & type this command: *INCLUDE "c:\nhis2004_injpoiep.sps". *and choose to RUN ALL file handle nhis2004_injpoiep /name="c:\homes\data\nhis\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\NHIS\2004\injpoiep.dat" . data list file=nhis2004_injpoiep / rectype 1-2 srvy_yr 3-6 hhx 7-12 (a) fmx 13-14 (a) fpx 15-16 (a) ipepno 17-18 (a) wtfa 19-24 ipdatem 25-26 ipdatey 27-30 ipdateno 31-32 ipdatetp 33 ipdatemt 34 rpckdmr 35-37 rpd 38-40 bietd 41-43 eietd 44-46 edipbr 47 impmeth 48 mumon 49-50 muyear 51-54 etflg 55 beiflg 56 icaus 57-58 ecaus 59-60 ijbody1 61-62 ijbody2 63-64 ijbody3 65-66 ijbody4 67-68 ijtype1a 69-70 ijtype1b 71-72 ijtype2a 73-74 ijtype2b 75-76 ijtype3a 77-78 ijtype3b 79-80 ijtype4a 81-82 ijtype4b 83-84 ppcc 85 ipev 86 iper 87 ipdo 88 ippchcp 89 ipoth 90 iphosp 91 ipihno 92-93 imtraf 94 imvwho 95 imvtyp 96-97 isbelt 98 ihelmt 99 ifall1 100-101 ifall2 102-103 ifallwhy 104 ppois 105 ipwhat1 106-107 ipwhat2 108-109 ipwher1 110-111 ipwher2 112-113 ipemp 114 ipwkls 115 ipstu 116 ipscls 117 icd9_1 118-122 (a) icd9_2 123-127 (a) icd9_3 128-132 (a) icd9_4 133-137 (a) icd9_5 138-142 (a) icd9_6 143-147 (a) icd9_7 148-152 (a) icd9_8 153-157 (a) ecode_1 158-162 (a) ecode_2 163-167 (a) ecode_3 168-172 (a) . * See the codebook for more detailed variable descriptions. variable labels . list. execute. save outfile = 'c:\nhis2004_injpoiep.sav'. *Copyright 2007 shared by the National Bureau of Economic Research and Jean Roth * *National Bureau of Economic Research. *1050 Massachusetts Avenue *Cambridge, MA 02138 *jroth@nber.org * *This program and all programs referenced in it are free software. You *can redistribute the program or modify it under the terms of the GNU *General Public License as published by the Free Software Foundation; *either version 2 of the License, or (at your option) any later version. * *This program is distributed in the hope that it will be useful, *but WITHOUT ANY WARRANTY; without even the implied warranty of *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *GNU General Public License for more details. * *You should have received a copy of the GNU General Public License *along with this program; if not, write to the Free Software *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *USA.