*Change the input file location as needed. *by Jean Roth Mon Jul 28 15:25:07 EDT 2008 *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:\cpsrwdec07.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 cpsrwdec07 /name='c:\cpsrwdec07.dat' . data list file=cpsrwdec07 / qstnum 2-6 (a) occurnum 8-9 (a) pwsswgt 11-20 pwcmpwgt 22-31 . * See the codebook for more detailed variable descriptions. variable labels qstnum "Unique household identifier. Valid o" occurnum "Unique person identifier. Valid only" pwsswgt "FINAL WEIGHT" pwcmpwgt "Composited Final Weight. Used to cre" . value labels . execute. save outfile = 'c:\cpsrwdec07.sav'. *Copyright 2008 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.