*This program reads the 1985 *U.S. Denominator Linked Birth Infant Death Birth Cohort 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 Wed Nov 19 11:15:14 EST 2008 *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:\linkco1985us_den.sps". *and choose to RUN ALL file handle linkco1985us_den /name="c:\homes\data\lbid\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\DVS\cohortlinkedus\LinkCO85USden.dat.bz2" . data list file=linkco1985us_den / matchs 1 datayear 2-5 rectype 10 resstatb 11 regnoccb 12 censtatebo 13-14 estatebo 15-16 divoccb 13 bostate 17-21 cntyoccb 17-21 (a) regnresb 22 divresb 23 censtatebr 23-24 estatebr 25-26 brstate 27-28 cntyresb 27-31 (a) cityresb 32-34 (a) crace 36 crace3 37 csex 38 dgestat 39-40 gestat10 41-42 dbirwt 43-46 birwt14 47-48 birwt3 49 dplural 50 omaps 51-52 fmaps 53-54 origm 55-56 mrace 57 dmage 58-59 mage12 60-61 dmeduc 62-63 meduc6 64-65 dmar 65 mplbir 66-67 origf 68-69 frace 70 dfage 71-72 dfeduc 73-74 disllb 75-77 outcome 76 dterm 77-79 mpcb 78-79 (a) mpcb6 80 nprevis 81-82 dtotord 83-84 totord9 85 dlivord 86-87 livord9 88 pldel 89 birattnd 90 recwt 91 . * See the codebook for more detailed variable descriptions. variable labels matchs "Match Status" datayear "Year of Birth" rectype "Record type" resstatb "Resident Status - Birth" regnoccb "Region of Occurrence - Birth" censtatebo "State of Occurrence - Birth (1960 Census State Code)" estatebo "Expanded State of Occurrence - Birth" divoccb "Division of Occurrence - Birth" bostate "State of Occurrence - Birth (NCHS Codes)" cntyoccb "NCHS County of Occurence - Birth" regnresb "Region of Residence - Birth" divresb "Division of Residence - Birth" censtatebr "State of Residence - Birth (1960 Census State Code)" estatebr "Expanded State of Residence - Birth" brstate "State of Residence - Birth (NCHS Codes)" cntyresb "NCHS County of Residence - Birth" cityresb "City of Residence (NCHS Codes) - Birth" crace "Race of Child" crace3 "Race of Child Recode 3" csex "Sex of Child" dgestat "Gestation" gestat10 "Gestation Recode 10" dbirwt "Birthweight" birwt14 "Birthweight Recode 14" birwt3 "Birthweight Recode 3" dplural "Plurality" omaps "One Minute Apgar Score" fmaps "Five Minute Apgar Score" origm "Origin or Descent of Mother" mrace "Race of Mother" dmage "Age of Mother" mage12 "Age of Mother recode 12" dmeduc "Education of Mother Detail" meduc6 "Education of Mother Recode 6" dmar "Marital Status" mplbir "Mother's Place of Birth" origf "Origin or Descent of Father" frace "Race of Father" dfage "Age of Father" dfeduc "Education of Father" disllb "Interval since last live birth" outcome "Outcome of Last Pregnancy" dterm "Detail Interval Since Termination of Last Pregnancy" mpcb "Detail Month Prenatal Care began" mpcb6 "Month Prenatal Care began Recode 6" nprevis "Total Number of Prenatal Visits" dtotord "Total birth order" totord9 "Total birth order recode 9" dlivord "Detail Live birth order" livord9 "Live birth order Recode 9" pldel "Place of Delivery" birattnd "Attendant at birth" recwt "Record Weight" . list. execute. save outfile = 'c:\linkco1985us_den.sav'. *Copyright 2008 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.