*This program reads the 1968 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 Thu Nov 8 16:52:10 EST 2007 *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:\natl1968.sps". *and choose to RUN ALL file handle natl1968 /name="c:\homes\data\natality\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\DVS\natality\Nat1968.dat" . data list file=natl1968 / datayear 1 rectype 11 restatus 12 stateres 13-14 cntyres 13-17 (a) cityres 18-20 (a) citrspop 21-21 (a) smsares 22-24 (a) metrores 25-25 (a) frace 26 mrace 27 crace 28 crace2 29 crace3 30 csex 31 birmon 32-33 dmage 38-39 mage36 40-41 mage8 42 mage12 43-44 dlivord 47-48 livord9 49 livord3 50 birattnd 58 dgestat 59-60 gestat10 61 dbirwt 62-65 birwt12 66-67 birwt3 68 dlegit 69 dplural 70 plural2 71 statenat 74-75 cntynat 74-78 . * See the codebook for more detailed variable descriptions. variable labels datayear "Data year" rectype "Record type" restatus "Resident status" stateres "NCHS State of Residence" cntyres "NCHS County of Residence" cityres "NCHS City of Residence" citrspop "Population size - place of residence" smsares "Standard Metropolitan Statistical Area SMSA of residence" metrores "Met/Nonmet county of residence" frace "Race of Father" mrace "Race of Mother" crace "Race of Child" crace2 "Race of Child Recode" crace3 "Race of Child Recode" csex "Sex of Child" birmon "Month of birth" dmage "Age of Mother" mage36 "Age of Mother recode 36" mage8 "Age of Mother recode 8" mage12 "Age of Mother recode 12 " dlivord "Detail Live birth order" livord9 "Live birth order Recode 9" livord3 "Live birth order Recode 3" birattnd "Attendant at birth" dgestat "Gestation" gestat10 "Gestation Recode 10 (0-9)" dbirwt "Birthweight" birwt12 "Birthweight Recode 12" birwt3 "Birthweight Recode 3" dlegit "Legitimacy" dplural "Plurality" plural2 "Plurality recode 2" statenat "NCHS State of Occurence" cntynat "NCHS County of Occurence" . list. execute. save outfile = 'c:\natl1968.sav'. *Copyright 2007 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.