PSID to TAXSIM conversion with Stata
Date: Tue, 11 Aug 2015 01:36:21 -0400
From: Charles Brown
To: feenberg@nber.org
Subject: TAXSIM and PSID
Dan,
Sara Kimberlin, Jiyoon Kim, & Luke Shaefer have written a "bridge" that lets one go
from the data available for PSID to the data needed by TAXSIM. They have been
extra-careful about trying to identify tax units within PSID households. Their focus
is on low-income households, though I think it will be useful to the PSID user
community more broadly.
Sincerely,
Charles Brown
Stata programs
psid_taxsim_1.do
psid_taxsim_2.do
Documentation
PSID-TAXSIM.pdf
psid_taxsim.docx
psid_taxsim.pdf
From Gal.Rakover@greenwich.ac.uk Thu Jul 11 05:22:06 2024
Date: Thu, 11 Jul 2024 05:21:51
From: Gal Rakover
To: Daniel Feenberg
Subject: Taxsim DO file typo Stata programs for 1999-2011 from Kim, Kimberlin and Shaefer
Hi Daniel,
I think this code for using TAXSIM on PSID has a typo
(https://taxsim.nber.org/to-taxsim/psid-kks/_do.1). In the cleansing
procedure, missing values are assigned for > 990 for variables with legitamte
values up to 997 (screenshot and code). I assume this is a mistake and should
be re-written to 997 (otherwise legitimate values from 991 to 997 are
reassigned missing).
Thank you for all the great work on TAXSIM.
Best,
Gal
forvalues i=1999(2)2021 {
replace yrproptax`i'=. if yrproptax`i'>99996
replace mort1_`i'=. if mort1_`i'>5
replace mort1_`i'=0 if mort1_`i'==5
replace mort2_`i'=. if mort2_`i'>5
replace mort2_`i'=0 if mort2_`i'==5
replace mortype1_`i'=. if mortype1_`i'>=7
replace mortype2_`i'=. if mortype2_`i'>=7
replace mthpmt1_`i'=. if mthpmt1_`i'>99997
replace mthpmt2_`i'=. if mthpmt2_`i'>99997
replace intr1_`i'=. if intr1_`i'>97
replace intrdec1_`i'=. if intrdec1_`i'>990
replace intr2_`i'=. if intr2_`i'>97
replace intrdec2_`i'=. if intrdec2_`i'>990
replace yrobt1_`i'=. if yrobt1_`i'>9990|yrobt1_`i'==1919|yrobt1_`i'==0
replace yrobt2_`i'=. if yrobt2_`i'>9990|yrobt2_`i'==1919|yrobt2_`i'==0
replace yrstopay1_`i'=. if yrstopay1_`i'>97
replace yrstopay2_`i'=. if yrstopay2_`i'>97
replace insprm`i'=. if insprm`i'>9997
}