This chapter analyzes Median Home Value (MHV) change following two federal tax credit programs, New Market Tax Credits (NMTC) and Low Income Housing Tax Credits (LIHTC), with the purpose of evaluating whether the programs are effective at catalyzing neighborhood improvement. The same control variables from Chapter 4 are used in the models. Characteristics of neighborhoods that receive the tax credits and those that do not are visualized for supporting analysis.
Library
library( here )
library( import )
library( tidyverse )
library( pander )
library( dplyr )
library( knitr )
library( stargazer )
library( scales )
Load Functions
import::here("S_TYPE",
"d",
"df",
"d3",
"PLOTS",
"%>%",
.from = here::here("labs/wk06/source_file_rn.R"), # here::here() points to the .R file where all these R objects are created
.character_only = TRUE)
detach("package:import", unload = TRUE)
Rodeo Dataset
# Save data set to rodeo folder
saveRDS(d, here("data/rodeo/rodeo-data-rn.rds"))
# Load data set
readRDS(file = here("data/rodeo/rodeo-data-rn.rds"))
## # A tibble: 58,557 x 82
## tractid cbsa cbsaname mhv.00 mhv.10 mhv.change mhv.growth hinc00 hu00 own00
## <chr> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 fips-0~ 33860 Montgom~ 9.87e4 121500 22797. 23.1 47270. 769. 518.
## 2 fips-0~ 33860 Montgom~ 9.39e4 130500 36565. 38.9 39040. 731 452
## 3 fips-0~ 33860 Montgom~ 1.03e5 118700 15745. 15.3 60215. 1263 869
## 4 fips-0~ 33860 Montgom~ 1.16e5 133500 17788. 15.4 59456. 1871 1390
## 5 fips-0~ 33860 Montgom~ 1.50e5 174500 24263. 16.2 75878. 2282. 1671.
## 6 fips-0~ 33860 Montgom~ 9.07e4 129600 38886. 42.9 43423. 1310. 961.
## 7 fips-0~ 33860 Montgom~ 7.00e4 104200 34232. 48.9 47630. 1348 847
## 8 fips-0~ 33860 Montgom~ 1.23e5 292800 169518. 138. 57696. 733. 583.
## 9 fips-0~ 33860 Montgom~ 1.25e5 152500 27382. 21.9 58550. 2939. 2350.
## 10 fips-0~ 33860 Montgom~ 8.12e4 95900 14721. 18.1 49663. 1865. 1475.
## # ... with 58,547 more rows, and 72 more variables: rent00 <dbl>, hinc12 <dbl>,
## # hu10 <dbl>, own10 <dbl>, rent10 <dbl>, empclf00 <dbl>, clf00 <dbl>,
## # unemp00 <dbl>, prof00 <dbl>, empclf12 <dbl>, clf12 <dbl>, unemp12 <dbl>,
## # prof12 <dbl>, dpov00 <dbl>, npov00 <dbl>, dpov12 <dbl>, npov12 <dbl>,
## # ag25up00 <dbl>, hs00 <dbl>, col00 <dbl>, ag25up12 <dbl>, hs12 <dbl>,
## # col12 <dbl>, pop00.x <dbl>, nhwht00 <dbl>, nhblk00 <dbl>, hisp00 <dbl>,
## # asian00 <dbl>, pop10 <dbl>, nhwht10 <dbl>, nhblk10 <dbl>, hisp10 <dbl>, ...
Data Manifest
ltdb.raw.2000s <- read.csv( here("data/raw/ltdb_std_2000_sample.csv") )
ltdb.raw.2000f <- read.csv( here("data/raw/ltdb_std_2000_fullcount.csv") )
ltdb.rodeo.2000 <- readRDS( file = here("data/rodeo/ltdb-2000.rds") )
ltdb.raw.2010s <- read.csv( here("data/raw/ltdb_std_2010_sample.csv") )
ltdb.raw.2010f <- read.csv( here("data/raw/ltdb_std_2010_fullcount.csv") )
ltdb.rodeo.2010 <- readRDS( file = here("data/rodeo/ltdb-2010.rds") )
complete.rodeo <- readRDS( file = here("data/rodeo/rodeo-data-rn.rds") )
nrow( ltdb.raw.2000s ) # 72,693
nrow( ltdb.raw.2000f ) # 72,693
nrow( ltdb.rodeo.2000 ) # 72,693
nrow( ltdb.raw.2010s ) # 73,056
nrow( ltdb.raw.2010f ) # 74,002
nrow( ltdb.rodeo.2010 ) #74,022
nrow( complete.rodeo ) # 59,066
Explain why the number of rows is less
Answer: The rodeo data were trimmed to remove rural districts and
tracts with home values below $10,000 in 2000 and with growth percentages exceeding 200%. This removes outliers in the data to prevent skewed analysis.
Descriptive Statistics
stargazer( df,
type = S_TYPE,
digits = 0,
summary.stat = c("min", "p25","median","mean","p75","max") )
|
|
|
Statistic
|
Min
|
Pctl(25)
|
Median
|
Mean
|
Pctl(75)
|
Max
|
|
|
|
MedianHomeValue2000
|
11,167
|
105,661
|
154,903
|
187,129
|
224,337
|
1,288,551
|
|
MedianHomeValue2010
|
9,999
|
123,200
|
193,200
|
246,570
|
312,000
|
1,000,001
|
|
MHV.Change.00.to.10
|
-1,228,651
|
7,187
|
36,268
|
60,047
|
94,881
|
1,000,001
|
|
MHV.Growth.00.to.12
|
-97
|
6
|
25
|
33
|
50
|
6,059
|
|
|
Plots
### PERCENT PROFESSIONAL
gridExtra::grid.arrange( PLOTS$p_prof_2000$nmtc,
PLOTS$p_prof_2000$lihtc,
nrow = 1 )

