Deductible Imputation in Administrative Medical Claims Datasets
Code to Share - READ ME File

These files contain code we used to create the four methods of deductible imputation that we test in this study. While one won't be able to run these files because we are using proprietary data, we hope that sharing our code will help others understand how these different methods were constructed.  

"0.Master Do File.do" contains is the master file that shows the workflow of the other files. Running this file from start to finish would successfully compute all predicted deductibles for our imputation methods if one had the necessary datasets. 

"1.Regress on Spending Method Prediction.do" contains the code to recreate the predicted deductibles for the regress on spending method. 

"2.Regress on Imputed Deductibles Method Prediction.do" contains the code to recreate the predicted deductibles for the regress on imputed deductibles method. 

"3.Mode Method Prediction.do" contains the code to recreate the predicted deductibles for the mode method. 

"4.80th Percentile Method Prediction.do" contains the code to recreate the predicted deductibles for the 80th percentile method. 