*options obs=100 ; options nocenter ; /*------------------------------------------------ by Jean Roth Mon Jul 2 15:43:05 EDT 2007 This program reads the 1998 National Health Interview Survey 1998 samchild 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/samchild.exe "; * The following line should contain the name of the SAS dataset ; %let dataset = nhis1998_samchild ; 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 (on 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_sc length=4 label="Weight - Interim Annual"; attrib wtfa_sc 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 bwgtlb length=3 label="Birth weight (lb)"; attrib bwgtoz length=3 label="Birth weight (oz)"; attrib bwgtmgr length=4 label="Birth weight (grams)"; attrib amr1 length=3 label="Told - - had mental retardation"; attrib aodd1 length=3 label="Told - - had otr dev delay"; attrib add2 length=3 label="Ever told - - had ADD"; attrib amr2 length=3 label="Ever told - - had mental retardation"; attrib aodd2 length=3 label="Ever told - - had otr dev delay"; attrib condl1 length=3 label="Ever told - - had Down's Syndrome"; attrib condl2 length=3 label="Ever told - - had Celebral Palsy"; attrib condl3 length=3 label="Ever told - - had Muscular Dystrophy"; attrib condl4 length=3 label="Ever told - - had Cystic Fibrosis"; attrib condl5 length=3 label="Ever told - - had Sickle Cell anemia"; attrib condl6 length=3 label="Ever told - - had Autism"; attrib condl7 length=3 label="Ever told - - had Diabetes"; attrib condl8 length=3 label="Ever told - - had Arthritis"; attrib condl9 length=3 label="Ever told - - had Congentl heart disease"; attrib condl10 length=3 label="Ever told - - had otr heart cond"; attrib cpox length=3 label="Has - - EVER had chickenpox?"; attrib cashmev length=3 label="Ever been told that - - had asthma"; attrib cashyr length=3 label="Has - - had an asthma episode past 12 m"; attrib casmeryr length=3 label="Did - - visit ER due to asthma"; attrib hayf1 length=3 label="Has - - had hay fever, past 12 m"; attrib rallg1 length=3 label="Had respiratory allergy, past 12 m"; attrib dallg1 length=3 label="Had food/digestive allergy, past 12 m"; attrib sallg1 length=3 label="Had eczema/skin allergy, past 12 m"; attrib diarh1 length=3 label="Had freq diarrhea/colitis, past 12 m"; attrib anemia1 length=3 label="Had anemia, past 12 m"; attrib earinf1 length=3 label="Had 3+ ear infections, past 12 m"; attrib seize1 length=3 label="Had seizures, past 12 m"; attrib hayf2 length=3 label="Had hay fever, past 12 m"; attrib rallg2 length=3 label="Had respiratory allergy, past 12 m"; attrib dallg2 length=3 label="Had food/digestive allergy, past 12 m"; attrib sallg2 length=3 label="Had eczema/skin allergy, past 12 m"; attrib diarh2 length=3 label="Had freq diarrhea/colitis, past 12 m"; attrib anemia2 length=3 label="Had anemia, past 12 m"; attrib fhead length=3 label="Had freq headaches/migraines, past 12 m"; attrib earinf2 length=3 label="Had 3+ ear infections, past 12 m"; attrib seize2 length=3 label="Had seizures, past 12 m"; attrib stutter length=3 label="Stuttered/stammered, past 12 m"; attrib chstatyr length=3 label="Health better, worse, or about the same"; attrib schdayr1 length=3 label="Days missed due to ill/inj, past 12 m"; attrib ccold2w length=3 label="Had a head/chest cold past 2 wks"; attrib cintil2w length=3 label="Had stomach prob w/vomit/diarrhea, 2 w"; attrib chearst length=3 label="Hearing w/o hearing aid"; attrib cvision length=3 label="Does - - have trouble seeing"; attrib cblind length=3 label="Is - - blind/unable to see at all"; attrib ihspeq length=3 label="Need spec equip due to impair/hlth prob"; attrib ihmob length=3 label="Impair/hlth prob lmt crawl/walk/run/play"; attrib ihmobyr length=3 label="Impair/hlth prob lasted/will last 12+ m"; attrib probrx length=3 label="Taken RX medication for 3+ m"; attrib learnd length=3 label="Ever told - - had a learning disability"; attrib cmhagm15 length=3 label="Has - - been unhappy/depressed past 2 m"; attrib cmhagf15 length=3 label="Has - - been unhappy/depressed past 2 m"; attrib cmhagm25 length=3 label="Has - - been unhappy/depressed past 6 m"; attrib cmhagf25 length=3 label="Has - - been unhappy/depressed past 6 m"; attrib cmhagm35 length=3 label="Has - - been unhappy/depressed past 6 m"; attrib cmhagf35 length=3 label="Has - - been unhappy/depressed past 6 m"; attrib mhiboy2 length=3 label="Mental hlth indicator (MHI) scale score"; attrib mhigrl2 length=3 label="Mental hlth indicator (MHI) scale score"; attrib mhiboy4 length=3 label="Mental hlth indicator (MHI) scale score"; attrib mhigrl4 length=3 label="Mental hlth indicator (MHI) scale score"; attrib mhiboy12 length=3 label="Mental hlth indicator (MHI) scale score"; attrib mhigrl12 length=3 label="Mental hlth indicator (MHI) scale score"; attrib cusualpl length=3 label="Place usually taken when sick"; attrib cplkind length=3 label="Place to go when sick (most often)"; attrib chcplrou length=3 label="Usually go{CPLKIND}for routine/prev care"; attrib chcplknd length=3 label="Place goes for routine prev care"; attrib sourcelc length=3 label="Source of medical care recode"; attrib chcchgyr length=3 label="Change hlth care provider in past 12 m"; attrib chcchghi length=3 label="Change related to hlth insurance"; attrib chcdlyr1 length=3 label="Couldn't get through on phone"; attrib chcdlyr2 length=3 label="Couldn't get appt. soon enough"; attrib chcdlyr3 length=3 label="Wait too long in doctor's office"; attrib chcdlyr4 length=3 label="Not open when you could go"; attrib chcdlyr5 length=3 label="No transportation"; attrib chcafyr length=3 label="Can't afford presc medicine"; attrib chcafyr1 length=3 label="Can't afford presc medicine"; attrib chcafyr2 length=3 label="Can't afford mental hlth care/counseling"; attrib chcafyr3 length=3 label="Can't afford dental care"; attrib cdenlong length=3 label="When did - - last see/talk to dentist"; attrib chcsyr11 length=3 label="Has - - seen/talk to eye doctor"; attrib chcsyr12 length=3 label="Has - - seen/talk to foot doctor"; attrib chcsyr13 length=3 label="Has - - seen/talk to therapst (PT, OT)"; attrib chcsyr14 length=3 label="Has - - seen/talk to a RN or PA"; attrib chcsyr1 length=3 label="Has - - seen/talk to mental hlth prof"; attrib chcsyr2 length=3 label="Has - - seen/talk to eye doctor"; attrib chcsyr3 length=3 label="Has - - seen/talk to foot doctor"; attrib chcsyr4 length=3 label="Has - - seen/talk to chiropractor"; attrib chcsyr5 length=3 label="Has - - seen/talk to therapist (PT, etc)"; attrib chcsyr6 length=3 label="Has - - seen/talk to RN or PA"; attrib chcsyr7 length=3 label="Has - - seen/talk OB/GYN past 12 m"; attrib chcsyr81 length=3 label="Has - - seen a med specialist, past 12 m"; attrib chcsyr82 length=3 label="Has - - seen a general doctor, past 12 m"; attrib chcsyr10 length=3 label="Does that Dr treat both kids and adults"; attrib chpexyr length=3 label="Has - - had check-up past 12 m"; attrib chernoyr length=3 label="# times in ER/ED past 12 m"; attrib chchyr length=3 label="Got home care from hlth prof, past 12 m"; attrib chchmoyr length=3 label="How many months of home care"; attrib chchnoyr length=3 label="Total number of home vst"; attrib chcnoyr length=3 label="Total number of office vst"; attrib csrgyr length=3 label="Has - - had surgery in the past 12 m"; attrib csrgnoyr length=3 label="Times had outpatient surgery past 12 m"; attrib cmdlong length=3 label="Last time - - saw/spoke to hlth prof"; 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_sc 6. @75 wtfa_sc 6. @81 stratum 3. @84 psu 1. @85 dummy_cp 1. @86 bwgtlb 2. @88 bwgtoz 2. @90 bwgtmgr 4. @94 amr1 1. @95 aodd1 1. @96 add2 1. @97 amr2 1. @98 aodd2 1. @99 condl1 1. @100 condl2 1. @101 condl3 1. @102 condl4 1. @103 condl5 1. @104 condl6 1. @105 condl7 1. @106 condl8 1. @107 condl9 1. @108 condl10 1. @109 cpox 1. @110 cashmev 1. @111 cashyr 1. @112 casmeryr 1. @113 hayf1 1. @114 rallg1 1. @115 dallg1 1. @116 sallg1 1. @117 diarh1 1. @118 anemia1 1. @119 earinf1 1. @120 seize1 1. @121 hayf2 1. @122 rallg2 1. @123 dallg2 1. @124 sallg2 1. @125 diarh2 1. @126 anemia2 1. @127 fhead 1. @128 earinf2 1. @129 seize2 1. @130 stutter 1. @131 chstatyr 1. @132 schdayr1 3. @135 ccold2w 1. @136 cintil2w 1. @137 chearst 1. @138 cvision 1. @139 cblind 1. @140 ihspeq 1. @141 ihmob 1. @142 ihmobyr 1. @143 probrx 1. @144 learnd 1. @145 cmhagm15 1. @146 cmhagf15 1. @147 cmhagm25 1. @148 cmhagf25 1. @149 cmhagm35 1. @150 cmhagf35 1. @151 mhiboy2 2. @153 mhigrl2 2. @155 mhiboy4 2. @157 mhigrl4 2. @159 mhiboy12 2. @161 mhigrl12 2. @163 cusualpl 1. @164 cplkind 1. @165 chcplrou 1. @166 chcplknd 1. @167 sourcelc 2. @169 chcchgyr 1. @170 chcchghi 1. @171 chcdlyr1 1. @172 chcdlyr2 1. @173 chcdlyr3 1. @174 chcdlyr4 1. @175 chcdlyr5 1. @176 chcafyr 1. @177 chcafyr1 1. @178 chcafyr2 1. @179 chcafyr3 1. @180 cdenlong 1. @181 chcsyr11 1. @182 chcsyr12 1. @183 chcsyr13 1. @184 chcsyr14 1. @185 chcsyr1 1. @186 chcsyr2 1. @187 chcsyr3 1. @188 chcsyr4 1. @189 chcsyr5 1. @190 chcsyr6 1. @191 chcsyr7 1. @192 chcsyr81 1. @193 chcsyr82 1. @194 chcsyr10 1. @195 chpexyr 1. @196 chernoyr 1. @197 chchyr 1. @198 chchmoyr 2. @200 chchnoyr 1. @201 chcnoyr 1. @202 csrgyr 1. @203 csrgnoyr 2. @205 cmdlong 1. ; /*------------------------------------------------ The PROC FORMAT statement will store the formats in a sas data set called fsamc98 To use the stored formats in a subsequent program, use code like the following: proc format cntlin=library.fsamc98; PROC freq; tables pesex ; format pesex P135L.; For more information, consult PROC FORMAT in the SAS Procedures Guide ----------------------------------------------- */ PROC FORMAT cntlout=library.fsamc98; ; VALUE rectype (default=32) 40 = "Sample Child (SC)" ; 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 bwgtlb (default=32) 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE bwgtoz (default=32) 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE bwgtmgr (default=32) 0500 = "500 grams or less" 5485 = "5485+ grams" 9997 = "Refused" 9998 = "Not ascertained" 9999 = "Don't know" ; VALUE amr1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE aodd1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE add2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE amr2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE aodd2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl1l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl2l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl3l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl4l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl5l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl6l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl7l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl8l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl9l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE condl10l (default=32) 1 = "Mentioned" 2 = "Not mentioned" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cpox (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cashmev (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cashyr (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE casmeryr (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE hayf1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE rallg1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE dallg1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sallg1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE diarh1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE anemia1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE earinf1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE seize1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE hayf2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE rallg2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE dallg2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sallg2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE diarh2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE anemia2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE fhead (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE earinf2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE seize2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE stutter (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chstatyr (default=32) 1 = "Better" 2 = "Worse" 3 = "About the same" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE schdayra (default=32) 000 = "None" 996 = "Did not go to school" 997 = "Refused" 998 = "Not ascertained" 999 = "Don't know" ; VALUE ccold2w (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cintil2w (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chearst (default=32) 1 = "Good" 2 = "Little of trouble" 3 = "Lot of trouble" 4 = "Deaf" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cvision (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cblind (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE ihspeq (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE ihmob (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE ihmobyr (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE probrx (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE learnd (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cmhagm1e (default=32) 0 = "Not True" 1 = "Sometimes True" 2 = "Often True" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cmhagf1e (default=32) 0 = "Not True" 1 = "Sometimes True" 2 = "Often True" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cmhagm2e (default=32) 0 = "Not True" 1 = "Sometimes True" 2 = "Often True" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cmhagf2e (default=32) 0 = "Not True" 1 = "Sometimes True" 2 = "Often True" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cmhagm3e (default=32) 0 = "Not True" 1 = "Sometimes True" 2 = "Often True" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cmhagf3e (default=32) 0 = "Not True" 1 = "Sometimes True" 2 = "Often True" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE mhiboy2l (default=32) 99 = "Unknown" ; VALUE mhigrl2l (default=32) 99 = "Unknown" ; VALUE mhiboy4l (default=32) 99 = "Unknown" ; VALUE mhigrl4l (default=32) 99 = "Unknown" ; VALUE mhiboy1b (default=32) 99 = "Unknown" ; VALUE mhigrl1b (default=32) 99 = "Unknown" ; VALUE cusualpl (default=32) 1 = "Yes" 2 = "There is NO place" 3 = "There is MORE THAN ONE place" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cplkind (default=32) 1 = "Clinic or health center" 2 = "Doctor's office or HMO" 3 = "Hospital emergency room" 4 = "Hospital outpatient department" 5 = "Some other place" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcplrou (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcplknd (default=32) 0 = "Doesn't get preventive care anywhere" 1 = "Clinic or health center" 2 = "Doctor's office of HMO" 3 = "Hospital emergency room" 4 = "Hospital outpatient" 5 = "Some other place" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE sourcelc (default=32) 01 = "Same sorc sk care & rout care" 02 = "Sorc sk care; no sorc rout care" 03 = "Sorc sk & rout care; no/unk same sorc" 04 = "Sorc sk care; unk sorc rout care" 05 = "GE 2 sorc sk care; 1 is sorc rout care" 06 = "GE 2 sorc sk care; no sorc rout care" 07 = "GE 2 sorc sk & rout care; no/unk if same" 08 = "GE 2 sorc sk care; unk sorc rout care" 09 = "No sorc sk care or rout care" 10 = "No sorc sk care; has sorc rout care" 11 = "No sorc sk care; unk sorc rout care" 12 = "Unk sorc sk care; no sorc rout care" 13 = "Unk sorc sk care; has sorc rout care" 14 = "Unk sorc sk care or sorc rout care" 99 = "Unknown other" ; VALUE chcchgyr (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcchghi (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcdlyra (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcdlyrb (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcdlyrc (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcdlyrd (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcdlyre (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcafyr (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcafyra (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcafyrb (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcafyrc (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cdenlong (default=32) 1 = "6 Months or less" 2 = "More than 6 months but not more than 1 year ago" 3 = "More than 1 year; but not more than 3 years ago" 4 = "More than 3 years" 5 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr1a (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr1b (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr1c (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr1d (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr1l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr3l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr4l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr5l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr6l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr7l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr8a (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr8b (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcsyr1j (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chpexyr (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chernoyr (default=32) 0 = "None" 1 = "1" 2 = "2-3" 3 = "4-9" 4 = "10-12" 5 = "13 or more" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chchyr (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chchmoyr (default=32) 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE chchnoyr (default=32) 1 = "1" 2 = "2-3" 3 = "4-9" 4 = "10-12" 5 = "13 or more" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chcnoyr (default=32) 0 = "None" 1 = "1" 2 = "2-3" 3 = "4-9" 4 = "10-12" 5 = "13 or more" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE csrgyr (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE csrgnoyr (default=32) 95 = "95+ times" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE cmdlong (default=32) 1 = "6 months or less" 2 = "More than 6 months; but not more than 1 year ag" 3 = "More than 1 year; but not more than 3 year ago" 4 = "More than 3 years" 5 = "Never" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; proc print data=library.nhis1998_samchild (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. bwgtlb bwgtlb. bwgtoz bwgtoz. bwgtmgr bwgtmgr. amr1 amr1l. aodd1 aodd1l. add2 add2l. amr2 amr2l. aodd2 aodd2l. condl1 condl1l. condl2 condl2l. condl3 condl3l. condl4 condl4l. condl5 condl5l. condl6 condl6l. condl7 condl7l. condl8 condl8l. condl9 condl9l. condl10 condl10l. cpox cpox. cashmev cashmev. cashyr cashyr. casmeryr casmeryr. hayf1 hayf1l. rallg1 rallg1l. dallg1 dallg1l. sallg1 sallg1l. diarh1 diarh1l. anemia1 anemia1l. earinf1 earinf1l. seize1 seize1l. hayf2 hayf2l. rallg2 rallg2l. dallg2 dallg2l. sallg2 sallg2l. diarh2 diarh2l. anemia2 anemia2l. fhead fhead. earinf2 earinf2l. seize2 seize2l. stutter stutter. chstatyr chstatyr. schdayr1 schdayra. ccold2w ccold2w. cintil2w cintil2w. chearst chearst. cvision cvision. cblind cblind. ihspeq ihspeq. ihmob ihmob. ihmobyr ihmobyr. probrx probrx. learnd learnd. cmhagm15 cmhagm1e. cmhagf15 cmhagf1e. cmhagm25 cmhagm2e. cmhagf25 cmhagf2e. cmhagm35 cmhagm3e. cmhagf35 cmhagf3e. mhiboy2 mhiboy2l. mhigrl2 mhigrl2l. mhiboy4 mhiboy4l. mhigrl4 mhigrl4l. mhiboy12 mhiboy1b. mhigrl12 mhigrl1b. cusualpl cusualpl. cplkind cplkind. chcplrou chcplrou. chcplknd chcplknd. sourcelc sourcelc. chcchgyr chcchgyr. chcchghi chcchghi. chcdlyr1 chcdlyra. chcdlyr2 chcdlyrb. chcdlyr3 chcdlyrc. chcdlyr4 chcdlyrd. chcdlyr5 chcdlyre. chcafyr chcafyr. chcafyr1 chcafyra. chcafyr2 chcafyrb. chcafyr3 chcafyrc. cdenlong cdenlong. chcsyr11 chcsyr1a. chcsyr12 chcsyr1b. chcsyr13 chcsyr1c. chcsyr14 chcsyr1d. chcsyr1 chcsyr1l. chcsyr2 chcsyr2l. chcsyr3 chcsyr3l. chcsyr4 chcsyr4l. chcsyr5 chcsyr5l. chcsyr6 chcsyr6l. chcsyr7 chcsyr7l. chcsyr81 chcsyr8a. chcsyr82 chcsyr8b. chcsyr10 chcsyr1j. chpexyr chpexyr. chernoyr chernoyr. chchyr chchyr. chchmoyr chchmoyr. chchnoyr chchnoyr. chcnoyr chcnoyr. csrgyr csrgyr. csrgnoyr csrgnoyr. cmdlong cmdlong. ; proc contents data=library.nhis1998_samchild; /* 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. */