*options obs=100 ; options nocenter ; /*------------------------------------------------ by Jean Roth Mon Jul 2 15:42:28 EDT 2007 This program reads the 1997 National Health Interview Survey 1997 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/1997/samchild.exe "; * The following line should contain the name of the SAS dataset ; %let dataset = nhis1997_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 mother length=$2 label="Mother's person number"; attrib father length=$2 label="Father's person number"; attrib parents length=3 label="Parent(s) present in the family"; 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 educ length=3 label="Highest level of school completed"; attrib edu_momr length=3 label="Education of Mother - Recode"; attrib edu_dadr length=3 label="Education of Father - Recode"; attrib ab_bl20k length=3 label=""; attrib rat_cat length=3 label="Ratio of fam inc to poverty threshold"; attrib fm_size length=3 label="Size of family"; 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 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, age <3"; 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 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 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 - - is usually taken when sick"; attrib cplkind length=3 label="Place to go when sick (most often)"; attrib chcplrou length=3 label="USUALLY go there 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 therapist (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"; attrib earinf2 length=3 label="Had 3+ ear infections past 12m, age 3-17"; INPUT @1 rectype 2. @3 srvy_yr 4. @7 hhx $6. @13 fmx $2. @15 px $2. @17 csrespno $2. @19 mother $2. @21 father $2. @23 parents 1. @24 intv_qrt 1. @25 sex 1. @26 age_p 2. @28 r_age1 1. @29 r_age2 1. @30 origin 1. @31 hispan_p 2. @33 mrace_p 2. @35 racerec 1. @36 race 1. @37 educ 2. @39 edu_momr 2. @41 edu_dadr 2. @43 ab_bl20k 2. @45 rat_cat 2. @47 fm_size 2. @49 region 1. @50 msasizep 1. @51 wtia_sc 6. @57 wtfa_sc 6. @63 stratum 3. @66 psu 1. @67 bwgtlb 2. @69 bwgtoz 2. @71 amr1 1. @72 aodd1 1. @73 add2 1. @74 amr2 1. @75 aodd2 1. @76 condl1 1. @77 condl2 1. @78 condl3 1. @79 condl4 1. @80 condl5 1. @81 condl6 1. @82 condl7 1. @83 condl8 1. @84 condl9 1. @85 condl10 1. @86 cpox 1. @87 cashmev 1. @88 cashyr 1. @89 casmeryr 1. @90 hayf1 1. @91 rallg1 1. @92 dallg1 1. @93 sallg1 1. @94 diarh1 1. @95 anemia1 1. @96 earinf1 1. @97 seize1 1. @98 hayf2 1. @99 rallg2 1. @100 dallg2 1. @101 sallg2 1. @102 diarh2 1. @103 anemia2 1. @104 fhead 1. @105 seize2 1. @106 stutter 1. @107 chstatyr 1. @108 schdayr1 3. @111 chearst 1. @112 cvision 1. @113 cblind 1. @114 ihspeq 1. @115 ihmob 1. @116 ihmobyr 1. @117 probrx 1. @118 learnd 1. @119 cmhagm15 1. @120 cmhagf15 1. @121 cmhagm25 1. @122 cmhagf25 1. @123 cmhagm35 1. @124 cmhagf35 1. @125 mhiboy2 2. @127 mhigrl2 2. @129 mhiboy4 2. @131 mhigrl4 2. @133 mhiboy12 2. @135 mhigrl12 2. @137 cusualpl 1. @138 cplkind 1. @139 chcplrou 1. @140 chcplknd 1. @141 sourcelc 2. @143 chcchgyr 1. @144 chcchghi 1. @145 chcdlyr1 1. @146 chcdlyr2 1. @147 chcdlyr3 1. @148 chcdlyr4 1. @149 chcdlyr5 1. @150 chcafyr 1. @151 chcafyr1 1. @152 chcafyr2 1. @153 chcafyr3 1. @154 cdenlong 1. @155 chcsyr11 1. @156 chcsyr12 1. @157 chcsyr13 1. @158 chcsyr14 1. @159 chcsyr1 1. @160 chcsyr2 1. @161 chcsyr3 1. @162 chcsyr4 1. @163 chcsyr5 1. @164 chcsyr6 1. @165 chcsyr7 1. @166 chcsyr81 1. @167 chcsyr82 1. @168 chcsyr10 1. @169 chpexyr 1. @170 chernoyr 1. @171 chchyr 1. @172 chchmoyr 2. @174 chchnoyr 1. @175 chcnoyr 1. @176 csrgyr 1. @177 csrgnoyr 2. @179 cmdlong 1. @180 earinf2 1. ; /*------------------------------------------------ The PROC FORMAT statement will store the formats in a sas data set called fsamc97 To use the stored formats in a subsequent program, use code like the following: proc format cntlin=library.fsamc97; PROC freq; tables pesex ; format pesex P135L.; For more information, consult PROC FORMAT in the SAS Procedures Guide ----------------------------------------------- */ PROC FORMAT cntlout=library.fsamc97; ; VALUE rectype (default=32) 40 = "Sample Child (SC)" ; VALUE srvy_yr (default=32) 1997 = "1997" ; VALUE $csrespn (default=32) ""99"" = "Unknown" ; VALUE $mother (default=32) ""00"" = "No mother in the family" ""96"" = "No parent in household; has legal guardian" ""97"" = "Refused" ""98"" = "Not ascertained" ""99"" = "Don't know" ; VALUE $father (default=32) ""00"" = "No father in the family" ""96"" = "No parent in household; has legal guardian" ""97"" = "Refused" ""98"" = "Not ascertained" ""99"" = "Don't know" ; VALUE parents (default=32) 1 = "Mother; no father" 2 = "Father; no mother" 3 = "Mother and father" 4 = "Neither mother nor father" 8 = "Not ascertained" ; 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 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 edu_momr (default=32) 01 = "Less/equal to 8th grade" 02 = "9-12th grade; no high school diploma" 03 = "High school graduate" 04 = "GED recipient" 05 = "Some college; no degree" 06 = "AA degree; technical or vocational" 07 = "AA degree; academic program" 08 = "Bachelor's degree (BA; BS; AB; BBA)" 09 = "Master's; professional; or doctoral degree" 95 = "No mother present in household" 96 = "Unk if mom in hh or has legal guardian" 97 = "Refused" 98 = "Not ascertained" 99 = "Don't know" ; VALUE edu_dadr (default=32) 01 = "Less/equal to 8th grade" 02 = "9-12th grade; no high school diploma" 03 = "High school graduate" 04 = "GED recipient" 05 = "Some college; no degree" 06 = "AA degree; technical or vocational" 07 = "AA degree; academic program" 08 = "Bachelor's degree (BA; BS; AB; BBA)" 09 = "Master's; professional; or doctoral degree" 95 = "No father present in household" 96 = "Unk if dad in hh or has legal guardian" 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 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 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 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 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 or 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" ; VALUE earinf2l (default=32) 1 = "Yes" 2 = "No" 7 = "Refused" 8 = "Not ascertained" 9 = "Don't know" ; proc print data=library.nhis1997_samchild (obs=6); FORMAT rectype rectype. srvy_yr srvy_yr. csrespno $csrespn. mother $mother. father $father. parents parents. 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. educ educ. edu_momr edu_momr. edu_dadr edu_dadr. ab_bl20k ab_bl20k. rat_cat rat_cat. region region. msasizep msasizep. bwgtlb bwgtlb. bwgtoz bwgtoz. 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. seize2 seize2l. stutter stutter. chstatyr chstatyr. schdayr1 schdayra. 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. earinf2 earinf2l. ; proc contents data=library.nhis1997_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. */