*This program reads the 2011 *Territories 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 Mon Jul 17 18:09:34 EDT 2017 *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:\linkpe2011psden.sps". *and choose to RUN ALL file handle linkpe2011psden /name="c:\homes\data\linkpe\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\DVS\periodlinkedter\LinkPE11PSDen.dat.dat" . data list file=linkpe2011psden / revision 7-7 (a) laterec 9 idnumber 10-14 dob_yy 15-18 dob_mm 19-20 dob_tt 25-28 dob_wk 29 ostate 30-31 (a) ocntyfips 37-39 ocntypop 40 bfacil 41 ubfacil 42 bfacil3 59 mage_impflg 87 mage_repflg 88 mager41 89-90 mager14 91-92 mager9 93 mbcntry 94-95 (a) mrstatefips 109-110 (a) mrcntyfips 114-116 rcnty_pop 132-132 (a) rectype 137 restatus 138 mbrace 139-140 mrace 141-142 mracerec 143 mraceimp 144-144 (a) umhisp 148 mracehisp 149 mar_p 152-152 (a) mar 153 mar_imp 154 meduc 155 fagerpt_flg 175 fagecomb 182-183 ufagecomb 184-185 fagerec11 186-187 fbrace 188-189 fracerec 191 ufhisp 195 fracehisp 196 feduc 197 frace 199-200 priorterm 208-209 lbo_rec 212 tbo_rec 217 precare 245-246 precare_rec 247 uprevis 270-271 previs_rec 272-273 wtgain 276-277 wtgain_rec 278 dfpc_imp 280 wic 281-281 (a) cig_0 282-283 cig_1 284-285 cig_2 286-287 cig_3 288-289 cig_rec 294-294 (a) rf_diab 313-313 (a) rf_gdiab 314-314 (a) rf_phyper 315-315 (a) rf_ghyper 316-316 (a) rf_eclam 317-317 (a) rf_ppterm 318-318 (a) rf_ppoutc 319-319 (a) rf_inftr 321-321 (a) rf_fedrg 322-322 (a) rf_artec 323-323 (a) rf_cesar 324-324 (a) rf_cesarn 325-326 (a) urf_diab 331 urf_chyper 335 urf_phyper 336 urf_eclam 337 ip_gono 345-345 (a) ip_syph 346-346 (a) ip_chlam 348-348 (a) ip_hepb 349-349 (a) ip_hepc 350-350 (a) op_cerv 351-351 (a) op_tocol 352-352 (a) op_ecvs 353-353 (a) op_ecvf 354-354 (a) uop_induc 357 uop_stiml 358 uop_tocol 359 uop_ultra 360 uop_otherob 361 ol_ruptr 362-362 (a) ol_precip 363-363 (a) ol_prol 364-364 (a) ld_indl 365-365 (a) ld_augm 366-366 (a) ld_ster 368-368 (a) ld_anti 369-369 (a) ld_chor 370-370 (a) ld_mecs 371-371 (a) ld_fint 372-372 (a) ld_anes 373-373 (a) 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 me_pre 392 me_rout 393 me_trial 394-394 (a) ume_vag 395 ume_vbac 396 ume_primc 397 ume_repec 398 ume_forcep 399 ume_vac 400 rdmeth_rec 401 dmeth_rec 403 mm_mtr 404-404 (a) mm_plac 405-405 (a) mm_rupt 406-406 (a) mm_uhyst 407-407 (a) mm_icu 408-408 (a) mm_uoper 409-409 (a) attend 410-410 (a) mm_tran 411-411 (a) pay 412-412 (a) payr 413-413 (a) apgar5 415-416 apgar5r 417 apgar10 418-419 apgar10r 420 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 ab_aven 476-476 (a) ab_aven6 476-476 (a) ab_nicu 478-478 (a) ab_surf 479-479 (a) ab_anti 480-480 (a) ab_seiz 481-481 (a) ab_binj 482-482 (a) ca_anen 492-492 (a) ca_menin 493-493 (a) ca_heart 494-494 (a) ca_hernia 495-495 (a) ca_omph 496-496 (a) ca_gast 497-497 (a) ca_limb 498-498 (a) ca_cleftlip 499-499 (a) ca_cleftpal 500-500 (a) ca_downs 501-501 (a) ca_chromo 502-502 (a) ca_hypo 503-503 (a) uca_anen 504 uca_spina 505 uca_omph 513 uca_cleftlip 518 uca_hernia 521 uca_downs 523 itran 526-526 (a) ilive 527-527 (a) bfed 528-528 (a) bmi_r 533 illb_r 534-536 illb_r11 537-538 ilop_r 539-541 ilop 542-543 ilp 544-546 ilp_r11 547-548 pwgt_r 549-551 dwgt_r 552-554 m_ht_in 555-557 setorder_r 557 f_morigin 569 f_forigin 570 f_meduc 571 f_feduc 572 f_estgest 573 f_apgar5 574 f_tobaco 575 f_m_ht_in 576 f_pwgt_r 577 f_dwgt_r 578 f_wic 579 f_pay 580 f_bfed 581 f_rf_pdiab 582 f_rf_gdiab 583 f_rf_phyper 584 f_rf_ghyper 585 f_rf_eclam 586 f_rf_ppterm 587 f_rf_ppoutc 588 f_rf_inftr 590 f_rf_fedrg 591 f_rf_artec 592 f_rf_cesar 593 f_rf_ncesar 594 f_ip_gono 595 f_ip_syph 596 f_ip_chlam 598 f_ip_hepb 599 f_ip_hepc 600 f_op_cerv 601 f_op_tocol 602 f_op_ecvs 603 f_op_ecvf 604 f_op_ruptr 605 f_ol_precip 606 f_ol_prol 607 f_ld_indl 608 f_ld_augm 609 f_ld_ster 610 f_ld_anti 611 f_ld_chor 612 f_ld_meco 614 f_ld_fint 615 f_ld_anes 616 f_md_pres 619 f_md_rout 620 f_md_trial 621 f_mm_mtr 622 f_mm_plac 623 f_mm_rupt 624 f_mm_uhyst 625 f_mm_icu 626 f_mm_oper 627 f_ab_vent 628 f_ab_vent6 629 f_ab_niuc 630 f_ab_surfac 631 f_ab_anti 632 f_ab_seiz 633 f_ab_inj 634 f_ca_anen 635 f_ca_menin 636 f_ca_heart 637 f_ca_hernia 638 f_ca_omph 639 f_ca_gastro 640 f_ca_limb 641 f_ca_cleftlip 642 f_ca_cleftpal 643 f_ca_downs 644 f_ca_chromo 645 f_ca_hypo 646 f_wtgain 648 f_mar 652 f_mar_p 653 f_mpcb 668 f_previs 671 f_cig_0 672 f_cig_1 673 f_cig_2 674 f_cig_3 675 f_facility 676 fpayr 678 f_rdmeth_rec 679 f_urf_diab 684 f_urf_chyper 688 f_urf_phyper 689 f_urf_eclam 690 f_uop_induct 703 f_uop_tocol 705 f_uld_meco 712 f_uld_precip 718 f_uld_breech 721 f_u_forcep 734 f_u_vac 735 f_uca_anen 752 f_uca_spina 753 f_uca_omph 761 f_uca_cleftlip 766 f_uca_hernia 769 f_uca_downs 771 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_tt "Birth Time R" dob_wk "Birth Weekday U;R" ostate "Occurrence State U;R" ocntyfips "Occurrence FIPS County U;R" ocntypop "Occurence County Population U;R" bfacil "Birth Place R (f_facility rep flag)" 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" mbcntry "Mother's Birth Country R;u" mrstatefips "Mother's Residence State U;R" mrcntyfips "Mother's FIPS County of Residence (FIPS) U;R" rcnty_pop "Population of 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_p "Paternity Acknowledged R (f_mar_p rep flag)" mar "Mother's Marital Status U;R (f_mar rep flag 652)" mar_imp "Mother's Marital Status Imputed Flag U;R" meduc "Mother's Education R (f_meduc rep flag)" fagerpt_flg "Father's Reported Age Used 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)" feduc "Father's Education R (f_feduc rep flag)" frace "Father's Race U" priorterm "Prior Other Terminations U;R" lbo_rec "Live Birth Order Recode 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)" uprevis "Number of Prenatal Visits U;R" previs_rec "Number of Prenatal Visits Recode U;R" wtgain "Weight Gain U;R (f_wtgain rep flag)" wtgain_rec "Weight Gain Recode U;R (f_wtgain rep flag)" dfpc_imp "Day of Date First Prenatal Care Imputed R" wic "WIC R " cig_0 "Cigarettes Before Pregnancy R (f_cig_0 rep flag)" cig_1 "Cigarettes 1st Trimester R (f_tobaco rep flag)" cig_2 "Cigarettes 2nd Trimester R (f_tobaco rep flag)" cig_3 "Cigarettes 3rd Trimester R (f_tobaco rep flag)" cig_rec "Cigarettes Recode R" rf_diab "Prepregnancy Diabetes R (f_rf_pdiab rep flag)" rf_gdiab "Gestational Diabetes R (f_rf_gdiab rep flag)" rf_phyper "Prepregnancy Diabetes R (f_rf_phyper rep flag)" rf_ghyper "Gestational Diabetes R (f_rf_ghyper rep flag)" rf_eclam "Hypertension Eclampsia R (f_rf_eclam rep flag)" rf_ppterm "Previous Preterm Birth R (f_rf_ppterm rep flag)" rf_ppoutc "Poor Pregnancy Outcome R (f_rf_ppoutc rep flag)" rf_inftr "Infertility Treatment R (f_rf_inftr rep flag)" rf_fedrg "Fertility Enhancing Drug R (f_rf_fedrg rep flag)" rf_artec "Asst. Reproductive Technology (f_rf_artec flag)" rf_cesar "Previous Cesareans (f_rf_cesar rep flag)" rf_cesarn "Previous Cesareans Number (f_rf_cesarn rep flag)" urf_diab "Diabetes U;R (f_urf_diab rep flag)" urf_chyper "Chronic Hypertension U;R (f_urf_chyper rep flag)" urf_phyper "Pregnancy Associated Hypertension U;R (f_urf_phyper rep flag)" urf_eclam "Eclampsia U;R (f_urf_eclam rep flag)" ip_gono "Gonorrhea R (f_ip_gono rep flag)" ip_syph "Syphilis R (f_ip_syph rep flag)" ip_chlam "Chlamydia R (f_ip_chlam rep flag)" ip_hepb "Hepatitis B R (f_ip_hepb rep flag)" ip_hepc "Hepatitis C R (f_ip_hepc rep flag)" op_cerv "Cervical Cerclage R (f_op_cerv rep flag)" op_tocol "Tocolysis (f_op_tocol rep flag) " op_ecvs "Successful External Cephalic Version R" op_ecvf "Failed External Cephalic Version R" uop_induc "Induction of labor U;R" uop_stiml "Stimulation of labor U" uop_tocol "Tocolysis U;R" uop_ultra "Ultrasound U" uop_otherob "Other Obstetric Procedures U" ol_ruptr "Premature Rupture of Membrane R" ol_precip "Precipitous labor R" ol_prol "Prolonged Labor R" ld_indl "Induction of Labor R" ld_augm "Augmentation of Labor R" ld_ster "Steroids R" ld_anti "Antibiotics R" ld_chor "Chorioamnionitis R" ld_mecs "Meconium Staining R" ld_fint "Fetal Intolerance R" ld_anes "Anesthesia R" 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" me_pre "Fetal Presentation R ( rep flag)" me_rout "Route & Method R ( rep flag)" me_trial "Trial of Labor Attempted R ( rep flag)" 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_forcep "Forceps U;R" ume_vac "Vacuum U;R" rdmeth_rec "Delivery Method Recode R" dmeth_rec "Delivery Method Recode U;R" mm_mtr "Maternal Transfusion R" mm_plac "Perineal Laceration R" mm_rupt "Ruptured Uterus R" mm_uhyst "Unplanned Hysterectomy R" mm_icu "Admission to Intensive Care R" mm_uoper "Unplanned Operation R" attend "Attendant U;R" mm_tran "Mother Transferred R" pay "Payment Source R (f_pay rep flag)" payr "Payment Recode R" apgar5 "Five Minute Apgar Score U;R (f_apgar5 rep flag)" apgar5r "Five Minute Apgar Recode U;R (f_apgar5 rep flag)" apgar10 "Ten Minute Apgar Score U;R (f_apgar10 rep flag)" apgar10r "Ten Minute Apgar Recode U;R (f_apgar10 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_estgest 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" ab_aven "Assisted Ventilation 628" ab_aven6 "Assisted Ventilation > 6 hrs 629" ab_nicu "Admission to NICU 630" ab_surf "Surfactant 631" ab_anti "Antibiotics 632" ab_seiz "Seizures 633" ab_binj "Birth Injury 634" ca_anen "Anencephaly 635" ca_menin "Meningomyelocele / Spina Bifida 636" ca_heart "Cyonotic Congenital Heart Disease 637" ca_hernia "Congenital Diaphragmatic Hernia 638 " ca_omph "Omphalocele 639" ca_gast "Gastrochisis 640" ca_limb "Limb Reduction Defect 641" ca_cleftlip "Cleft Lip w/ or w/o Cleft Palate 642" ca_cleftpal "Cleft Palate Alone 643" ca_downs "Down Syndrome 644" ca_chromo "Suspected Chromosonal Disorder " ca_hypo "Hypospadias" uca_anen "Anencephalus U;R" uca_spina "Spina bifida/Meningocele U;R" uca_omph "Omphalocele/Gastroschisis U;R" uca_cleftlip "Cleft Lip/Palate U;R" uca_hernia "Diaphragmatic Hernia U;R" uca_downs "Down Syndrome U;R" itran "Infant Transferred R" ilive "Infant Living at Time of Report R" bfed "Infant Being Breastfed 581 R" bmi_r "Body Mass Index Recode 576 R" illb_r "Interval of Last Live Birth Recode R" illb_r11 "Interval of Last Live Birth Recode 11 R" ilop_r "Interval of Last Other Pregnancy Recode R" ilop "Interval of Last Other Pregnancy Recode 11 R" ilp "Interval of Last Pregnancy Recode R" ilp_r11 "Interval of Last Pregnancy Recode 11 R" pwgt_r "Pre-pregnancy Weight Recode R" dwgt_r "Delivery Weight Recode R" m_ht_in "Mother's Height in Inches (f_m_ht_in rep flag 576)" setorder_r "Set Order Recode R" f_morigin "Origin of Mother U;R" f_forigin "Origin of Father U;R" f_meduc "Education of Mother R" f_feduc "Education of Father R" f_estgest "Clinical Estimate of Gestation U;R" f_apgar5 "5 - minute Apgar U;R" f_tobaco "Tobacco use R" f_m_ht_in "Mother's Height R" f_pwgt_r "Prepregnancy Weight R" f_dwgt_r "Weight at Delivery R" f_wic "WIC R" f_pay "Source of Payment R" f_bfed "Breastfed at Discharge R" f_rf_pdiab "Prepregnancy Diabetes R" f_rf_gdiab "Gestational Diabetes R" f_rf_phyper "Prepregnancy Hypertension R" f_rf_ghyper "Gestational Hypertension R" f_rf_eclam "Hypertension Eclampsia R" f_rf_ppterm "Previous Preterm Birth R" f_rf_ppoutc "Poor Pregnancy Outcomes R" f_rf_inftr "Infertility Treatment R" f_rf_fedrg "Fertility Enhancement Drugs R" f_rf_artec "Asst. Reproductive Technology R" f_rf_cesar "Previous Cesarean R" f_rf_ncesar "Number of Previous Cesareans R" f_ip_gono "Gonorrhea R" f_ip_syph "Syphilis R" f_ip_chlam "Chlamydia R" f_ip_hepb "Hepatitis B R" f_ip_hepc "Hepatitis C R" f_op_cerv "Cervical Cerclage R" f_op_tocol "Tocolysis R" f_op_ecvs "Successful External Cephalic Version R" f_op_ecvf "Failed External Cephalic Version R" f_op_ruptr "Premature Rupture of the Membrane R" f_ol_precip "Precipitous Labor R" f_ol_prol "Prolonged Labor R" f_ld_indl "Induction of Labor R" f_ld_augm "Augmentation of Labor R" f_ld_ster "Steroids R" f_ld_anti "Antibiotics R" f_ld_chor "Chorioamnionitis R" f_ld_meco "Meconium Staining R" f_ld_fint "Fetal Intolerance R" f_ld_anes "Anesthesia R" f_md_pres "Fetal Presentation R" f_md_rout "Final Route and Method of Delivery R" f_md_trial "Trial of Labor Attempted R" f_mm_mtr "Maternal Transfusion R" f_mm_plac "Perineal Laceration R" f_mm_rupt "Ruptured Uterus R" f_mm_uhyst "Unplanned Hysterectomy R" f_mm_icu "Admission to Intensive Care R" f_mm_oper "Unplanned Operating Room Procedure R" f_ab_vent "Assisted Ventilation R" f_ab_vent6 "Assisted Ventiliation > 6 hours R" f_ab_niuc "Admission to NICH R" f_ab_surfac "Surfactant R" f_ab_anti "Antibiotics R" f_ab_seiz "Seizures R" f_ab_inj "Birth Injury R" f_ca_anen "Anencephaly R" f_ca_menin "Meningomyelocele/Spina Bifida R" f_ca_heart "Cyanotic Congenital Heart Disease R" f_ca_hernia "Congenital Diaphragmatic Hernia R" f_ca_omph "Omphalocele R" f_ca_gastro "Gastrschisis R" f_ca_limb "Limb Reduction Defect R" f_ca_cleftlip "Cleft Lip with or without Cleft Palate R" f_ca_cleftpal "Cleft Palate Alone R" f_ca_downs "Down Syndrome R" f_ca_chromo "Suspected Chromosonal Disorder R" f_ca_hypo "Hypospadias R" f_wtgain "Weight gain U;R" f_mar "Mother's Marital Status R" f_mar_p "Paternity Acknowledged R" f_mpcb "Month Prenatal Care Began R" f_previs "Total Number of Prenatal Visits U;R" f_cig_0 "Cigarettes before Pregnancy R" f_cig_1 "Cigarettes 1st Trimester R" f_cig_2 "Cigarettes 2nd Trimester R" f_cig_3 "Cigarettes 3rd Trimester R" f_facility "Facility R" fpayr "Payment Recode R" f_rdmeth_rec "Delivery Month Recode R " f_urf_diab "Diabetes U" f_urf_chyper "Chronic Hypertension U" f_urf_phyper "Pregnancy-Associated Hypertension U" f_urf_eclam "Eclampsia U" f_uop_induct "Induction of Labor U" f_uop_tocol "Tocolysis U" f_uld_meco "Meconium U" f_uld_precip "Precipitous Labor U" f_uld_breech "Breech U" f_u_forcep "Forceps U" f_u_vac "Vacuum U" f_uca_anen "Anencephalus U" f_uca_spina "Spina Bifida U" f_uca_omph "Omphalocele/Gastrochisis U" f_uca_cleftlip "Cleft Lip/Palate U" f_uca_hernia "Diaphramatic Hernia U" f_uca_downs "Down Syndrome U" matchs "Match Status U;R" . list. execute. save outfile = 'c:\linkpe2011psden.sav'. *Copyright 2017 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.