*This program reads the 2003 NCHS Natality Detail U.S. Territories 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 Wed Apr 1 12:54:40 EDT 2009 *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:\natlterr2003.sps". *and choose to RUN ALL file handle natlterr2003 /name="c:\homes\data\natality\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\DVS\natality\Nat2003ps.dat" . data list file=natlterr2003 / revision 7-7 (a) recwt 8 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 umagerpt 77-78 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) metrores 135-135 (a) mrstate 109-110 (a) rectype 137 mrcntyfips 114-116 restatus 138 mbrace 139-140 mrcityfips 120-124 mrace 141-142 cmsa 125-126 msa 127-130 mracerec 143 msa_pop 131-131 (a) mraceimp 144-144 (a) umhisp 148 rcnty_pop 132-132 (a) rcity_pop 133-133 (a) mracehisp 149 mar 153 mar_imp 154 meduc 155 umeduc 156-157 meduc_rec 158 fagerpt_flg 175 fagerpt 176-177 ufagecomb 184-185 fagerec11 186-187 fbrace 188-189 fraceimp 190 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 dllb_mm 220-221 dllb_yy 222-225 precare 245-246 precare_rec 247 mpcb 256-257 mpcb_rec6 258 mpcb_rec5 259 uprevis 270-271 previs_rec 272-273 wtgain 276-277 wtgain_rec 278 cig_0 282-283 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 463-466 bwtr12 471-472 bwtr4 473 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 mrace1e 938-940 (a) mrace2e 941-943 (a) mrace3e 944-946 (a) mrace4e 947-949 (a) mrace5e 950-952 (a) mrace6e 953-955 (a) mrace7e 956-958 (a) mrace8e 959-961 (a) frace1e 1272-1274 (a) frace2e 1275-1277 (a) frace3e 1278-1280 (a) . * See the codebook for more detailed variable descriptions. variable labels revision "Revision U;R" recwt "Record Weight U;R" dob_yy "Birth Year U;R" dob_mm "Birth Month U;R" dob_wk "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" umagerpt "Mother's Reported Age U" 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" metrores "Metropolitan Residence County U;R" mrstate "Mother's Residence State U;R" rectype "Record Type U;R" mrcntyfips "Mother's County of Residence (FIPS) U;R" restatus "Resident Status U;R" mbrace "Mother's Bridged Race R " mrcityfips "Mother's Place of Residence (FIPS) U;R" mrace "Mother's Race U " cmsa "Consolidated Metropolitan Statistical Area U;R " msa "Metropolitan Statistical Area U;R " mracerec "Mother's Race Recode U;R" msa_pop "Population of Statistical Area U;R " mraceimp "Mother's Race Imputed Flag U;R " umhisp "Mother's Hispanic Origin U;R " rcnty_pop "Population of Residence County U;R " rcity_pop "Population of Residence City U;R " mracehisp "Mother's Race/Hispanic Origin U;R " mar "Mother's Marital Status U;R" mar_imp "Mother's Marital Status Imputed Flag U;R" meduc "Mother's Education R " umeduc "Mother's Education U " meduc_rec "Mother's Education Recode U " fagerpt_flg "Father's Reported Age Used U;R" fagerpt "Father's Reported Age U;R" ufagecomb "Father's Combined Age U" fagerec11 "Father's Age Recode 11 U;R" fbrace "Father's Bridged Race R " fraceimp "Father's Race Imputed U" fracerec "Father's Race Recode U;R" ufhisp "Father's Hispanic Origin U;R " fracehisp "Father's Race/Hispanic Origin U;R " 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" dllb_mm "Date of Last Live Birth - Month U;R" dllb_yy "Date of Last Live Birth - Year U;R" precare "Month Prenatal Care Began R" precare_rec "Month Prenatal Care Began Recode R" mpcb "Month Prenatal Care Began U" mpcb_rec6 "Month Prenatal Care Began Recode 6 U" mpcb_rec5 "Month Prenatal Care Began Recode 5 U" uprevis "Number of Prenatal Visits U;R" previs_rec "Number of Prenatal Visits Recode U;R" wtgain "Weight Gain U;R" wtgain_rec "Weight Gain Recode U;R" cig_0 "Cigarettes Before Pregnancy R " cig_1 "Cigarettes 1st Trimester R " cig_2 "Cigarettes 2nd Trimester R " cig_3 "Cigarettes 3rd Trimester R " tobuse "Tobacco Use U" cigs "Cigarettes Per Day U" cig_rec6 "Cigarettes Recode U" cig_rec "Cigarettes Recode R" alcohol "Alcohol Use U " drinks "Drinks Per Week U" drinks_rec "Drinks Recode U " 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" apgar5r "Five Minute Apgar Recode U;R" dplural "Plurality U;R" imp_plur "Plurality Imputed U;R" sex "Sex 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 " 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" bwtr12 "Birth Weight Recode 12 U;R" bwtr4 "Birth Weight Recode 4 U;R" 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 "Down 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" mrace1e "Mother's Race Edited R" mrace2e "Mother's Race Edited R" mrace3e "Mother's Race Edited R" mrace4e "Mother's Race Edited R" mrace5e "Mother's Race Edited R" mrace6e "Mother's Race Edited R" mrace7e "Mother's Race Edited R" mrace8e "Mother's Race Edited R" frace1e "Father's Race Edited R" frace2e "Father's Race Edited R" frace3e "Father's Race Edited R" . list. execute. save outfile = 'c:\natlterr2003.sav'. *Copyright 2009 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.