*This program reads the 1991 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 16:17:55 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:\mort1991.sps". *and choose to RUN ALL file handle mort1991 /name="c:\homes\data\mortality\1991\mort1991us.dat" . data list file=mort1991 / datayear 1-2 reparea 3 shipno 10-11 (a) rectype 19 restatus 20 countyoc 21-25 (a) stateoc 21-22 (a) region 26 divstoc 27-28 (a) exstatoc 29-30 (a) countyrs 31-35 (a) staters 31-32 (a) cityrs 36-40 (a) popsize 39-39 (a) metro 40-40 (a) regnres 41 divstres 42-43 exstares 44-45 (a) pmsares 46-48 (a) popsizoc 49 popsizrs 50-50 (a) popmsa 51-51 (a) educ 52-53 educr 54 monthdth 55-56 sex 59 race 60-61 racer3 62 racer2 63 age 64-66 ager52 67-68 ager27 69-70 ager12 71-72 ager22 73-74 placdth 75 marstat 77 statebth 78-79 hispanic 80-81 hspanicr 82 weekday 83 autopsy 84 industry 85-87 occup 88-90 ucr52 91-93 indusr51 94-95 indusr15 96-97 occupr59 98-99 occupr9 100-101 calcage 110-113 ageflag 114 fipsctyo 119-123 (a) fipssto 119-120 (a) fipsctyr 124-128 (a) fipsstr 124-125 (a) fipspmsa 129-132 (a) fipscmsa 134-135 (a) accident 141 ucod 142-145 (a) ucr282 146-150 ucr72 151-153 ucr61 154-156 ucr34 157-159 eanum 160-161 econdp_1 162 econds_1 163-163 (a) enicon_1 164-167 (a) eniflag_1 168 econdp_2 169 econds_2 170-170 (a) enicon_2 171-174 (a) eniflag_2 175 econdp_3 176 econds_3 177-177 (a) enicon_3 178-181 (a) eniflag_3 182 econdp_4 183 econds_4 184-184 (a) enicon_4 185-188 (a) eniflag_4 189 econdp_5 190 econds_5 191-191 (a) enicon_5 192-195 (a) eniflag_5 196 econdp_6 197 econds_6 198-198 (a) enicon_6 199-202 (a) eniflag_6 203 econdp_7 204 econds_7 205-205 (a) enicon_7 206-209 (a) eniflag_7 210 econdp_8 211 econds_8 212-212 (a) enicon_8 213-216 (a) eniflag_8 217 econdp_9 218 econds_9 219-219 (a) enicon_9 220-223 (a) eniflag_9 224 econdp_10 225 econds_10 226-226 (a) enicon_10 227-230 (a) eniflag_10 231 econdp_11 232 econds_11 233-233 (a) enicon_11 234-237 (a) eniflag_11 238 econdp_12 239 econds_12 240-240 (a) enicon_12 241-244 (a) eniflag_12 245 econdp_13 246 econds_13 247-247 (a) enicon_13 248-251 (a) eniflag_13 252 econdp_14 253 econds_14 254-254 (a) enicon_14 255-258 (a) eniflag_14 259 econdp_15 260 econds_15 261-261 (a) enicon_15 262-265 (a) eniflag_15 266 econdp_16 267 econds_16 268-268 (a) enicon_16 269-272 (a) eniflag_16 273 econdp_17 274 econds_17 275-275 (a) enicon_17 276-279 (a) eniflag_17 280 econdp_18 281 econds_18 282-282 (a) enicon_18 283-286 (a) eniflag_18 287 econdp_19 288 econds_19 289-289 (a) enicon_19 290-293 (a) eniflag_19 294 econdp_20 295 econds_20 296-296 (a) enicon_20 297-300 (a) eniflag_20 301 ranum 338-339 record_1 341-344 (a) rniflag_1 345 record_2 346-349 (a) rniflag_2 350 record_3 351-354 (a) rniflag_3 355 record_4 356-359 (a) rniflag_4 360 record_5 361-364 (a) rniflag_5 365 record_6 366-369 (a) rniflag_6 370 record_7 371-374 (a) rniflag_7 375 record_8 376-379 (a) rniflag_8 380 record_9 381-384 (a) rniflag_9 385 record_10 386-389 (a) rniflag_10 390 record_11 391-394 (a) rniflag_11 395 record_12 396-399 (a) rniflag_12 400 record_13 401-404 (a) rniflag_13 405 record_14 406-409 (a) rniflag_14 410 record_15 411-414 (a) rniflag_15 415 record_16 416-419 (a) rniflag_16 420 record_17 421-424 (a) rniflag_17 425 record_18 426-429 (a) rniflag_18 430 record_19 431-434 (a) rniflag_19 435 record_20 436-439 (a) rniflag_20 440 . * See the codebook for more detailed variable descriptions. variable labels econdp_1 "Part/line number on certificate 1" econds_1 "Sequence of condition within part/line 1" enicon_1 "Condition code 1 (ICD 9th Revision)" eniflag_1 "Nature of Injury Flag 1" econdp_2 "Part/line number on certificate 2" econds_2 "Sequence of condition within part/line 2" enicon_2 "Condition code 2 (ICD 9th Revision)" eniflag_2 "Nature of Injury Flag 2" econdp_3 "Part/line number on certificate 3" econds_3 "Sequence of condition within part/line 3" enicon_3 "Condition code 3 (ICD 9th Revision)" eniflag_3 "Nature of Injury Flag 3" econdp_4 "Part/line number on certificate 4" econds_4 "Sequence of condition within part/line 4" enicon_4 "Condition code 4 (ICD 9th Revision)" eniflag_4 "Nature of Injury Flag 4" econdp_5 "Part/line number on certificate 5" econds_5 "Sequence of condition within part/line 5" enicon_5 "Condition code 5 (ICD 9th Revision)" eniflag_5 "Nature of Injury Flag 5" econdp_6 "Part/line number on certificate 6" econds_6 "Sequence of condition within part/line 6" enicon_6 "Condition code 6 (ICD 9th Revision)" eniflag_6 "Nature of Injury Flag 6" econdp_7 "Part/line number on certificate 7" econds_7 "Sequence of condition within part/line 7" enicon_7 "Condition code 7 (ICD 9th Revision)" eniflag_7 "Nature of Injury Flag 7" econdp_8 "Part/line number on certificate 8" econds_8 "Sequence of condition within part/line 8" enicon_8 "Condition code 8 (ICD 9th Revision)" eniflag_8 "Nature of Injury Flag 8" econdp_9 "Part/line number on certificate 9" econds_9 "Sequence of condition within part/line 9" enicon_9 "Condition code 9 (ICD 9th Revision)" eniflag_9 "Nature of Injury Flag 9" econdp_10 "Part/line number on certificate 10" econds_10 "Sequence of condition within part/line 10" enicon_10 "Condition code 10 (ICD 9th Revision)" eniflag_10 "Nature of Injury Flag 10" econdp_11 "Part/line number on certificate 11" econds_11 "Sequence of condition within part/line 11" enicon_11 "Condition code 11 (ICD 9th Revision)" eniflag_11 "Nature of Injury Flag 11" econdp_12 "Part/line number on certificate 12" econds_12 "Sequence of condition within part/line 12" enicon_12 "Condition code 12 (ICD 9th Revision)" eniflag_12 "Nature of Injury Flag 12" econdp_13 "Part/line number on certificate 13" econds_13 "Sequence of condition within part/line 13" enicon_13 "Condition code 13 (ICD 9th Revision)" eniflag_13 "Nature of Injury Flag 13" econdp_14 "Part/line number on certificate 14" econds_14 "Sequence of condition within part/line 14" enicon_14 "Condition code 14 (ICD 9th Revision)" eniflag_14 "Nature of Injury Flag 14" econdp_15 "Part/line number on certificate 15" econds_15 "Sequence of condition within part/line 15" enicon_15 "Condition code 15 (ICD 9th Revision)" eniflag_15 "Nature of Injury Flag 15" econdp_16 "Part/line number on certificate 16" econds_16 "Sequence of condition within part/line 16" enicon_16 "Condition code 16 (ICD 9th Revision)" eniflag_16 "Nature of Injury Flag 16" econdp_17 "Part/line number on certificate 17" econds_17 "Sequence of condition within part/line 17" enicon_17 "Condition code 17 (ICD 9th Revision)" eniflag_17 "Nature of Injury Flag 17" econdp_18 "Part/line number on certificate 18" econds_18 "Sequence of condition within part/line 18" enicon_18 "Condition code 18 (ICD 9th Revision)" eniflag_18 "Nature of Injury Flag 18" econdp_19 "Part/line number on certificate 19" econds_19 "Sequence of condition within part/line 19" enicon_19 "Condition code 19 (ICD 9th Revision)" eniflag_19 "Nature of Injury Flag 19" econdp_20 "Part/line number on certificate 20" econds_20 "Sequence of condition within part/line 20" enicon_20 "Condition code 20 (ICD 9th Revision)" eniflag_20 "Nature of Injury Flag 20" record_1 "Record-Axis Condition Code 1 (ICD 9th Revision)" rniflag_1 "Nature of Injury Flag 1" record_2 "Record-Axis Condition Code 2 (ICD 9th Revision)" rniflag_2 "Nature of Injury Flag 2" record_3 "Record-Axis Condition Code 3 (ICD 9th Revision)" rniflag_3 "Nature of Injury Flag 3" record_4 "Record-Axis Condition Code 4 (ICD 9th Revision)" rniflag_4 "Nature of Injury Flag 4" record_5 "Record-Axis Condition Code 5 (ICD 9th Revision)" rniflag_5 "Nature of Injury Flag 5" record_6 "Record-Axis Condition Code 6 (ICD 9th Revision)" rniflag_6 "Nature of Injury Flag 6" record_7 "Record-Axis Condition Code 7 (ICD 9th Revision)" rniflag_7 "Nature of Injury Flag 7" record_8 "Record-Axis Condition Code 8 (ICD 9th Revision)" rniflag_8 "Nature of Injury Flag 8" record_9 "Record-Axis Condition Code 9 (ICD 9th Revision)" rniflag_9 "Nature of Injury Flag 9" record_10 "Record-Axis Condition Code 10 (ICD 9th Revision)" rniflag_10 "Nature of Injury Flag 10" record_11 "Record-Axis Condition Code 11 (ICD 9th Revision)" rniflag_11 "Nature of Injury Flag 11" record_12 "Record-Axis Condition Code 12 (ICD 9th Revision)" rniflag_12 "Nature of Injury Flag 12" record_13 "Record-Axis Condition Code 13 (ICD 9th Revision)" rniflag_13 "Nature of Injury Flag 13" record_14 "Record-Axis Condition Code 14 (ICD 9th Revision)" rniflag_14 "Nature of Injury Flag 14" record_15 "Record-Axis Condition Code 15 (ICD 9th Revision)" rniflag_15 "Nature of Injury Flag 15" record_16 "Record-Axis Condition Code 16 (ICD 9th Revision)" rniflag_16 "Nature of Injury Flag 16" record_17 "Record-Axis Condition Code 17 (ICD 9th Revision)" rniflag_17 "Nature of Injury Flag 17" record_18 "Record-Axis Condition Code 18 (ICD 9th Revision)" rniflag_18 "Nature of Injury Flag 18" record_19 "Record-Axis Condition Code 19 (ICD 9th Revision)" rniflag_19 "Nature of Injury Flag 19" record_20 "Record-Axis Condition Code 20 (ICD 9th Revision)" rniflag_20 "Nature of Injury Flag 20" . list. execute. save outfile = 'c:\mort1991.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.