*Change the input file location as needed. *by Jean Roth Mon Apr 18 12:46:15 EDT 2016 *NOTE: This program is distributed under the GNU GPL. See end of *this file and http://www.gnu.org/licenses/ for details. *Please report errors to jroth@nber.org *Change output file name/location as desired. *If you have trouble running this program, *then try opening a new syntax file & type this command: *INCLUDE "c:\cpscert2015.sps". *and choose to RUN ALL * A -1 means Blank; Not in Universe; or In Universe, Met No Conditions. * Sometimes, -1 is present but not described in the codebook. * These appear to be invalid values also. * The following changes in variable names have been made, if necessary: * '$' to 'd'; '-' to '_'; '%' to 'p' * ($ = unedited data; - = edited data; % = allocated data). * file handle cpscert2015 /name='c:\cpscert2015.dat' . data list file=cpscert2015 / qstnum 1-10 (a) pulineno 11-20 month 21-25 hryear4 26-31 pecert1 32-41 pecert2 42-51 pxcert1 52-61 pxcert2 62-71 . * See the codebook for more detailed variable descriptions. variable labels qstnum "Unique household identifier. Valid only" pulineno "Unique Person Identifier" month "Month of Interview" hryear4 "Year of Interview" pecert1 "DOES ... HAVE A CURRENTLY" pecert2 "WERE ANY OF ...'S CERTIFICATIONS" pxcert1 "ALLOCATION FLAG" pxcert2 "ALLOCATION FLAG" . value labels pecert1 1 "Yes" 2 "No" /pecert2 1 "Yes" 2 "No" . execute. save outfile = 'c:\cpscert2015.sav'. *Copyright 2016 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.