This readme file explains program files and Datasets used for simulation studies and data analysis in Qian and Xie (2014), Driving More Effective Data-based Innovations: Enhancing the Utility of Secure Databases. Management Science. Below is the description of files: 

1. Datasets: abbgh.csv (for competition and innovation example) and MSShuffle.csv (for data warehouse example).
2. Programs: Two R programs (DataAnalysis.R and pfunc.R) and one FORTRAN executable (privacy.exe).
3. Outputs file: ten .txt files that contain the generated secure databases.
4. To run the programs, download all files and save them under the same folder in Windows operating system. Then source DataAnalysis.R in R to run the programs. These codes work under R 2.12.1. FORTRAN executable is compiled using Fortran Compiler 9.1 and IMSL library 5.0. 



