Skip to content

JohannesSKunz/ReductionsInOut-of-PocketPrices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReductionsinOut-of-PocketPrices

Replication files and simulations for Johansson et al 2023 JHE


Overview

This repository contains replication files and data for Johansson, de New, Kunz, Petrie and Svensson (2023); more details can be found in the paper.

The analysis is based on external restricted 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 shall not hesitate to contact Naimi Johansson about any of these. For brevity, we also exclude the multitude of replication files for the Appendix version but are happy to provide these upon request.

We first explain our kinked Donut Regression Discontinuity design approach using a simple simulation exercise and then briefly discuss how the results can be replicated (following an application to the data custodians)

Simulation

Estimate kinked Donut RDD

The figure shows the data and estimated slopes for set bandwidth.

Some STATA estimation command

Here is an exemplary Stata script (see also simulation folder):

* Estimate OLS 
reg y PostBd age agePostBd period1age period4age x time 

* Get parameters
su time 
sca meantime = r(mean)*_b[time]
di meantime

su x 
sca meanx = r(mean)*_b[x]
di meanx

loc p1 =  - m
loc p2 =    n

loc start = - window
loc end   =   window
* -----------------------------------------		  
* Effects 
sca longrun  = (_b[_cons] + _b[PostBd] + meantime + meanx -`p2'*_b[period4age]) - (_b[_cons] + meantime + meanx -`p1'*_b[period1age])
di longrun	
	  
sca shortrun =  _b[PostBd]
di shortrun	  
* -----------------------------------------		  
* Area 
sca lower_triang =  0.5*m*(m*_b[period1age])
di lower_triang

sca upper_triang =  0.5*n*(n*_b[period4age])
di upper_triang

In the Simulation folder, we also present an example of how to find the optimal bandwidth using a simple grit search algorithm.

Replication do-files

We do not repost the full dataset as these are proprietary, they can be accessed as explained below.

We present however all data extraction files and all do files used in the main part of the analysis:

* Generate working dataset
"1. data set base.do"
*** in this dofile, we set up the structure for the data set "cells_1y_base.dta". 730 observations per individual, one observation per day in relation to the 85th birthday.
"2. sample & backgr covars.do"
*** in this dofile, we prepare the sample's background characteristics e.g. date of 85th birthday "sample.dta", and merge the relevant variables onto "cells_new_1y.dta". 
"3. organize visits data.do"
*** in this dofile, we prepare the data sets of visits (visits by date), and merge in variables from "sample.dta" to calculate visits by cellday (day in relation to 85th birthday)

* Dofiles for analysis
"4. Search for optimal donut hole.do"
*** in this dofile, we search for the optimal donut hole (minimizing AIC/BIC)
"5. regression base.do"
*** this dofile contains the main code for the regression analysis, a regression loop for various donut holes and, a post-estimation of fitted values to draw graphical results 

Data access

The administrative data used in this study are proprietary and we would be violating juridical and ethical agreements with government authorities if we distributed the data. The data may be accessed from Swedish national and regional government authorities (Statistics Sweden, Region Västra Götaland and Region Stockholm) for researchers that (i) can show that they have ethical approval from an external body for the analyses, and (ii) submit their research plan together with a formal application to the authorities.

Update History

  • February 3, 2023
    • initial commit
  • June 5, 2023
    • added files

Authors:

Naimi Johansson
Örebro University

Sonja De New
Monash University

Dennis Petrie
Monash University

Johannes S Kunz
Monash University

Mikael Svensson
University of Florida

References:

Naimi Johansson, Sonja C. De New, Johannes S. Kunz, Dennis Petrie, & Mikael Svensson. 2023. Reductions in Out-of-Pocket Prices and Forward-Looking Moral Hazard in Health Care. Journal of Health Economics. 102710.

About

Replication files and simulations for Johansson et al 2023 JHE

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages