*This program reads the 2006 National Health Interview Survey 2006 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:45:51 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:\nhis2006_injpoiep.sps". *and choose to RUN ALL file handle nhis2006_injpoiep /name="c:\homes\data\nhis\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\NHIS\2006\injpoiep.dat" . data list file=nhis2006_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-33 ipdatetp 34 ipdatemt 35 rpckdmr 36-38 rpd 39-41 bietd 42-44 eietd 45-47 edipbr 48 impmeth 49 mumon 50-51 muyear 52-55 etflg 56 beiflg 57 icaus 58-59 ecaus 60-61 ijbody1 62-63 ijbody2 64-65 ijbody3 66-67 ijbody4 68-69 ijtype1a 70-71 ijtype1b 72-73 ijtype2a 74-75 ijtype2b 76-77 ijtype3a 78-79 ijtype3b 80-81 ijtype4a 82-83 ijtype4b 84-85 ppcc 86 ipev 87 iper 88 ipdo 89 ippchcp 90 ipoth 91 iphosp 92 ipihno 93-94 imtraf 95 imvwho 96 imvtyp 97-98 isbelt 99 ihelmt 100 ifall1 101-102 ifall2 103-104 ifallwhy 105 ppois 106 ipwhat1 107-108 ipwhat2 109-110 ipwher1 111-112 ipwher2 113-114 ipemp 115 ipwkls 116 ipstu 117 ipscls 118 icd9_1 119-123 (a) icd9_2 124-128 (a) icd9_3 129-133 (a) icd9_4 134-138 (a) icd9_5 139-143 (a) icd9_6 144-148 (a) icd9_7 149-153 (a) icd9_8 154-158 (a) ecode_1 159-163 (a) ecode_2 164-168 (a) ecode_3 169-173 (a) . * See the codebook for more detailed variable descriptions. variable labels . list. execute. save outfile = 'c:\nhis2006_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.