*options obs=100 ; options nocenter ; /*------------------------------------------------ by Jean Roth Mon Jul 2 15:44:07 EDT 2007 This program reads the 2000 National Health Interview Survey 2000 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/2000/samchild.exe "; * The following line should contain the name of the SAS dataset ; %let dataset = nhis2000_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_i length=3 label="Hispanic Ethnicity"; attrib origimpt length=3 label="Hispanic Origin Imputation Flag"; attrib hispan_i length=3 label="Hispanic subgroup detail"; attrib hispimpt length=3 label="Type of Hispanic Origin Imputation Flag"; attrib rcdt1p_i length=3 label="Race coded to single/multiple race group"; attrib rc_smp_i length=3 label="Summary for single/multiple race groups"; attrib racerp_i length=3 label="OMB groups w/multiple race"; attrib raceimpt length=3 label="Race Imputation Flag"; attrib mracrp_i length=3 label="Race coded to a single race group"; attrib mracbp_i length=3 label="Race coded to a single race group"; attrib racrec_i length=3 label="Race Recode"; attrib hiscod_i length=3 label="Combined race/ethnicity recode"; attrib erimpflg length=3 label="Ethnicity/Race Imputation Flag"; 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_strp 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 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 ADHD/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 Cerebral 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 cpox12mo length=3 label="Had chickenpox, PAST 12 MOS?"; 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="Have a head/chest cold those 2 wks"; attrib cintil2w length=3 label="Stomach ill w/vomiting/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 chcafyr4 length=3 label="Can't afford eyeglasses"; attrib cdnlongr 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 therapist (PT/OT/etc)"; 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 therapst (PT/OT/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 chpxyr_c length=3 label="Has - - had check-up past 12 m"; attrib chernoy2 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 chchnoy2 length=3 label="Total number of home visits"; attrib chcnoyr2 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 cmdlongr 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_i 1. @28 origimpt 1. @29 hispan_i 2. @31 hispimpt 1. @32 rcdt1p_i 2. @34 rc_smp_i 2. @36 racerp_i 2. @38 raceimpt 1. @39 mracrp_i 2. @41 mracbp_i 2. @43 racrec_i 1. @44 hiscod_i 1. @45 erimpflg 1. @46 rrp 2. @48 hh_ref $2. @50 frrp 2. @52 fm_ref $2. @54 mother $2. @56 mom_deg 1. @57 father $2. @59 dad_deg 1. @60 parents 1. @61 guard $2. @63 fm_size 2. @65 fm_type 1. @66 fm_strp 2. @68 educ 2. @70 mom_ed 2. @72 dad_ed 2. @74 ab_bl20k 1. @75 rat_cat 2. @77 region 1. @78 msasizep 1. @79 wtia_sc 6. @85 wtfa_sc 6. @91 stratum 3. @94 psu 1. @95 bwgtlb 2. @97 bwgtoz 2. @99 bwgtmgr 4. @103 amr1 1. @104 aodd1 1. @105 add2 1. @106 amr2 1. @107 aodd2 1. @108 condl1 1. @109 condl2 1. @110 condl3 1. @111 condl4 1. @112 condl5 1. @113 condl6 1. @114 condl7 1. @115 condl8 1. @116 condl9 1. @117 condl10 1. @118 cpox 1. @119 cpox12mo 1. @120 cashmev 1. @121 cashyr 1. @122 casmeryr 1. @123 hayf1 1. @124 rallg1 1. @125 dallg1 1. @126 sallg1 1. @127 diarh1 1. @128 anemia1 1. @129 earinf1 1. @130 seize1 1. @131 hayf2 1. @132 rallg2 1. @133 dallg2 1. @134 sallg2 1. @135 diarh2 1. @136 anemia2 1. @137 fhead 1. @138 earinf2 1. @139 seize2 1. @140 stutter 1. @141 chstatyr 1. @142 schdayr1 3. @145 ccold2w 1. @146 cintil2w 1. @147 chearst 1. @148 cvision 1. @149 cblind 1. @150 ihspeq 1. @151 ihmob 1. @152 ihmobyr 1. @153 probrx 1. @154 learnd 1. @155 cmhagm15 1. @156 cmhagf15 1. @157 cmhagm25 1. @158 cmhagf25 1. @159 cmhagm35 1. @160 cmhagf35 1. @161 mhiboy2 2. @163 mhigrl2 2. @165 mhiboy4 2. @167 mhigrl4 2. @169 mhiboy12 2. @171 mhigrl12 2. @173 cusualpl 1. @174 cplkind 1. @175 chcplrou 1. @176 chcplknd 1. @177 sourcelc 2. @179 chcchgyr 1. @180 chcchghi 1. @181 chcdlyr1 1. @182 chcdlyr2 1. @183 chcdlyr3 1. @184 chcdlyr4 1. @185 chcdlyr5 1. @186 chcafyr 1. @187 chcafyr1 1. @188 chcafyr2 1. @189 chcafyr3 1. @190 chcafyr4 1. @191 cdnlongr 1. @192 chcsyr11 1. @193 chcsyr12 1. @194 chcsyr13 1. @195 chcsyr14 1. @196 chcsyr1 1. @197 chcsyr2 1. @198 chcsyr3 1. @199 chcsyr4 1. @200 chcsyr5 1. @201 chcsyr6 1. @202 chcsyr7 1. @203 chcsyr81 1. @204 chcsyr82 1. @205 chcsyr10 1. @206 chpxyr_c 1. @207 chernoy2 2. @209 chchyr 1. @210 chchmoyr 2. @212 chchnoy2 2. @214 chcnoyr2 2. @216 csrgyr 1. @217 csrgnoyr 2. @219 cmdlongr 1. ; /*------------------------------------------------ The PROC FORMAT statement will store the formats in a sas data set called fsamc00 To use the stored formats in a subsequent program, use code like the following: proc format cntlin=library.fsamc00; PROC freq; tables pesex ; format pesex P135L.; For more information, consult PROC FORMAT in the SAS Procedures Guide ----------------------------------------------- */ PROC FORMAT cntlout=library.fsamc00; ; VALUE rectype (default=32) 40 = "Sample Child (SC)" ; VALUE srvy_yr (default=32) 2000 = "2000" ; 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_i (default=32) 1 = "Yes" 2 = "No" ; VALUE origimpt (default=32) 1 = "Imputed 'refused' Hispanic Origin response" 2 = "Imputed 'not ascertained' Hispanic Origin" 3 = "Imputed 'does not know' Hispanic Origin" 4 = "Hispanic origin given by respondent/proxy" ; VALUE hispan_i (default=32) 00 = "Multiple Hispanic" 01 = "Puerto Rican" 02 = "Mexican" 03 = "Mexican-American" 04 = "Cuban/Cuban American" 05 = "Dominican (Republic)" 06 = "Central or South American" 07 = "Other Latin American; type not specified" 08 = "Other Spanish" 09 = "Hispanic/Latino/Spanish; non-specific type" 10 = "Hispanic/Latino/Spanish; type refused" 11 = "Hispanic/Latino/Spanish; type not ascertained" 12 = "Not Hispanic/Spanish origin" ; VALUE hispimpt (default=32) 1 = "Imputed 'refused' Hispanic Origin type" 2 = "Imputed 'not ascertained' Hispanic Origin type" 3 = "Imputed 'does not know' Hispanic Origin type" 4 = "Hispanic Origin type given by respondent/proxy" ; VALUE rcdt1p_i (default=32) 01 = "White only" 02 = "Black/African American only" 03 = "AIAN only" 09 = "Asian Indian only" 10 = "Chinese only" 11 = "Filipino only" 15 = "Other Asian only" 16 = "Other race only" 17 = "Multiple detailed race*" ; VALUE rc_smp_i (default=32) 01 = "White only" 02 = "Black/African American only" 03 = "AIAN only*" 04 = "Asian only" 05 = "Other race only" 06 = "Multiple detailed race only" ; VALUE racerp_i (default=32) 01 = "White only" 02 = "Black/African American only" 03 = "AIAN* only" 04 = "Asian only" 05 = "Other race only" 06 = "Multiple race" ; VALUE raceimpt (default=32) 1 = "Imputed 'refused' race response" 2 = "Imputed 'not ascertained' race response" 3 = "Imputed 'does not know' race response" 4 = "Race given by respondent/proxy" ; VALUE mracrp_i (default=32) 01 = "White" 02 = "Black/African American" 03 = "Indian (American); Alaska Native" 09 = "Asian Indian" 10 = "Chinese" 11 = "Filipino" 15 = "Other Asian*" 16 = "Other Race*" 17 = "Multiple Race*" ; VALUE mracbp_i (default=32) 01 = "White" 02 = "Black/African American" 03 = "Indian (American) (includes Eskimo; Aleut)" 06 = "Chinese" 07 = "Filipino" 12 = "Asian Indian" 16 = "Other race" 17 = "Multiple race" ; VALUE racrec_i (default=32) 1 = "White" 2 = "Black" 3 = "Other" ; VALUE hiscod_i (default=32) 1 = "Hispanic" 2 = "Non-Hispanic White" 3 = "Non-Hispanic Black" 4 = "Non-Hispanic Other" ; VALUE erimpflg (default=32) 1 = "Ethnicity/race imputed" 2 = "Ethnicity/race given by respondent/proxy" ; 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" 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) 1 = "$20;000 or more" 2 = "Less than $20;000" 7 = "Refused" 8 = "Not ascertained" 9 = "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 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 cpox12mo (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 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" 6 = "Doesn't go to one place most often" 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 department" 5 = "Some other place" 6 = "Doesn't go to one place most often" 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 chcafyrd (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE cdnlongr (default=32) 0 = "Never" 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 2 years ago" 4 = "More than 2 yrs; but not more than 5 years ago" 5 = "More than 5 years ago" 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 chpxyr_c (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; VALUE chernoyb (default=32) 00 = "None" 01 = "1" 02 = "2-3" 03 = "4-5" 04 = "6-7" 05 = "8-9" 06 = "10-12" 07 = "13-15" 08 = "16 or more" 97 = "Refused" 98 = "Not ascertained" 99 = "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 chchnoyb (default=32) 01 = "1" 02 = "2-3" 03 = "4-5" 04 = "6-7" 05 = "8-9" 06 = "10-12" 07 = "13-15" 08 = "16 or more" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE chcnoyrb (default=32) 00 = "None" 01 = "1" 02 = "2-3" 03 = "4-5" 04 = "6-7" 05 = "8-9" 06 = "10-12" 07 = "13-15" 08 = "16 or more" 97 = "Refused" 98 = "Not ascertained" 99 = "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 cmdlongr (default=32) 0 = "Never" 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 2 years ago" 4 = "More than 2 years; but not more than 5 years ag" 5 = "More than 5 years ago" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; proc print data=library.nhis2000_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_i origin_i. origimpt origimpt. hispan_i hispan_i. hispimpt hispimpt. rcdt1p_i rcdt1p_i. rc_smp_i rc_smp_i. racerp_i racerp_i. raceimpt raceimpt. mracrp_i mracrp_i. mracbp_i mracbp_i. racrec_i racrec_i. hiscod_i hiscod_i. erimpflg erimpflg. 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. 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. cpox12mo cpox12mo. 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. chcafyr4 chcafyrd. cdnlongr cdnlongr. 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. chpxyr_c chpxyr_c. chernoy2 chernoyb. chchyr chchyr. chchmoyr chchmoyr. chchnoy2 chchnoyb. chcnoyr2 chcnoyrb. csrgyr csrgyr. csrgnoyr csrgnoyr. cmdlongr cmdlongr. ; proc contents data=library.nhis2000_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. */