*This program reads the 2004 *U.S. Denominator Linked Birth Infant Death Birth Period Data 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 Fri Mar 14 03:34:54 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:\linkpe2004usden.sps". *and choose to RUN ALL file handle linkpe2004usden /name="c:\homes\data\linkpe\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\DVS\periodlinkedus\LinkPE04USDen.dat.dat" . data list file=linkpe2004usden / revision 7-7 (a) laterec 9 idnumber 10-14 dob_yy 15-18 dob_mm 19-20 dob_wk 29 ostate 30-31 (a) xostate 32-33 (a) ocntyfips 37-39 ocntypop 40 ubfacil 42 bfacil3 59 mage_impflg 87 mage_repflg 88 mager41 89-90 mager14 91-92 mager9 93 umbstate 96-97 (a) mbstate_rec 100 xmrstate 107-108 (a) mrstatefips 109-110 (a) mrcntyfips 114-116 mrcityfips 120-124 rcnty_pop 132-132 (a) rcity_pop 133-133 (a) citylim 134-134 (a) metrores 135-135 (a) rectype 137 restatus 138 mbrace 139-140 mrace 141-142 mracerec 143 mraceimp 144-144 (a) umhisp 148 mracehisp 149 mar 153 mar_imp 154 meduc 155 umeduc 156-157 meduc_rec 158 fagerpt_flg 175 fagerpt 176-177 fagecomb 182-183 ufagecomb 184-185 fagerec11 186-187 fbrace 188-189 fracerec 191 ufhisp 195 fracehisp 196 frace 199-200 priorlive 204-205 priordead 206-207 priorterm 208-209 lbo 210-211 lbo_rec 212 tbo 215-216 tbo_rec 217 precare 245-246 precare_rec 247 mpcb 256-257 mpcb_rec6 258 mpcb_rec5 259 uprevis 270-271 previs_rec 272-273 apncu 275 wtgain 276-277 wtgain_rec 278 u_apncu 279 dfpc_imp 280 cig_1 284-285 cig_2 286-287 cig_3 288-289 tobuse 290 cigs 291-292 cig_rec6 293 cig_rec 294-294 (a) alcohol 295 drinks 296-297 drinks_rec 298 urf_anemia 328 urf_card 329 urf_lung 330 urf_diab 331 urf_gen 332 urf_hydra 333 urf_hemo 334 urf_chyper 335 urf_phyper 336 urf_eclam 337 urf_incerv 338 urf_pre4000 339 urf_preterm 340 urf_renal 341 urf_rh 342 urf_uterine 343 urf_other 344 uop_amnio 355 uop_monit 356 uop_induc 357 uop_stiml 358 uop_tocol 359 uop_ultra 360 uop_other 361 uld_febr 374 uld_meco 375 uld_ruptr 376 uld_abrup 377 uld_prepla 378 uld_excbl 379 uld_seiz 380 uld_precip 381 uld_prolg 382 uld_dysfn 383 uld_breech 384 uld_cephal 385 uld_cord 386 uld_anest 387 uld_distr 388 uld_other 389 ume_vag 395 ume_vbac 396 ume_primc 397 ume_repec 398 ume_forcp 399 ume_vac 400 dmeth_rec 401 attend 408 apgar5 415-416 apgar5r 417 dplural 423 imp_plur 425 sex 436-436 (a) imp_sex 437 dlmp_mm 438-439 dlmp_dd 440-441 dlmp_yy 442-445 estgest 446-447 combgest 451-452 gestrec10 453-454 gestrec3 455 obgest_flg 456 gest_imp 457 dbwt 467-470 bwtr14 471-472 bwtr4 473 bwtimp 475 uab_anem 483 uab_injury 484 uab_alcoh 485 uab_hyal 486 uab_mecon 487 uab_venl30 488 uab_ven30m 489 uab_nseiz 490 uab_other 491 uca_anen 504 uca_spina 505 uca_hydro 506 uca_micro 507 uca_nerv 508 uca_heart 509 uca_circ 510 uca_rectal 511 uca_trach 512 uca_ompha 513 uca_gastro 514 uca_genital 515 uca_renal 516 uca_urogen 517 uca_cleftlp 518 uca_adactyly 519 uca_clubft 520 uca_hernia 521 uca_muscu 522 uca_downs 523 uca_chromo 524 uca_other 525 f_morigin 569 f_forigin 570 f_meduc 571 f_clinest 573 f_apgar5 574 f_tobaco 575 f_med 647 f_wtgain 648 f_alcol 649 f_api 650 f_tobac 667 f_mpcb 668 f_mpcb_u 669 f_urf_anemia 681 f_urf_cardiac 682 f_urf_lung 683 f_urf_diabetes 684 f_urf_herpes 685 f_urf_hydra 686 f_urf_hemo 687 f_urf_chyper 688 f_urf_phyper 689 f_urf_eclamp 690 f_urf_incervix 691 f_urf_pre4000 692 f_urf_preterm 693 f_urf_renal 694 f_urf_rh 695 f_urf_uterine 696 f_urf_other 697 f_uob_amnio 701 f_uob_monitor 702 f_uob_induct 703 f_uob_stimul 704 f_uob_tocol 705 f_uob_ultras 706 f_uob_otherob 707 f_uld_febrile 711 f_uld_meconium 712 f_uld_rupture 713 f_uld_abruptio 714 f_uld_preplace 715 f_uld_excebld 716 f_uld_seizure 717 f_uld_precip 718 f_uld_prolong 719 f_uld_dysfunc 720 f_uld_breech 721 f_uld_cephalo 722 f_uld_cord 723 f_uld_anesthe 724 f_uld_distress 725 f_uld_otherld 726 f_u_vaginal 730 f_u_vbac 731 f_u_primac 732 f_u_repeac 733 f_u_forcep 734 f_u_vacuum 735 f_uab_anemia 740 f_uab_injury 741 f_uab_alcosyn 742 f_uab_hyaline 743 f_uab_mecosyn 744 f_uab_venl30 745 f_uab_ven30m 746 f_uab_nseiz 747 f_uab_otherab 748 f_uca_anen 752 f_uca_spina 753 f_uca_hydro 754 f_uca_microce 755 f_uca_nervous 756 f_uca_heart 757 f_uca_circul 758 f_uca_rectal 759 f_uca_tracheo 760 f_uca_omphalo 761 f_uca_gastro 762 f_uca_genital 763 f_uca_renalag 764 f_uca_urogen 765 f_uca_cleftlp 766 f_uca_adactyl 767 f_uca_club 768 f_uca_hernia 769 f_uca_musculo 770 f_uca_downs 771 f_uca_chromo 772 f_uca_othrcon 773 mrace1e 800-802 (a) mrace2e 803-805 (a) mrace3e 806-808 (a) mrace4e 809-811 (a) mrace5e 812-814 (a) mrace6e 815-817 (a) mrace7e 818-820 (a) mrace8e 821-823 (a) frace1e 835-837 (a) frace2e 838-840 (a) frace3e 841-843 (a) frace4e 844-846 (a) frace5e 847-849 (a) frace6e 850-852 (a) frace7e 853-855 (a) frace8e 856-858 (a) matchs 868 . * See the codebook for more detailed variable descriptions. variable labels revision "Revision U;R" laterec "Late Record Flag U;R" idnumber "Infant Death Number in numerator and denominator-plus" dob_yy "Birth Year U;R" dob_mm "Birth Month U;R" dob_wk "Birth Weekday U;R" ostate "Occurrence State U;R" xostate "Expanded Occurrence State U;R" ocntyfips "Occurrence FIPS County U;R" ocntypop "Occurence County Population U;R" ubfacil "Birth Place U;R" bfacil3 "Birth Place Recode U;R" mage_impflg "Mother's Age Imputated Flag U;R" mage_repflg "Reported Age of Mother Flag U;R" mager41 "Mother's Age Recode 41 U;R" mager14 "Mother's Age Recode 14 U;R" mager9 "Mother's Age Recode 9 U;R" umbstate "Mother's Birth State U;R" mbstate_rec "Mother's Birth State Recode U;R" xmrstate "Expanded State of Residence of Mother U;R" mrstatefips "Mother's Residence State U;R" mrcntyfips "Mother's FIPS County of Residence (FIPS) U;R" mrcityfips "Mother's Place of Residence (FIPS) U;R" rcnty_pop "Population of Residence County U;R" rcity_pop "Population of Residence City U;R" citylim "Inside City Limits" metrores "Metropolitan Residence County U;R" rectype "Record Type U;R" restatus "Resident Status U;R" mbrace "Mother's Bridged Race U;R" mrace "Mother's Race U" mracerec "Mother's Race Recode U;R" mraceimp "Mother's Race Imputed Flag U;R" umhisp "Mother's Hispanic Origin U;R (f_morigin rep flag)" mracehisp "Mother's Race/Hispanic Origin U;R (f_morigin rep flag)" mar "Mother's Marital Status U;R (652 rep flag ?)" mar_imp "Mother's Marital Status Imputed Flag U;R" meduc "Mother's Education R (f_meduc rep flag)" umeduc "Mother's Education U (f_med rep flag)" meduc_rec "Mother's Education Recode U (f_med rep flag)" fagerpt_flg "Father's Reported Age Used U;R" fagerpt "Father's Reported Age U;R" fagecomb "Father's Combined Age (Revised) R" ufagecomb "Father's Combined Age U" fagerec11 "Father's Age Recode 11 U;R" fbrace "Father's Bridged Race U;R" fracerec "Father's Race Recode U;R" ufhisp "Father's Hispanic Origin U;R (f_forigin rep flag)" fracehisp "Father's Race/Hispanic Origin U;R (f_forigin rep flag)" frace "Father's Race U" priorlive "Prior Births Now Living U;R" priordead "Prior Births Now Dead U;R" priorterm "Prior Other Terminations U;R" lbo "Live Birth Order U;R" lbo_rec "Live Birth Order Recode U;R" tbo "Total Birth Order U;R" tbo_rec "Total Birth Order Recode U;R" precare "Month Prenatal Care Began R (f_mpcb rep flag)" precare_rec "Month Prenatal Care Began Recode R (f_mpcb rep flag)" mpcb "Month Prenatal Care Began U (f_mpcb_u rep flag)" mpcb_rec6 "Month Prenatal Care Began Recode 6 U (f_mpcb_u rep flag)" mpcb_rec5 "Month Prenatal Care Began Recode 5 U (f_mpcb_u rep flag)" uprevis "Number of Prenatal Visits U;R" previs_rec "Number of Prenatal Visits Recode U;R" apncu "APNCU/Kotelchuck Index U;R" wtgain "Weight Gain U;R (f_wtgain rep flag)" wtgain_rec "Weight Gain Recode U;R (f_wtgain rep flag)" u_apncu "Adequacy of Prenatal Care Utilization Index (f_mpcb_u rep flag)" dfpc_imp "Day of Date First Prenatal Care Imputed R" cig_1 "Cigarettes 1st Trimester R" cig_2 "Cigarettes 2nd Trimester R" cig_3 "Cigarettes 3rd Trimester R" tobuse "Tobacco Use U (f_tobac rep flag)" cigs "Cigarettes Per Day U" cig_rec6 "Cigarettes Recode U" cig_rec "Cigarettes Recode R" alcohol "Alcohol Use U (f_alcol rep flag)" drinks "Drinks Per Week U (f_alcol rep flag)" drinks_rec "Drinks Recode U (f_alcol rep flag)" urf_anemia "Anemia U" urf_card "Cardiac U" urf_lung "Acute or Chronic Lung Disease U" urf_diab "Diabetes U;R" urf_gen "Genital Herpes U" urf_hydra "Hydramnios/Oligohydramnios U" urf_hemo "Hemoglobinopathy U" urf_chyper "Chronic Hypertension U;R" urf_phyper "Pregnancy Associated Hypertension U;R" urf_eclam "Eclampsia U;R" urf_incerv "Incompetent cervix U" urf_pre4000 "Previous infant 4000+ Grams U" urf_preterm "Previous Preterm or Small for Gestation U" urf_renal "Renal disease U" urf_rh "Rh sensitization U" urf_uterine "Uterine bleeding U" urf_other "Other Medical Risk Factors U" uop_amnio "Amniocentesis U" uop_monit "Electronic Fetal Monitoring U" uop_induc "Induction of labor U;R" uop_stiml "Stimulation of labor U" uop_tocol "Tocolysis U;R" uop_ultra "Ultrasound U" uop_other "Other Obstetric Procedures U" uld_febr "Febrile U" uld_meco "Meconium U;R" uld_ruptr "Premature Rupture of Membrane U" uld_abrup "Abruptio placenta U" uld_prepla "Placenta previa U" uld_excbl "Other Excessive Bleeding U" uld_seiz "Seizures During Labor U" uld_precip "Precipitous labor U;R" uld_prolg "Prolonged Labor U" uld_dysfn "Dysfunctional Labor U" uld_breech "Breech U;R" uld_cephal "Cephalopelvic Disproportion U" uld_cord "Cord Prolapse U" uld_anest "Anesthetic Complications U" uld_distr "Fetal Distress U" uld_other "Other Complications U" ume_vag "Vaginal U;R" ume_vbac "Vaginal after C-Section U;R" ume_primc "Primary C-Section U;R" ume_repec "Repeat C-Section U;R" ume_forcp "Forceps U;R" ume_vac "Vacuum U;R" dmeth_rec "Delivery Method Recode U;R" attend "Attendant U;R" apgar5 "Five Minute Apgar Score U;R (f_apgar5 rep flag)" apgar5r "Five Minute Apgar Recode U;R (f_apgar5 rep flag)" dplural "Plurality U;R" imp_plur "Plurality Imputed U;R" sex "Sex of Infant U;R" imp_sex "Imputed Sex" dlmp_mm "Last Normal Menses - Month U;R" dlmp_dd "Last Normal Menses - Day U;R" dlmp_yy "Last Normal Menses - Year U;R" estgest "Obstetric/Clinical Gestation Est. U;R (f_clinest rep flag)" combgest "Gestation - Detail in Weeks U;R" gestrec10 "Gestation Recode 10 U;R" gestrec3 "Gestation Recode 3 U;R" obgest_flg "Clinical Estimate of Gestation Used Flag U;R" gest_imp "Gestation Imputed Flag U;R" dbwt "Birth Weight - Detail in Grams U;R" bwtr14 "Birth Weight Recode 14 U;R" bwtr4 "Birth Weight Recode 4 U;R" bwtimp "Imputed Birthweight Flag U" uab_anem "Anemia U" uab_injury "Birth Injury U" uab_alcoh "Fetal Alcohol Syndrome U" uab_hyal "Hyaline Membrane Disease U" uab_mecon "Meconium Aspiration Syndrome U" uab_venl30 "Assisted Ventilation < 30 min U" uab_ven30m "Assisted Ventilation >= 30 min U" uab_nseiz "Seizures U" uab_other "Other Abnormal Conditions U" uca_anen "Anencephalus U;R" uca_spina "Spina bifida/Meningocele U;R" uca_hydro "Hydrocephalus U" uca_micro "Microcephalus U" uca_nerv "Other Central Nervous System Anomalies U" uca_heart "Heart malformations U" uca_circ "Other Circulatory/Respiratory Anomalies U" uca_rectal "Rectal Atresia/Stenosis U" uca_trach "Tracheo-Esophageal Fistula U" uca_ompha "Omphalocele/Gastroschisis U;R" uca_gastro "Other Gastrointestinal Anomalies U" uca_genital "Malformed Genitalia U" uca_renal "Renal Agenesis U" uca_urogen "Other Urogenital Anomalies U" uca_cleftlp "Cleft Lip/Palate U;R" uca_adactyly "Polydactyly/Syndactyly/Adactyly U" uca_clubft "Club Foot U" uca_hernia "Diaphragmatic Hernia U" uca_muscu "Other Musculoskeletal Anomalies U" uca_downs "Downs Syndrome U;R" uca_chromo "Other Chromosomal Anomalies U" uca_other "Other Congenital Anomalies U" f_morigin "Origin of Mother U;R" f_forigin "Origin of Father U;R" f_meduc "Education of Mother R" f_clinest "Clinical Estimate of Gestation U;R" f_apgar5 "5 - minute Apgar U;R" f_tobaco "Tobacco use R" f_med "Mother's Education U" f_wtgain "Weight gain U;R" f_alcol "Alcohol use U" f_api "API codes U" f_tobac "Tobacco use U" f_mpcb "Month Prenatal Care Began R" f_mpcb_u "Month Prenatal Care Began U" f_urf_anemia "Anemia U" f_urf_cardiac "Cardiac Disease U" f_urf_lung "Acute or Chronic Lung Disease U" f_urf_diabetes "Diabetes U" f_urf_herpes "Genital Herpes U" f_urf_hydra "Hydramnios/Oligohydramnios U" f_urf_hemo "Hemoglobinopathy U" f_urf_chyper "Chronic Hypertension U" f_urf_phyper "Pregnancy-Associated Hypertension U" f_urf_eclamp "Eclampsia U" f_urf_incervix "Incompetent Cervix U" f_urf_pre4000 "Previous Infant 4000+ Grams U" f_urf_preterm "Previous Preterm of Small for Gestation Infant U" f_urf_renal "Renal Disease U" f_urf_rh "Rh Sensitization U" f_urf_uterine "Uterine Bleeding U" f_urf_other "Other Medical Risk Factors U" f_uob_amnio "Amniocentesis U" f_uob_monitor "Electronic Fetal Monitoring U" f_uob_induct "Induction of Labor U" f_uob_stimul "Stimulation of Labor U" f_uob_tocol "Tocolysis U" f_uob_ultras "Ultrasound U" f_uob_otherob "Other Obstetric Procedures U" f_uld_febrile "Febrile U" f_uld_meconium "Meconium U" f_uld_rupture "Premature Rupture of Membrane U" f_uld_abruptio "Abruptio Placenta U" f_uld_preplace "Placenta Previa U" f_uld_excebld "Other Excessive Bleeding U" f_uld_seizure "Seizures During Labor U" f_uld_precip "Precipitous Labor U" f_uld_prolong "Prolonged Labor U" f_uld_dysfunc "Dysfunctional Labor U" f_uld_breech "Breech U" f_uld_cephalo "Cephalopelvic Disproportion U" f_uld_cord "Cord Prolapse U" f_uld_anesthe "Anesthetic Complications U" f_uld_distress "Fetal Distress U" f_uld_otherld "Other Complications U" f_u_vaginal "Vaginal U" f_u_vbac "Vaginal After C-Section U" f_u_primac "Primary C-Section U" f_u_repeac "Repeat C-Section U" f_u_forcep "Forceps U" f_u_vacuum "Vacuum U" f_uab_anemia "Anemia U" f_uab_injury "Birth Injury U" f_uab_alcosyn "Fetal Alcohol Syndrome U" f_uab_hyaline "Hyaline Membrane Disease U" f_uab_mecosyn "Meconium Aspiration Syndrome U" f_uab_venl30 "Assisted Ventilation <30 min U" f_uab_ven30m "Assisted Ventilation >=30 min U" f_uab_nseiz "Seizures U" f_uab_otherab "Other Abnormal Conditions U" f_uca_anen "Anencephalus U" f_uca_spina "Spina Bifida U" f_uca_hydro "Hydrocephalus U" f_uca_microce "Microcephalus U" f_uca_nervous "Other Central Nervous System Anomalies U" f_uca_heart "Heart Malformations U" f_uca_circul "Other Circulatory/Respiratory Anomalies U" f_uca_rectal "Rectal Atresia/Stenosis U" f_uca_tracheo "Tracheo-Esophagael Fistula U" f_uca_omphalo "Omphalocele/Gastrochisis U" f_uca_gastro "Other Gastrointestinal Anomalies U" f_uca_genital "Malformed Genitalia U" f_uca_renalag "Renal Agenesis U" f_uca_urogen "Other Urogenital Anomalies U" f_uca_cleftlp "Cleft Lip/Palate U" f_uca_adactyl "Polydactyly/Syndactyly/Adactyly U" f_uca_club "Club Foot U" f_uca_hernia "Diaphramatic Hernia U" f_uca_musculo "Other Musculoskeletal Anomalies U" f_uca_downs "Downs Syndrome U" f_uca_chromo "Other Chromosomal Anomalies U" f_uca_othrcon "Other Congenital Anomalies U" mrace1e "Mother's Race Edited 1 R" mrace2e "Mother's Race Edited 2 R" mrace3e "Mother's Race Edited 3 R" mrace4e "Mother's Race Edited 4 R" mrace5e "Mother's Race Edited 5 R" mrace6e "Mother's Race Edited 6 R" mrace7e "Mother's Race Edited 7 R" mrace8e "Mother's Race Edited 8 R" frace1e "Father's Race Edited 1 R" frace2e "Father's Race Edited 2 R" frace3e "Father's Race Edited 3 R" frace4e "Father's Race Edited 4 R" frace5e "Father's Race Edited 5 R" frace6e "Father's Race Edited 6 R" frace7e "Father's Race Edited 7 R" frace8e "Father's Race Edited 8 R" matchs "Match Status U;R" . list. execute. save outfile = 'c:\linkpe2004usden.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.