### POVERTY RATES
gridExtra::grid.arrange( PLOTS$pov_rate_2000$nmtc,
PLOTS$pov_rate_2000$lihtc,
nrow = 1 )

### PERCENT UNEMPLOYED
gridExtra::grid.arrange( PLOTS$p_unemp_2000$nmtc,
PLOTS$p_unemp_2000$lihtc,
nrow = 1 )

### MHV Growth Rates (DV in Model)
gridExtra::grid.arrange( PLOTS$mhv_growth$lihtc,
PLOTS$mhv_growth$nmtc,
nrow = 1 )

Aggregate credits given between 2000 and 2010
Between 2000 and 2010, the NMTC program distributed 16,875,809,298 tax
credits. For the same time period, the LIHTC program distributed
5,419,920,959. The NMTC program distributed approximately three times
the total amount tax credits distributed by the LIHTC program.
sum(d$nmtc.total) # aggregate nmtc tax credits given during 2000-2010 time period
## [1] 16875809298
sum(d$lihtc.total) # aggregate lihtc tax credits given during 2000-2010 time period
## [1] 5419920959
ratio.tax.credit <- sum(d$nmtc.total) / sum(d$lihtc.total)
ratio.tax.credit
## [1] 3.113663
Predictive Analysis: Diff-In-Diff Models
# set randomization seed
set.seed( 1234 )
# Model with NMTC data and control variables
m.nmtc <- lm( y ~ treat.nmtc + post + p.prof + pov.rate + p.unemp + treat.nmtc*post, data = d3 )
# Model with LIHTC data and control variables
m.lihtc <- lm( y ~ treat.lihtc + post + p.prof + pov.rate + p.unemp + treat.lihtc*post, data = d3 )
# Display model results
stargazer( m.nmtc, m.lihtc,
type = S_TYPE,
column.labels = c("NMTC Model"),
dep.var.labels = c("Median House Value (log)"),
covariate.labels = c("Treatment - NMTC",
"Treatment - LIHTC",
"Post Time Period",
"Percent Professionals",
"Poverty Rate",
"Percent Unemployment",
"Treatment x Post - NMTC",
"Treatment x Post - LIHTC"),
digits = 2 )
|
|
|
|
Dependent variable:
|
|
|
|
|
|
Median House Value (log)
|
|
|
NMTC Model
|
|
|
|
(1)
|
(2)
|
|
|
|
Treatment - NMTC
|
0.10\*\*\*
|
|
|
|
(0.01)
|
|
|
|
|
|
|
Treatment - LIHTC
|
|
0.01\*\*
|
|
|
|
(0.01)
|
|
|
|
|
|
Post Time Period
|
0.20\*\*\*
|
0.20\*\*\*
|
|
|
(0.003)
|
(0.003)
|
|
|
|
|
|
Percent Professionals
|
0.02\*\*\*
|
0.02\*\*\*
|
|
|
(0.0001)
|
(0.0001)
|
|
|
|
|
|
Poverty Rate
|
-0.01\*\*\*
|
-0.01\*\*\*
|
|
|
(0.0002)
|
(0.0002)
|
|
|
|
|
|
Percent Unemployment
|
0.001\*\*\*
|
0.001\*\*\*
|
|
|
(0.0003)
|
(0.0003)
|
|
|
|
|
|
Treatment x Post - NMTC
|
0.01
|
|
|
|
(0.02)
|
|
|
|
|
|
|
Treatment x Post - LIHTC
|
|
0.01
|
|
|
|
(0.01)
|
|
|
|
|
|
Constant
|
11.27\*\*\*
|
11.27\*\*\*
|
|
|
(0.01)
|
(0.01)
|
|
|
|
|
|
|
|
Observations
|
117,114
|
117,114
|
|
R2
|
0.45
|
0.45
|
|
Adjusted R2
|
0.45
|
0.45
|
|
Residual Std. Error (df = 117107)
|
0.48
|
0.48
|
|
F Statistic (df = 6; 117107)
|
15,785.58\*\*\*
|
15,751.79\*\*\*
|
|
|
|
Note:
|
*p<0.1; **p<0.05; ***p<0.01
|
# NMTC Coefficients
b0.nmtc <- m.nmtc$coefficients[1]
b1.nmtc <- m.nmtc$coefficients[2]
b2.nmtc <- m.nmtc$coefficients[3]
b3.nmtc <- m.nmtc$coefficients[4]
# LIHTC Coefficients
b0.lihtc <- m.lihtc$coefficients[1]
b1.lihtc <- m.lihtc$coefficients[2]
b2.lihtc <- m.lihtc$coefficients[3]
b3.lihtc <- m.lihtc$coefficients[4]
# calculated post-treatment home values
T2.nmtc <- exp( b0.nmtc + b1.nmtc + b2.nmtc + b3.nmtc )
T2.lihtc <- exp( b0.lihtc + b1.lihtc + b2.lihtc + b3.lihtc )
T2.nmtc # 108074.8
(Intercept) 108074.8
(Intercept) 99068.66
Are the programs effective at catalyzing neighborhood improvement?
Answer: The New Market Tax Credit (NMTC) program is effective at
catalyzing neighborhood improvement, measured by median home value (MHV)
growth rate. According to the models above, the NMTC program had a
larger, significant growth rate than the LIHTC program . B3
(the growth rate of the treatment group above the secular growth rate)
is significant for both the NMTC and LIHTC programs.
Reflection
How can we test the parallel lines assumption in this model? We know
that growth rates change significantly between periods. The market for
urban homes from 1990-2000 looks very different from the market in 2000
to 2010.
Answer: A linear diff-in-diff approach measures the slopes from a
one-unit change in the independent variable to a change in the median
house value. Given that growth rates (slopes) change significantly
between time periods for this evaluation, a linear approach would fail
the parallel lines assumption. Instead, we use a log-linear approach
where one-unit change change in the independent variable is associated
with the growth rate of median house values.
Chapter References
Code in this chapter was adapted from lab designs by Dr. Jesse Lecy and Professors Courtney Stowers and Christian Nuno at Arizona State University.