*This program reads the 2011 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 12:39:30 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:\mort2011.sps". *and choose to RUN ALL file handle mort2011 /name="c:\homes\data\mortality\2011\mort2011.dat" . data list file=mort2011 / restatus 20 educ1989 61-62 educ2003 63 educflag 64 monthdth 65-66 sex 69-69 (a) age 70-73 ageflag 74 ager52 75-76 ager27 77-78 ager12 79-80 ager22 81-82 placdth 83 marstat 84-84 (a) weekday 85 year 102-105 injwork 106-106 (a) mandeath 107 methdisp 108-108 (a) autopsy 109-109 (a) activity 144 injury 145 ucod 146-149 (a) ucr358 150-152 ucr113 154-156 ucr130 157-159 ucr39 160-161 eanum 163-164 econdp_1 165 econds_1 166 enicon_1 167-170 (a) econdp_2 172 econds_2 173 enicon_2 174-177 (a) econdp_3 179 econds_3 180 enicon_3 181-184 (a) econdp_4 186 econds_4 187 enicon_4 188-191 (a) econdp_5 193 econds_5 194 enicon_5 195-198 (a) econdp_6 200 econds_6 201 enicon_6 202-205 (a) econdp_7 207 econds_7 208 enicon_7 209-212 (a) econdp_8 214 econds_8 215 enicon_8 216-219 (a) econdp_9 221 econds_9 222 enicon_9 223-226 (a) econdp_10 228 econds_10 229 enicon_10 230-233 (a) econdp_11 235 econds_11 236 enicon_11 237-240 (a) econdp_12 242 econds_12 243 enicon_12 244-247 (a) econdp_13 249 econds_13 250 enicon_13 251-254 (a) econdp_14 256 econds_14 257 enicon_14 258-261 (a) econdp_15 263 econds_15 264 enicon_15 265-268 (a) econdp_16 270 econds_16 271 enicon_16 272-275 (a) econdp_17 277 econds_17 278 enicon_17 279-282 (a) econdp_18 284 econds_18 285 enicon_18 286-289 (a) econdp_19 291 econds_19 292 enicon_19 293-296 (a) econdp_20 298 econds_20 299 enicon_20 300-303 (a) ranum 341-342 record_1 344-347 (a) record_2 349-352 (a) record_3 354-357 (a) record_4 359-362 (a) record_5 364-367 (a) record_6 369-372 (a) record_7 374-377 (a) record_8 379-382 (a) record_9 384-387 (a) record_10 389-392 (a) record_11 394-397 (a) record_12 399-402 (a) record_13 404-407 (a) record_14 409-412 (a) record_15 414-417 (a) record_16 419-422 (a) record_17 424-427 (a) record_18 429-432 (a) record_19 434-437 (a) record_20 439-442 (a) race 445-446 brace 447 raceimp 448 racer3 449 racer5 450 hispanic 484-486 hspanicr 488 . * See the codebook for more detailed variable descriptions. variable labels restatus "Resident Status" educ1989 "Education (1989 revision)" educ2003 "Education (2003 revision)" educflag "Education reporting flag" monthdth "Month of Death" sex "Sex" age "Detail Age" ageflag "Age Substitution Flag" ager52 "Age Recode 52" ager27 "Age Recode 27" ager12 "Age Recode 12" ager22 "Infant Age Recode 22" placdth "Place of Death and Decedent's Status" marstat "Marital Status" weekday "Day of Week of Death" year "Current Data Year" injwork "Injury at Work" mandeath "Manner of death" methdisp "Method of disposition" autopsy "Autopsy" activity "Activity code" injury "Place of Injury for Causes W00-Y34 except Y06.- and Y07.-" ucod "ICD Code (10th Revision)" ucr358 "358 Cause Recode" ucr113 "113 Cause Recode" ucr130 "130 Cause Recode" ucr39 "39 Cause Recode" eanum "Number of Entity-Axis Conditions" econdp_1 "Part/line number on certificate 1" econds_1 "Sequence of condition within part/line 1" enicon_1 "Condition code 1" econdp_2 "Part/line number on certificate 2" econds_2 "Sequence of condition within part/line 2" enicon_2 "Condition code 2" econdp_3 "Part/line number on certificate 3" econds_3 "Sequence of condition within part/line 3" enicon_3 "Condition code 3" econdp_4 "Part/line number on certificate 4" econds_4 "Sequence of condition within part/line 4" enicon_4 "Condition code 4" econdp_5 "Part/line number on certificate 5" econds_5 "Sequence of condition within part/line 5" enicon_5 "Condition code 5" econdp_6 "Part/line number on certificate 6" econds_6 "Sequence of condition within part/line 6" enicon_6 "Condition code 6" econdp_7 "Part/line number on certificate 7" econds_7 "Sequence of condition within part/line 7" enicon_7 "Condition code 7" econdp_8 "Part/line number on certificate 8" econds_8 "Sequence of condition within part/line 8" enicon_8 "Condition code 8" econdp_9 "Part/line number on certificate 9" econds_9 "Sequence of condition within part/line 9" enicon_9 "Condition code 9" econdp_10 "Part/line number on certificate 10" econds_10 "Sequence of condition within part/line 10" enicon_10 "Condition code 10" econdp_11 "Part/line number on certificate 11" econds_11 "Sequence of condition within part/line 11" enicon_11 "Condition code 11" econdp_12 "Part/line number on certificate 12" econds_12 "Sequence of condition within part/line 12" enicon_12 "Condition code 12" econdp_13 "Part/line number on certificate 13" econds_13 "Sequence of condition within part/line 13" enicon_13 "Condition code 13" econdp_14 "Part/line number on certificate 14" econds_14 "Sequence of condition within part/line 14" enicon_14 "Condition code 14" econdp_15 "Part/line number on certificate 15" econds_15 "Sequence of condition within part/line 15" enicon_15 "Condition code 15" econdp_16 "Part/line number on certificate 16" econds_16 "Sequence of condition within part/line 16" enicon_16 "Condition code 16" econdp_17 "Part/line number on certificate 17" econds_17 "Sequence of condition within part/line 17" enicon_17 "Condition code 17" econdp_18 "Part/line number on certificate 18" econds_18 "Sequence of condition within part/line 18" enicon_18 "Condition code 18" econdp_19 "Part/line number on certificate 19" econds_19 "Sequence of condition within part/line 19" enicon_19 "Condition code 19" econdp_20 "Part/line number on certificate 20" econds_20 "Sequence of condition within part/line 20" enicon_20 "Condition code 20" ranum "Number of Record-Axis Conditions" record_1 "Condition 1" record_2 "Condition 2" record_3 "Condition 3" record_4 "Condition 4" record_5 "Condition 5" record_6 "Condition 6" record_7 "Condition 7" record_8 "Condition 8" record_9 "Condition 9" record_10 "Condition 10" record_11 "Condition 11" record_12 "Condition 12" record_13 "Condition 13" record_14 "Condition 14" record_15 "Condition 15" record_16 "Condition 16" record_17 "Condition 17" record_18 "Condition 18" record_19 "Condition 19" record_20 "Condition 20" race "Detail Race" brace "Bridged Race Flag" raceimp "Race Imputation Flag" racer3 "Race Recode 3" racer5 "Race Recode 5" hispanic "Hispanic Origin" hspanicr "Hispanic Origin/Race Recode" . list. execute. save outfile = 'c:\mort2011.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.