*options obs=100 ; options nocenter ; /*------------------------------------------------ by Jean Roth Mon Jul 2 15:42:57 EDT 2007 This program reads the 1998 National Health Interview Survey 1998 prevchld Data File Report errors to jroth@nber.org This program is distributed under the GNU GPL. See end of this file and http://www.gnu.org/licenses/ for details. ----------------------------------------------- */ * The following line should contain the directory where the SAS file is to be stored ; libname library "./"; * The following line should contain the complete path and name of the raw data file. On a PC, use backslashes in paths as in C:\ ; FILENAME datafile pipe "unzip -p /homes/data/nhis/ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/NHIS/1998/prevchld.exe "; * The following line should contain the name of the SAS dataset ; %let dataset = nhis1998_prevchld ; DATA library.&dataset ; INFILE datafile LRECL = 20000 ; attrib rectype length=3 label="Record Type"; attrib srvy_yr length=4 label="Survey Year"; attrib hhx length=$6 label="Household Serial Number"; attrib fmx length=$2 label="Family Serial Number"; attrib px length=$2 label=""; attrib csrespno length=$2 label="Sample child respondent's person number"; attrib csreltiv length=3 label="Person's relationship to child"; attrib intv_qrt length=3 label="Interview Quarter"; attrib sex length=3 label="Sex"; attrib age_p length=3 label="Age"; attrib r_age1 length=3 label="Age Recode #1"; attrib r_age2 length=3 label="Age Recode #2"; attrib origin length=3 label="Hispanic Ethnicity"; attrib hispan_p length=3 label="Hispanic subgroup detail"; attrib mrace_p length=3 label="Race coded to a single race group"; attrib racerec length=3 label="Race Recode"; attrib race length=3 label="OMB groups w/multiple race"; attrib hispcode length=3 label="Combined race/ethnicity recode"; attrib rrp length=3 label="Relationship to HH reference person"; attrib hh_ref length=$2 label="Person # of HH reference person"; attrib frrp length=3 label="Rel to family ref person"; attrib fm_ref length=$2 label="Person # of family reference person"; attrib mother length=$2 label="Mother's person number"; attrib mom_deg length=3 label="Type of relationship with Mother"; attrib father length=$2 label="Father's person number"; attrib dad_deg length=3 label="Type of relationship with Father"; attrib parents length=3 label="Parent(s) present in the family"; attrib guard length=$2 label="Person number of guardian"; attrib fm_size length=3 label="Number of persons in family"; attrib fm_type length=3 label="Family Type (on the person-level)"; attrib fm_strcp length=3 label="Family Structure (at the person-level)"; attrib educ length=3 label="Highest level of school completed"; attrib mom_ed length=3 label="Education of Mother"; attrib dad_ed length=3 label="Education of Father"; attrib ab_bl20k length=3 label=""; attrib rat_cat length=3 label="Ratio of fam inc to poverty threshold"; attrib region length=3 label="Region"; attrib msasizep length=3 label="Geographic Distribution - MSA size"; attrib wtia_cp length=4 label="Weight - Interim Annual"; attrib wtfa_cp length=4 label="Weight - Final Annual"; attrib stratum length=3 label="Stratum for variance estimation"; attrib psu length=3 label="PSU for variance estimation"; attrib dummy_cp length=3 label="Dummy Record Flag for Prevention Child"; attrib ckhear length=3 label="Age when began having hearing prob"; attrib bir03 length=3 label="Hearing prob start before/after 3rd birt"; attrib diag_num length=3 label="Age hearing prob diag by Dr: # units"; attrib diag_tp length=3 label="Age hearing prob diag by Dr: Time units"; attrib diag_yr length=3 label="Age hearing prob diag by Dr: # units"; attrib diar length=3 label="Times cut act due to diarrhea, past 12 m"; attrib care length=3 label="Had child care w/GT 6 kids, past 12 m"; attrib ccaremon length=3 label="Length of child care"; attrib btlfd1 length=3 label="Ever been bottle fed"; attrib btlfd2 length=3 label="Still use a bottle"; attrib btlfd2w length=3 label="# days put to bed w/bottle, past 2 wks"; attrib densl length=3 label="Had dental sealants painted on teeth"; attrib corw length=3 label="Used mouthwash/rinse, past 2 wks"; attrib corwb_r1 length=3 label="Type of mouthwash/rinse past 2 wks"; attrib corwfl length=3 label="Respondent report mouthwash w/fluoride"; attrib corwpg length=3 label="In fluoride mouthrinse pgm at school"; attrib corvtm length=3 label="Take Fluoride supplements"; attrib seat length=3 label="Have child safety seat now"; attrib buc1 length=3 label="How often secured in safety seat/belt"; attrib buc2 length=3 label="How often wear seat belt"; attrib buc3 length=3 label="How often wear seat belt"; attrib play length=3 label="Play any organized sports, past 12 m"; attrib sprt_ftb length=3 label="Played football"; attrib sprt_bas length=3 label="Played baseball"; attrib sprt_soc length=3 label="Played soccer"; attrib sprt_rug length=3 label="Played rugby"; attrib sprt_hoc length=3 label="Played hockey"; attrib sprt_lac length=3 label="Played lacrosse"; attrib sprt_wre length=3 label="Played wrestling"; attrib sprt_box length=3 label="Played boxing"; attrib sprt_kar length=3 label="Played karate/judo"; attrib foot_m length=3 label="How often wore mouth guard, past 12 m"; attrib foot_h length=3 label="How often wore head gear, past 12 m"; attrib base_m length=3 label="How often wore mouth guard, past 12 m"; attrib base_h length=3 label="How often wore head gear, past 12 m"; attrib socc_m length=3 label="How often wore mouth guard, past 12 m"; attrib socc_h length=3 label="How often wore head gear, past 12 m"; attrib rugb_m length=3 label="How often wore mouth guard, past 12 m"; attrib rugb_h length=3 label="How often wore head gear, past 12 m"; attrib hock_m length=3 label="How often wore mouth guard, past 12 m"; attrib hock_h length=3 label="How often wore head gear, past 12 m"; attrib lacr_m length=3 label="How often wore mouth guard, past 12 m"; attrib lacr_h length=3 label="How often wore head gear, past 12 m"; attrib wres_m length=3 label="How often wore mouth guard, past 12 m"; attrib wres_h length=3 label="How often wore head gear, past 12 m"; attrib box_m length=3 label="How often wore mouth guard, past 12 m"; attrib box_h length=3 label="How often wore head gear, past 12 m"; attrib kar_m length=3 label="How often wore mouth guard, past 12 m"; attrib kar_h length=3 label="How often wore head gear, past 12 m"; INPUT @1 rectype 2. @3 srvy_yr 4. @7 hhx $6. @13 fmx $2. @15 px $2. @17 csrespno $2. @19 csreltiv 2. @21 intv_qrt 1. @22 sex 1. @23 age_p 2. @25 r_age1 1. @26 r_age2 1. @27 origin 1. @28 hispan_p 2. @30 mrace_p 2. @32 racerec 1. @33 race 1. @34 hispcode 1. @35 rrp 2. @37 hh_ref $2. @39 frrp 2. @41 fm_ref $2. @43 mother $2. @45 mom_deg 1. @46 father $2. @48 dad_deg 1. @49 parents 1. @50 guard $2. @52 fm_size 2. @54 fm_type 1. @55 fm_strcp 2. @57 educ 2. @59 mom_ed 2. @61 dad_ed 2. @63 ab_bl20k 2. @65 rat_cat 2. @67 region 1. @68 msasizep 1. @69 wtia_cp 6. @75 wtfa_cp 6. @81 stratum 3. @84 psu 1. @85 dummy_cp 1. @86 ckhear 2. @88 bir03 1. @89 diag_num 2. @91 diag_tp 1. @92 diag_yr 2. @94 diar 2. @96 care 1. @97 ccaremon 2. @99 btlfd1 1. @100 btlfd2 1. @101 btlfd2w 2. @103 densl 1. @104 corw 1. @105 corwb_r1 1. @106 corwfl 1. @107 corwpg 1. @108 corvtm 1. @109 seat 1. @110 buc1 1. @111 buc2 1. @112 buc3 1. @113 play 1. @114 sprt_ftb 1. @115 sprt_bas 1. @116 sprt_soc 1. @117 sprt_rug 1. @118 sprt_hoc 1. @119 sprt_lac 1. @120 sprt_wre 1. @121 sprt_box 1. @122 sprt_kar 1. @123 foot_m 1. @124 foot_h 1. @125 base_m 1. @126 base_h 1. @127 socc_m 1. @128 socc_h 1. @129 rugb_m 1. @130 rugb_h 1. @131 hock_m 1. @132 hock_h 1. @133 lacr_m 1. @134 lacr_h 1. @135 wres_m 1. @136 wres_h 1. @137 box_m 1. @138 box_h 1. @139 kar_m 1. @140 kar_h 1. ; /*------------------------------------------------ The PROC FORMAT statement will store the formats in a sas data set called fprev98 To use the stored formats in a subsequent program, use code like the following: proc format cntlin=library.fprev98; PROC freq; tables pesex ; format pesex P135L.; For more information, consult PROC FORMAT in the SAS Procedures Guide ----------------------------------------------- */ PROC FORMAT cntlout=library.fprev98; ; VALUE rectype (default=32) 45 = "Prevention Sample Child" ; VALUE srvy_yr (default=32) 1998 = "1998" ; VALUE $csrespn (default=32) ""99"" = "Unknown" ; VALUE csreltiv (default=32) 01 = "Parent (Biological; adoptive; or step)" 02 = "Grandparent" 03 = "Aunt/Uncle" 04 = "Brother/Sister" 05 = "Other relative" 06 = "Legal guardian" 07 = "Foster parent" 08 = "Other non-relative" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE intv_qrt (default=32) 1 = "Quarter 1" 2 = "Quarter 2" 3 = "Quarter 3" 4 = "Quarter 4" ; VALUE sex (default=32) 1 = "Male" 2 = "Female" ; VALUE age_p (default=32) 00 = "Under 1 year" ; VALUE r_age1l (default=32) 1 = "Under 5 years" 2 = "5-17 years" ; VALUE r_age2l (default=32) 1 = "Under 6 years" 2 = "6-16 years" 3 = "17 years" ; VALUE origin (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE hispan_p (default=32) 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" ; VALUE mrace_p (default=32) 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" ; VALUE racerec (default=32) 1 = "White" 2 = "Black" 3 = "Other" ; VALUE race (default=32) 1 = "White" 2 = "Black" 3 = "AIAN*" 4 = "API*" 5 = "Other" 6 = "Multiple race" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE hispcode (default=32) 1 = "Hispanic" 2 = "Non-Hispanic White" 3 = "Non-Hispanic Black" 4 = "Non-Hispanic Other" ; VALUE rrp (default=32) 01 = "Household reference person" 02 = "Spouse (husband/wife)" 03 = "Unmarried Partner" 04 = "Child (biological/adoptive/in-law/step/foster)" 05 = "Child of partner" 06 = "Grandchild" 07 = "Parent (bio./adoptive/in-law/step/foster)" 08 = "Brother/sister (bio./adop./in-law/step/foster)" 09 = "Grandparent (Grandmother/Grandfather)" 10 = "Aunt/Uncle" 11 = "Niece/Nephew" 12 = "Other relative" 13 = "Housemate/roommate" 14 = "Roomer/Boarder" 15 = "Other nonrelative" 16 = "Legal guardian" 17 = "Ward" 97 = "Refused" 99 = "Don't know" ; VALUE $hh_ref (default=32) ""98"" = "Not ascertained" ; VALUE frrp (default=32) 01 = "Family reference person" 02 = "Spouse (husband/wife)" 03 = "Unmarried Partner" 04 = "Child (biological/adoptive/in-law/step/foster)" 05 = "Child of partner" 06 = "Grandchild" 07 = "Parent (bio./adoptive/in-law/step/foster)" 08 = "Brother/sister (bio./adop./in-law/step/foster)" 09 = "Grandparent (Grandmother/Grandfather)" 10 = "Aunt/Uncle" 11 = "Niece/Nephew" 12 = "Other relative" 13 = "Housemate/roommate" 14 = "Roomer/Boarder" 15 = "Other nonrelative" 16 = "Legal guardian" 17 = "Ward" 97 = "Refused" 99 = "Don't know" ; VALUE $fm_ref (default=32) ""98"" = "Not ascertained" ; VALUE $mother (default=32) ""00"" = "No mother in household" ""96"" = "Has legal guardian" ""97"" = "Refused" ""98"" = "Not ascertained" ""99"" = "Don't know" ; VALUE mom_deg (default=32) 1 = "Biological" 2 = "Step" 3 = "Adoptive" 4 = "Foster" 5 = "In-law" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE $father (default=32) ""00"" = "No father in household" ""96"" = "Has legal guardian" ""97"" = "Refused" ""98"" = "Not ascertained" ""99"" = "Don't know" ; VALUE dad_deg (default=32) 1 = "Biological" 2 = "Step" 3 = "Adoptive" 4 = "Foster" 5 = "In-law" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE parents (default=32) 1 = "Mother; no father" 2 = "Father; no mother" 3 = "Mother and father" 4 = "Neither mother nor father" 9 = "Unknown" ; VALUE $guard (default=32) ""00"" = "Guardian is not a household member" ""97"" = "Refused" ""98"" = "Not ascertained" ""99"" = "Don't know" """ = " Not in Universe" ; VALUE fm_type (default=32) 1 = "One adult; no child(ren) under 18" 2 = "Multiple adults; no child(ren) under 18" 3 = "One adult; 1+ child(ren) under 18" 4 = "Multiple adults; 1+ child(ren) under 18" 9 = "Unknown" ; VALUE educ (default=32) 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" ; VALUE mom_ed (default=32) 01 = "Less/equal to 8th grade" 02 = "9-12th grade; no high school diploma" 03 = "High school graduate/GED recipient" 04 = "Some college; no degree" 05 = "AA degree; technical or vocational" 06 = "AA degree; academic program" 07 = "Bachelor's degree" 08 = "Master's; professional; or doctoral degree" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE dad_ed (default=32) 01 = "Less/equal to 8th grade" 02 = "9-12th grade; no high school diploma" 03 = "High school graduate/GED recipient" 04 = "Some college; no degree" 05 = "AA degree; technical or vocational" 06 = "AA degree; academic program" 07 = "Bachelor's degree" 08 = "Master's; professional; or doctoral degree" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE ab_bl20k (default=32) 01 = "$20;000 or more" 02 = "Less than $20;000" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE rat_cat (default=32) 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" ; VALUE region (default=32) 1 = "Northeast" 2 = "Midwest" 3 = "South" 4 = "West" ; VALUE msasizep (default=32) 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" ; VALUE dummy_cp (default=32) 1 = "Dummy record" 0 = "Not a dummy record" ; VALUE ckhear (default=32) 00 = "At birth" 01 = "Less than or equal to 1 year old" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE bir03l (default=32) 1 = "Before" 2 = "After" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE diag_num (default=32) 95 = "95+" 96 = "Since birth" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE diag_tp (default=32) 1 = "Day(s)" 2 = "Week(s)" 3 = "Month(s)" 4 = "Year(s)" 6 = "Since birth" 7 = "Refused" 8 = "Not Ascertained" 9 = "Don't Know" ; VALUE diag_yr (default=32) 00 = "Less than 1 year" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE diar (default=32) 00 = "None" 97 = "Refused" 98 = "Not Ascertained" 99 = "Don't know" ; VALUE care (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE ccaremon (default=32) 00 = "Less than one full month" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE btlfd1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE btlfd2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE btlfd2w (default=32) 00 = "None" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE densl (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE corw (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE corwb_ra (default=32) 0 = "Fluoride prescription" 1 = "Fluoride non-prescription" 2 = "Prescription non-fluoride/DK fluoride" 3 = "Non-fluoride non-prescription brand name" 4 = "Non-fluoride non-prescription generic store bra" 5 = "Non-fluoride homemade rinse" 6 = "Other" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE corwfl (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE corwpg (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE corvtm (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE seat (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE buc1l (default=32) 1 = "All or most of the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 5 = "Doesn't ride in a car" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE buc2l (default=32) 1 = "All or most of the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 5 = "Doesn't ride in a car" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE buc3l (default=32) 1 = "All or most of the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 5 = "Doesn't ride in a car" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE play (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sprt_ftb (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sprt_bas (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sprt_soc (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sprt_rug (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sprt_hoc (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sprt_lac (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sprt_wre (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sprt_box (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sprt_kar (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE foot_m (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE foot_h (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE base_m (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE base_h (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE socc_m (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE socc_h (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE rugb_m (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE rugb_h (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE hock_m (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE hock_h (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE lacr_m (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE lacr_h (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE wres_m (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE wres_h (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE box_m (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE box_h (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE kar_m (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE kar_h (default=32) 1 = "All or most or the time" 2 = "Some of the time" 3 = "Once in a while" 4 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; proc print data=library.nhis1998_prevchld (obs=6); FORMAT rectype rectype. srvy_yr srvy_yr. csrespno $csrespn. csreltiv csreltiv. intv_qrt intv_qrt. sex sex. age_p age_p. r_age1 r_age1l. r_age2 r_age2l. origin origin. hispan_p hispan_p. mrace_p mrace_p. racerec racerec. race race. hispcode hispcode. rrp rrp. hh_ref $hh_ref. frrp frrp. fm_ref $fm_ref. mother $mother. mom_deg mom_deg. father $father. dad_deg dad_deg. parents parents. guard $guard. fm_type fm_type. educ educ. mom_ed mom_ed. dad_ed dad_ed. ab_bl20k ab_bl20k. rat_cat rat_cat. region region. msasizep msasizep. dummy_cp dummy_cp. ckhear ckhear. bir03 bir03l. diag_num diag_num. diag_tp diag_tp. diag_yr diag_yr. diar diar. care care. ccaremon ccaremon. btlfd1 btlfd1l. btlfd2 btlfd2l. btlfd2w btlfd2w. densl densl. corw corw. corwb_r1 corwb_ra. corwfl corwfl. corwpg corwpg. corvtm corvtm. seat seat. buc1 buc1l. buc2 buc2l. buc3 buc3l. play play. sprt_ftb sprt_ftb. sprt_bas sprt_bas. sprt_soc sprt_soc. sprt_rug sprt_rug. sprt_hoc sprt_hoc. sprt_lac sprt_lac. sprt_wre sprt_wre. sprt_box sprt_box. sprt_kar sprt_kar. foot_m foot_m. foot_h foot_h. base_m base_m. base_h base_h. socc_m socc_m. socc_h socc_h. rugb_m rugb_m. rugb_h rugb_h. hock_m hock_m. hock_h hock_h. lacr_m lacr_m. lacr_h lacr_h. wres_m wres_m. wres_h wres_h. box_m box_m. box_h box_h. kar_m kar_m. kar_h kar_h. ; proc contents data=library.nhis1998_prevchld; /* 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. */