*This program reads the 2001 National Health Interview Survey 2001 injverbt 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:41:59 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:\nhis2001_injverbt.sps". *and choose to RUN ALL file handle nhis2001_injverbt /name="c:\homes\data\nhis\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\NHIS\2001\injverbt.dat" . data list file=nhis2001_injverbt / rectype 1-2 srvy_yr 3-6 hhx 7-12 (a) fmx 13-14 (a) px 15-16 (a) ipepno 17-18 (a) ijbody1 19-53 (a) ijbody2 54-88 (a) ijbody3 89-123 (a) ijbody4 124-158 (a) ijkind1 159-203 (a) ijkind2 204-248 (a) ijkind3 249-293 (a) ijkind4 294-338 (a) ijhow1 339-423 (a) ijhow2 424-508 (a) ijhow3 509-593 (a) ijhow4 594-678 (a) . * See the codebook for more detailed variable descriptions. variable labels rectype "Record Type" srvy_yr "Survey Year" hhx "Household Serial Number" fmx "Family Serial Number" ipepno "Number of injury/poisoning" ijbody1 "Body part injured/poisoned" ijbody2 "Body part injured/poisoned" ijbody3 "Body part injured/poisoned" ijbody4 "Body part injured/poisoned" ijkind1 "Kind of injury/poisoning" ijkind2 "Kind of injury/poisoning" ijkind3 "Kind of injury/poisoning" ijkind4 "Kind of injury/poisoning" ijhow1 "Description of injury/poisoning" ijhow2 "Description of injury/poisoning" ijhow3 "Description of injury/poisoning" ijhow4 "Description of injury/poisoning" . value labels rectype 75 "Verbatim Injury/Poisoning Episode" /srvy_yr 2001 "2001" /ipepno "01" "First injury or poisoning" "02" "Second injury or poisoning" "03" "Third injury or poisoning" "04" "Fourth injury or poisoning" "05" "Fifth injury or poisoning" "06" "Sixth injury or poisoning" "07" "Seventh injury or poisoning" "08" "Eighth injury or poisoning" "09" "Ninth injury or poisoning" "10" "Tenth injury or poisoning" . list. execute. save outfile = 'c:\nhis2001_injverbt.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.