- Current version:
1.0.0 22oct2022
- Jump to:
overview
crosswalk
example
replication codes
source files
update history
authors
references
This repository contains replication files and data for Kunz and Propper (2022); more details can be found in the paper.
The analysis is based on several external datasets that we do not re-post here since they are held by different entities. Here, we describe how to access them and provide our codes. We are encouraging any replication attempt, and interested readers should not hesitate to contact Johannes Kunz about any of these. For brevity, we exclude the multitude of replication files for the Appendix version but are happy to provide these upon request.
We first explain the crosswalk and then present an example of how the crosswalk of HRR variates (hospital quality) and County-level outcomes (deaths from COVID-19) can be applied.
In the paper, we explicitly describe the crosswalk to relate HRR-level variates to County-level outcomes.
We assign to each county a weighted average of the quality exposure, which is equal to the fraction of zip codes that belong to the referral network. Weights are the number of zip codes in a county that merge into an HRR, divided by the total number of zip codes in the county, i.e.
We average across hospitals within a given HRR to derive quality at the HRR level and use these weights to calculate exposure at the county level. For example, Autauga County comprises 13 zip codes, 4 of which belong to HRR Birmingham and 9 to HRR Montgomery, with hospital quality averages of 0.34 and 0.28, respectively (where lower numbers reflect poorer quality). In this example, the assigned weighted quality exposure is 0.30. This places Autauga County in the 62.94th percentile of the county quality distribution, which has a mean of 0.38 and a standard deviation of 0.12.
We refer to this approach as “zip-weighted”.
The crosswalk contains other weighting methods, in our case, as robustness checks. First, we calculate quality exposure as the average of all HRRs a county has referral ties to without weighing by how many zip codes in a county belong to an HRR. We refer to this as an “equally-weighted” quality exposure. Second, the crosswalk file also contains an approach zip-code population-weighted weights (using census population estimates).
Finally, Dartmouth-DAC provides a complementary crosswalk that is similar in many respects but results in more missing values. In our application, either crosswalk produces similar results, but this is not guaranteed.
The figure shows the application of the weighting for North Carolina.
NC has access to nine HRRs (Asheville, Charlotte, Durham, Greensboro, Greenville, Hickory, Raleigh, Wilmington, and Winston-Salem); thus, each county might have ties to several hospital referral regions. In the left Figure, we show the raw weighting, and in the right, conditional on county-level characteristics (residualized) from our application.
Across the whole country, the quality looks like this:
Of course, any other HRR-level characteristic can be disaggregated in the same manner.
Here is the Stata script (see also example folder):
* change path
cd "˜/Hospitalcompare/_raw/"
* 1. Load any type of HRR data, ie. Dartmouth provides a host of measures (in our application we use individual hospital quality aggregated to the HRR-level)
* Here for a simple example we just count the number of beds in HRR from AHA (see _sourcefiles for the source of data)
use Dartmouth_HOSPITALRESEARCHDATA/hosp16_atlas.dta
collapse (sum) AHAbeds , by(hrr)
* 2. Adjust format and merge with crosswalk
tostring hrr, gen(hrrnum)
merge 1:m hrrnum using ˜/crosswalk/crosswalk_county_hrr.dta, nogen
* 3. Collapse on county-level for further analysis, using our preferred weights, others are provided
collapse (mean) AHAbeds [aw=zip_count_weight_in_HRR] , by(countyfips)
Here, we collect all files and data used in our analysis. We did not repost the full dataset as it was too large for the GitHub repository. Please contact us if you have issues replicating it.
We do not re-post the publicly available datasets from the various sources here since they belong to different entities; however, we present all sources and do-files for extracting and preparing the data.
If you are interested in the exact datasets (or if there are updates or they are no longer available), please contact us directly.
The source file folder contains an overview of the files we used.
The quality metrics are constructed in Kunz et al (2024) and associated replication files can be found here.
- October 22, 2022
- initial commit
Johannes S. Kunz
Monash University
Carol Propper
Imperial College London and Monash University
Kunz, J. S., K. E. Staub, & R. Winkelmann. 2021. Predicting Individual Effects in Fixed Effects Panel Probit Models. Journal of the Royal Statistical Society: Series A. 184(3): 1109-1145.
Kunz, J. S., Propper, C., Staub, K. E. & Winkelmann, R. 2024. Assessing the quality of public services: For-profits, chains, and concentration in the hospital market Health Economics. In press.
Kunz, J. .S & C. Propper. 2022. JUE Insight: Is Hospital Quality Predictive of Pandemic Deaths? Evidence from US Counties. Journal of Urban Economics. Forthcoming