================================================================================================================
CONSUMER LOYALTY PROGRAMS AN RETAIL PRICES: EVIDENCE FROM GASOLINE MARKETS (Federico Rossi, Pradeep Chintagunta) 
================================================================================================================


========================================
INSTRUCTIONS FOR USING REPLICATION FILES
========================================

The files provided in this folder replicate the results reported in the paper.
The file "Dataset.csv" includes the data used in the analysis.
Each files generates results of a specific Table or Figure in the paper.
Below is the list of Tables/Figures in the paper, with the corresponding file for replication.

To run the analysis, you need Matlab (Table01-Table03) and Stata (all others).
For Stata, make sure you place the content of this folder in the current working directory.
Also, run the script "CreateStataDataset.do", to obtain the dataset in Stata format read by Stata files.


Table01-Table03
===============
Run file "Table01_Table03.m

Table04
========
Run file "Table04_DemoControls.do".

Table05
========
No replication available. This table does not present results.

Table06
========
Run file "Table06_Regression.do".

Table07
========
Run file "Table07_Regression_brandhet.do".

Table08
========
Run file "Table08_Regression_DiffGasolineDiesel.do".

Table09
========
Run file "Table09_Regression_Competition.do".

Table10
=======
Run file "Table10_Regression_Indep.do".



Figure01
========
No replication available. The histogram is generated using data from another loyalty program whose data are under NDA. 

Figure02
========
No replication available. This figure does not present results.

Figure03
========
No replication available. This figure does not present results.

Figure04
========
Run file "Figure04_GraphicalAnalysisDeadline_ENI.do".

Figure05
========
Run file "Figure05_GraphicalAnalysisDeadline_Q8.do".

Figure06
========
Run file "Figure06_GraphicalAnalysisStart_ENI.do".

Figure07
========
Run file "Figure07_GraphicalAnalysisDeadlineDieselDiff_ENI.do".

Figure08
========
Run file "Figure08_GraphicalAnalysisDeadlineDieselDiff_Q8.do".

Figure09
========
Run file "Figure09_GraphicalAnalysisDeadlineDieselDiff_ENIRIVALS.do".

Figure10
========
Run file "Figure10_GraphicalAnalysisDeadlineDieselDiff_Q8RIVALS.do".

Figure11
========
Run file "Figure11_GraphicalAnalysisStartDieselDiff_ENI.do".
