*This program reads the 1971 NCHS Multiple Cause of Death 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 14 15:22:50 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:\mort1971.sps". *and choose to RUN ALL file handle mort1971 /name="c:\homes\data\mortality\1971\mort1971us.dat" . data list file=mort1971 / datayear 1 shipno 2-3 (a) reparea 4 rectype 11 restatus 12 countyrs 13-17 (a) staters 13-14 (a) cityrs 18-20 (a) popsize 21-21 (a) smsares 22-24 (a) metro 25-25 (a) stateoc 26-27 (a) countyoc 26-30 (a) monthdth 31-32 sex 35 race 36 racer2 37 racer3 38 age 39-41 ager12 42-43 ager27 44-45 ager22 46-47 divstres 48-49 divstoc 50-51 autopsy 52 ucod 60-63 (a) ucr281 64-68 ucr69 69-71 ucr65 72-74 ucr34 75-77 accident 91 seqnum 92-98 eanum 99-100 entity1 101-108 (a) econdp_1 101 econds_1 102-103 (a) enicon_1 104-107 (a) eniflag1 108 entity2 109-116 (a) econdp_2 109 econds_2 110-111 (a) enicon_2 112-115 (a) eniflag2 116 entity3 117-124 (a) econdp_3 117 econds_3 118-119 (a) enicon_3 120-123 (a) eniflag3 124 entity4 125-132 (a) econdp_4 125 econds_4 126-127 (a) enicon_4 128-131 (a) eniflag4 132 entity5 133-140 (a) econdp_5 133 econds_5 134-135 (a) enicon_5 136-139 (a) eniflag5 140 entity6 141-148 (a) econdp_6 141 econds_6 142-143 (a) enicon_6 144-147 (a) eniflag6 148 entity7 149-156 (a) econdp_7 149 econds_7 150-151 (a) enicon_7 152-155 (a) eniflag7 156 entity8 157-164 (a) econdp_8 157 econds_8 158-159 (a) enicon_8 160-163 (a) eniflag8 164 entity9 165-172 (a) econdp_9 165 econds_9 166-167 (a) enicon_9 168-171 (a) eniflag9 172 entity10 173-180 (a) econdp_10 173 econds_10 174-175 (a) enicon_10 176-179 (a) eniflag10 180 entity11 181-188 (a) econdp_11 181 econds_11 182-183 (a) enicon_11 184-187 (a) eniflag11 188 entity12 189-196 (a) econdp_12 189 econds_12 190-191 (a) enicon_12 192-195 (a) eniflag12 196 entity13 197-204 (a) econdp_13 197 econds_13 198-199 (a) enicon_13 200-203 (a) eniflag13 204 entity14 205-212 (a) econdp_14 205 econds_14 206-207 (a) enicon_14 208-211 (a) eniflag14 212 ranum 213-214 record_1 215-219 (a) rnifla_1 219 record_2 220-224 (a) rnifla_2 224 record_3 225-229 (a) rnifla_3 229 record_4 230-234 (a) rnifla_4 234 record_5 235-239 (a) rnifla_5 239 record_6 240-244 (a) rnifla_6 244 record_7 245-249 (a) rnifla_7 249 record_8 250-254 (a) rnifla_8 254 record_9 255-259 (a) rnifla_9 259 record_10 260-264 (a) rnifla_10 264 record_11 265-269 (a) rnifla_11 269 record_12 270-274 (a) rnifla_12 274 record_13 275-279 (a) rnifla_13 279 record_14 280-284 (a) rnifla_14 284 . * See the codebook for more detailed variable descriptions. variable labels . list. execute. save outfile = 'c:\mort1971.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.