*This program reads the 1995 NCHS Natality Detail Data File *Note: This program is distributed under the GNU GPL. See end of *this file and http://www.gnu.org/licenses/ for details. *by Jean Roth Tue Jun 24 09:49:43 EDT 2014 *Please report errors to jroth@nber.org *Change output file name/location as desired. *Change the input file location as needed. *If you have trouble running this program, *then try opening a new syntax file & type this command: *INCLUDE "c:\natl1995.sps". *and choose to RUN ALL file handle natl1995 /name="c:\homes\data\natality\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\DVS\natality\Nat1995us.dat" . data list file=natl1995 / datayear 1-4 rectype 5 restatus 6 recwt 7 pldel 8 pldel3 9 birattnd 10 regnocc 11 divocc 12 stsubocc 12-13 stnatexp 14-15 (a) statenat 16-17 (a) cntynat 16-20 (a) stoccfip 21-22 (a) cntocfip 21-25 (a) cntocpop 26-26 (a) regnres 27 divres 28 stsubres 28-29 stresexp 30-31 (a) stateres 32-33 (a) cntyres 32-36 (a) cityres 37-39 (a) citrspop 40-40 (a) metrores 41-41 (a) stresfip 42-43 (a) cntyrfip 42-46 (a) placefip 47-51 (a) cmsa 52-53 (a) smsarfip 54-57 (a) cntrspop 58-58 (a) magerflg 68 mageimp 69-69 (a) dmage 70-71 mage36 72-73 mage12 74-75 mage8 76 ormoth 77 orracem 78 mraceimp 79-79 (a) mrace 80-81 mrace3 82 dmeduc 83-84 meduc6 85 dmarimp 86-86 (a) dmar 87 mplbir 88-89 mplbirr 90 dmagerpt 91-92 adequacy 93 nlbnl 94-95 nlbnd 96-97 noterm 98-99 dlivord 100-101 livord9 102 dtotord 103-104 totord9 105 monpre 106-107 mpre6 108 mpre5 109 nprevis 110-111 nprev12 112-113 lmpmon 114-115 lmpday 116-117 lmpyr 118-121 flgbwimp 133-133 (a) bwimp 134-137 fagerflg 153 dfage 154-155 fage11 156-157 orfath 158 orracef 159 frace 160-161 frace4 162 dfagerpt 166-167 fraceimp 168 cdobmimp 170 birmon 172-173 biryr 176-179 weekday 180 gestestm 181 gestimp 182 dgestat 183-184 gestat10 185-186 gestat3 187 cseximp 188 csex 189 dbirwt 193-196 birwt12 197-198 birwt4 199 plurimp 200 dplural 201 fmaps 205-206 fmapsr 207 clingest 208-209 vaginal 217 vbac 218 primac 219 repeac 220 forcep 221 vacuum 222 delmeth5 224 anemia 225 cardiac 226 lung 227 diabetes 228 herpes 229 hydra 230 hemo 231 chyper 232 phyper 233 eclamp 234 incervix 235 pre4000 236 preterm 237 renal 238 rh 239 uterine 240 othermr 241 tobacco 242 cigar 243-244 cigar6 245 alcohol 246 drink 247-248 drink5 249 wtgain 250-251 wtgain9 252 amnio 253 monitor 254 induct 255 stimula 256 tocol 257 ultras 258 otherob 259 febrile 260 meconium 261 rupture 262 abruptio 263 preplace 264 excebld 265 seizure 266 precip 267 prolong 268 dysfunc 269 breech 270 cephalo 271 cord 272 anesthe 273 distress 274 otherlb 275 nanemia 276 injury 277 alcosyn 278 hyaline 279 meconsyn 280 venl30 281 ven30m 282 nseiz 283 otherab 284 anen 285 spina 286 hydro 287 microce 288 nervous 289 heart 290 circul 291 rectal 292 tracheo 293 omphalo 294 gastro 295 genital 296 renalage 297 urogen 298 cleftlp 299 adactyly 300 clubfoot 301 hernia 302 musculo 303 downs 304 chromo 305 othercon 306 origm 307 origf 308 educm 309 educf 310 geste 311 fmapsrf 313 delmetrf 314 medrsk 315 tobuse 316 alcuse 317 wtgn 318 obstrc 319 clabor 320 abnml 321 congan 322 educsmsa 324 apiflag 325 smsares 347-349 (a) popsmas 350-350 (a) . * See the codebook for more detailed variable descriptions. variable labels datayear "Data year" rectype "Record type" restatus "Resident status" recwt "Record Weight" pldel "Place or Facility of Birth" pldel3 "Place or Facility of Birth Recode" birattnd "Attendant at birth" regnocc "Region of Occurrence" divocc "Division of occurrence" stsubocc "State Subcode of occurrence" stnatexp "Expanded State of Occurrence" statenat "NCHS State of Occurence" cntynat "NCHS County of Occurence" stoccfip "State of Occurrence (FIPS)" cntocfip "County of Occurrence (FIPS)" cntocpop "Population Size of County of Occurrence" regnres "Region of Residence" divres "Division of residence" stsubres "State Subcode of Residence" stresexp "Expanded State of Residence" stateres "NCHS State of Residence" cntyres "NCHS County of Residence" cityres "NCHS City of Residence" citrspop "Population size - place of residence" metrores "Met/Nonmet county of residence" stresfip "State of Residence (FIPS)" cntyrfip "County of Residence (FIPS)" placefip "Place (City) of Resdience (FIPS)" cmsa "CMSA of Residence (FIPS)" smsarfip "FIPS SMSA of Residence" cntrspop "Population Size of County of Residence" magerflg "Reported Age of Mother Used Flag" mageimp "Age of Mother Imputation Flag" dmage "Age of Mother" mage36 "Age of Mother recode 36" mage12 "Age of Mother recode 12" mage8 "Age of Mother recode 8" ormoth "Hispanic Origin of Mother" orracem "Hispanic Origin and Race of Mother Recode" mraceimp "Race of Mother Imputation Flag" mrace "Race of Mother" mrace3 "Race of Mother Recode" dmeduc "Education of Mother" meduc6 "Education of Mother Recode" dmarimp "Marital Status of Mother Imputation Flag" dmar "Marital Status of Mother" mplbir "Place of Birth of Mother" mplbirr "Place of Birth of Mother Recode" dmagerpt "Reported Age of Mother" adequacy "Adequacy of Care Recode (Kessner Index)" nlbnl "Number of Live Births Now Living" nlbnd "Number of Live Births Now Dead" noterm "Number of Other Terminations" dlivord "Detail Live Birth Order" livord9 "Live Birth Order Recode" dtotord "Detail Total Birth Order" totord9 "Total Birth Order Recode" monpre "Detail Month of Pregnancy Prenatal Care Began" mpre6 "Month Prenatal Care Began Recode 6" mpre5 "Month Prenatal Care Began Recode 5" nprevis "Total Number of Prenatal Visits" nprev12 "Number of Prenatal Visits Recode" lmpmon "Month Last Normal Menses Began" lmpday "Day Last Normal Menses Began" lmpyr "Year Last Normal Menses Began" flgbwimp "Imputed Birthweight Flag" bwimp "Imputed Birthweight" fagerflg "Reported Age of Father Used Flag" dfage "Age of Father" fage11 "Age of Father Recode" orfath "Hispanic Origin of Father" orracef "Hispanic Origin and Race of Father Recode" frace "Race of Father" frace4 "Race of Father Recode" dfagerpt "Reported Age of Father" fraceimp "Race of Father Imputation Flag" cdobmimp "Month of Birth of Child Imputation Flag" birmon "Month of Birth" biryr "Year of Birth" weekday "Day of Week Child Born" gestestm "Clinical Estimate of Gestation Flag" gestimp "Gestation Imputation Flag" dgestat "Gestation - Detail in Weeks" gestat10 "Gestation Recode 10" gestat3 "Gestation Recode 3" cseximp "Sex Imputation Flag" csex "Sex" dbirwt "Birthweight" birwt12 "Birthweight Recode 12" birwt4 "Birthweight Recode 4" plurimp "Plurality Imputation Flag" dplural "Plurality" fmaps "Five Minute Apgar Score" fmapsr "Five Minute Apgar Score Recode" clingest "Clinical Estimate of Gestation" vaginal "Vaginal" vbac "Vaginal Birth after previous C-section" primac "Primary C-section" repeac "Repeat C-section" forcep "Forceps" vacuum "Vacuum" delmeth5 "Method of Delivery Recode" anemia "Anemia" cardiac "Cardiac disease" lung "Acute or chronic lung disease" diabetes "Diabetes" herpes "Herpes" hydra "Hydramnios/Oligohydramnios" hemo "Hemoglobinopathy" chyper "Hypertension - chronic" phyper "Hypertension - pregnancy associated" eclamp "Eclampsia" incervix "Incompetent cervix" pre4000 "Previous infant 4000+ grams" preterm "Previous preterm or small-for-gestational-age infant" renal "Renal disease" rh "Rh sensitization" uterine "Uterine bleeding" othermr "Other Medical Risk Factors" tobacco "Tobacco Use During Pregnancy" cigar "Average Number of Cigarettes Per Day" cigar6 "Average Number of Cigarettes Per Day Recode" alcohol "Alcohol Use During Pregnancy" drink "Average Number of Drinks Per Week" drink5 "Average Number of Drinks Per Week Recode" wtgain "Weight Gain" wtgain9 "Weight Gain Recode" amnio "Amniocentesis" monitor "Electronic fetal monitoring" induct "Induction of labor" stimula "Stimulation of labor" tocol "Tocolysis" ultras "Ultrasound" otherob "Other Obstetric Procedures" febrile "Febrile" meconium "Meconium - moderate/heavy" rupture "Premature rupture of membrane" abruptio "Abruptio placenta" preplace "Placenta previa" excebld "Other excessive bleeding" seizure "Seizures during labor" precip "Precipitous labor" prolong "Prolonged labor" dysfunc "Dysfunctional labor" breech "Breech/Malpresentation" cephalo "Cephalopelvic disproportion" cord "Cord prolapse" anesthe "Anesthetic complications" distress "Fetal distress" otherlb "Other complication of Labor and/or Delivery" nanemia "Anemia" injury "Injury" alcosyn "Fetal Alcohol Syndrome" hyaline "Hyaline membrane disease" meconsyn "Meconium aspiration syndrome" venl30 "Assisted ventilation - less than 30 minutes" ven30m "Assisted ventilation - 30 minutes or more" nseiz "Seizures" otherab "Other Abnormal Conditions of the Newborn" anen "Anencephalus" spina "Spina bifida/Meningocele" hydro "Hydrocephalus" microce "Microcephalus" nervous "Other central nervous system anomalies" heart "Heart malformations" circul "Other circulatory/respiratory anomalies" rectal "Rectal atresia/stenosis" tracheo "Tracheo - esophageal fistula/Esophageal atresia" omphalo "Omphalocele/Gastroschisis" gastro "Other gastrointestinal anomalies" genital "Malformed genitalia" renalage "Renal agenesis" urogen "Other urogenital anomalies" cleftlp "Cleft lip/palate" adactyly "Polydactyly/Syndactyly/Adactyly" clubfoot "Club foot" hernia "Diaphragmatic hernia" musculo "Other musculoskeletal/integumental anomalies" downs "Down's syndrome" chromo "Other chromosomal anomalies" othercon "Other congenital anomalies" origm "Origin of mother" origf "Origin of father" educm "Education of mother" educf "Education of father" geste "Clinical estimate of gestation" fmapsrf "5-minute Apgar score" delmetrf "Method of delivery" medrsk "Medical risk factors" tobuse "Tobacco use" alcuse "Alcohol use" wtgn "Weight gain" obstrc "Obstetric procedures" clabor "Complications of labor and/or delivery" abnml "Abnormal conditions of newborn" congan "Congenital anomalies" educsmsa "Education of Mother (Based on MSA)" apiflag "Race codes 18-68 reported (beginning with 1992 data)" smsares "PSMA/MSA of Residence (NCHS)" popsmas "PMSA/MSA Population Size" . list. execute. save outfile = 'c:\natl1995.sav'. *Copyright 2014 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.