*This program reads the 1998 National Health Interview Survey 1998 poiepsod 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:42:47 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:\nhis1998_poiepsod.sps". *and choose to RUN ALL file handle nhis1998_poiepsod /name="c:\homes\data\nhis\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\NHIS\1998\poiepsod.dat" . data list file=nhis1998_poiepsod / rectype 1-2 srvy_yr 3-6 hhx 7-12 (a) fmx 13-14 (a) px 15-16 (a) poiepno 17-17 (a) poidtem 18-19 pday 20-21 poidtey 22-25 rpckdmp 26-27 poitpr2 28-29 poicc 30 phosp 31 phno 32-33 pwkls 34 pscls 35 wtfa 36-41 . * 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" poiepno "Number of poison episode" poidtem "Month of poisoning" pday "Day of week of poisoning" poidtey "Year of poisoning" rpckdmp "Time between interview and poison date" poitpr2 "Cause of poisoning" poicc "Called poison control center" phosp "Hospitalized for poisoning" phno "Number of nights hospitalized" pwkls "Days absent from work" pscls "Days absent from school" wtfa "Weight - Final Annual" . value labels rectype 80 "Poison Episode" /srvy_yr 1998 "1998" /poiepno "1" "First poisoning" "2" "Second poisoning" "3" "Third poisoning" "4" "Fourth poisoning" /poidtem 01 "January" 02 "February" 03 "March" 04 "April" 05 "May" 06 "June" 07 "July" 08 "August" 09 "September" 10 "October" 11 "November" 12 "December" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /pday 01 "Sunday" 02 "Monday" 03 "Tuesday" 04 "Wednesday" 05 "Thursday" 06 "Friday" 07 "Saturday" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /poidtey 1997 "1997" 1998 "1998" 1999 "1999" 9997 "Refused" 9998 "Not ascertained" 9999 "Don't know" /rpckdmp 92 "92-104 days" 93 "Same month as interview" 94 "Month before month of interview" 95 "2 months before month of interview" 96 "3 or 4 months before month of interview" 98 "Not ascertained" /poitpr2 01 "A drug or med substance used mistakenly/od" 02 "A harmful or toxic solid or liquid substance" 03 "Inhaling gases or vapors" 04 "Eating poisonous plant/substance" 05 "A venomous animal or plant" 06 "Something else - poisoning" 07 "Allergic/adverse reaction to med/otr substance" 08 "Something else - NOT poisoning" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /poicc 1 "Yes" 2 "No" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /phosp 1 "Yes" 2 "No" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /phno 95 "95+ nights" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /pwkls 0 "None" 1 "Less than 1 day" 2 "One to five days" 3 "Six or more days" 6 "Not employed at the time of poisoning" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /pscls 0 "None" 1 "Less than 1 day" 2 "One to five days" 3 "Six or more days" 6 "Not in school at the time of the injury" 7 "Refused" 8 "Not ascertained" 9 "Don't know" . list. execute. save outfile = 'c:\nhis1998_poiepsod.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.