*This program reads the 1998 National Health Interview Survey 1998 pregsmkg 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:50 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_pregsmkg.sps". *and choose to RUN ALL file handle nhis1998_pregsmkg /name="c:\homes\data\nhis\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\NHIS\1998\pregsmkg.dat" . data list file=nhis1998_pregsmkg / rectype 1-2 srvy_yr 3-6 hhx 7-12 (a) fmx 13-14 (a) px 15-16 (a) intv_qrt 17 sex 18 age_p 19-20 origin 21 hispan_p 22-23 mrace_p 24-25 racerec 26 race 27 hispcode 28 educ 29-30 ab_bl20k 31-32 rat_cat 33-34 r_maritl 35 fm_size 36-37 region 38 msasizep 39 wtia_ps 40-45 wtfa_ps 46-51 stratum 52-54 psu 55 psflag 56 psmkev 57 psmkrg 58-59 psmknow 60 psmkqtno 61-62 psmkqttp 63 psmkqty 64-65 psmkqtd 66 pcigsda1 67-68 pcigdamo 69-70 pcigsda2 71-72 pcigqtyr 73 psmstlpg 74 psmdurpg 75 psmkqtpg 76 psqpgm 77-78 psmpgsta 79 . * 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" intv_qrt "Interview Quarter" sex "Sex" age_p "Age" origin "Hispanic Ethnicity" hispan_p "Hispanic subgroup detail" mrace_p "Race coded to a single race group" racerec "Race Recode" race "OMB groups w/multiple race" hispcode "Combined race/ethnicity recode" educ "Highest level of school completed" rat_cat "Ratio of fam inc to poverty threshold" r_maritl "Marital status" fm_size "Number of persons in family" region "Region" msasizep "Geographic Distribution - MSA size" wtia_ps "Weight - Interim Annual" wtfa_ps "Weight - Final Annual" stratum "Stratum for variance estimation" psu "PSU for variance estimation" psflag "Live birth within past 5 years" psmkev "Smoked 100+ cigs in lifetime" psmkrg "Age started smoking regularly" psmknow "Frequency of smoking NOW" psmkqtno "Time since quit smoking: # of units" psmkqttp "Time since quit smoking: Time unit" psmkqty "Time since quit smoking (in years)" psmkqtd "Quit smoking during last 12 months" pcigsda1 "# of cigs a day" pcigdamo "# of days smoked cig; past 30 days" pcigsda2 "aver # of cig a day; past 30 days" pcigqtyr "Tried quit smoking 1+ days; past 12 m" psmstlpg "Smoked when became pregnant" psmdurpg "Smoke anytime while preg" psmkqtpg "Quit smoking 7+ d during last preg" psqpgm "Month quit smoking for 7+ days" psmpgsta "Did you start/stop smoking rest of pre" . value labels rectype 37 "Pregnancy and Smoking" /srvy_yr 1998 "1998" /intv_qrt 1 "Quarter 1" 2 "Quarter 2" 3 "Quarter 3" 4 "Quarter 4" /sex 1 "Male" 2 "Female" /origin 1 "Yes" 2 "No" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /hispan_p 00 "Multiple Hispanic" 01 "Puerto Rican" 03 "Mexican-Mexicano" 04 "Mexican-American (includes Chicano)" 05 "Cuban/Cuban-American" 06 "Other Latin American" 07 "Other Spanish" 08 "Hispanic/Spanish; non-specific type" 09 "Hispanic/Spanish; type refused" 10 "Hispanic/Spanish; type not ascertained" 11 "Hispanic/Spanish; type don't know" 12 "Not Hispanic/Spanish origin" /mrace_p 01 "White" 02 "Black/African American" 03 "Indian (American) (includes Eskimo; Aleut)" 06 "Chinese" 07 "Filipino" 12 "Asian Indian" 15 "Other API*" 16 "Other race" 17 "Multiple race" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /racerec 1 "White" 2 "Black" 3 "Other" /race 1 "White" 2 "Black" 3 "AIAN*" 4 "API*" 5 "Other" 6 "Multiple race" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /hispcode 1 "Hispanic" 2 "Non-Hispanic White" 3 "Non-Hispanic Black" 4 "Non-Hispanic Other" /educ 00 "Never attended/ kindergarten only" 12 "12th grade; no diploma" 13 "HIGH SCHOOL GRADUATE" 14 "GED or equivalent" 15 "Some college; no degree" 16 "AA degree: technical or vocational" 17 "AA degree: academic program" 18 "Bachelor's degree (BA; AB; BS; BBA)" 19 "Master's degree (MA; MS; MEng; MEd; MBA)" 20 "Professional degree (MD; DDS; DVM; JD)" 21 "Doctoral degree (PhD; EdD)" 96 "Child under 5 years old" 97 "Refused" 98 "Not Ascertained" 99 "Don't know" /ab_bl20k 01 "$20;000 or more" 02 "Less than $20;000" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /rat_cat 01 "Under .50" 02 ".50 to .74" 03 ".75 to .99" 04 "1.00 to 1.24" 05 "1.25 to 1.49" 06 "1.50 to 1.74" 07 "1.75 to 1.99" 08 "2.00 to 2.49" 09 "2.50 to 2.99" 10 "3.00 to 3.49" 11 "3.50 to 3.99" 12 "4.00 to 4.49" 13 "4.50 to 4.99" 14 "5.00 and over" 96 "Undefinable" 99 "Unknown" /r_maritl 0 "Under 14 years" 1 "Married - spouse in household" 2 "Married - spouse not in household" 3 "Married - spouse in household unknown" 4 "Widowed" 5 "Divorced" 6 "Separated" 7 "Never married" 8 "Living with partner" 9 "Unknown marital status" /region 1 "Northeast" 2 "Midwest" 3 "South" 4 "West" /msasizep 1 "5;000;000 or more" 2 "2;500;000 - 4;999;999" 3 "1;000;000 - 2;499;999" 4 "500;000 - 999;999" 5 "250;000 - 499;999" 6 "Under 250;000" 7 "Non-MSA" /psflag 1 "Yes" 2 "No" 7 "Refused" 8 "Not Ascertained" 9 "Don't Know" /psmkev 1 "Yes" 2 "No" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /psmkrg 96 "Never smoked regularly" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /psmknow 1 "Every day" 2 "Some days" 3 "Not at all" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /psmkqtno 95 "95+" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /psmkqttp 1 "Days" 2 "Weeks" 3 "Months" 4 "Years" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /psmkqty 00 "Less than 1 year" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /psmkqtd 1 "Yes" 2 "No" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /pcigsda1 95 "95+ cigarettes" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /pcigdamo 00 "None" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /pcigsda2 95 "95+ cigarettes" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /pcigqtyr 1 "Yes" 2 "No" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /psmstlpg 1 "Yes" 2 "No" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /psmdurpg 1 "Yes" 2 "No" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /psmkqtpg 1 "Yes" 2 "No" 7 "Refused" 8 "Not ascertained" 9 "Don't know" /psqpgm 01 "First" 02 "Second" 03 "Third" 04 "Fourth" 05 "Fifth" 06 "Sixth" 07 "Seventh" 08 "Eighth" 09 "Ninth" 97 "Refused" 98 "Not ascertained" 99 "Don't know" /psmpgsta 1 "Stayed off rest of pregnancy" 2 "Started again" 3 "Never started again" 7 "Refused" 8 "Not ascertained" 9 "Don't know" . list. execute. save outfile = 'c:\nhis1998_pregsmkg.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.