This repository contains the code and data accompanying the paper "Pricing under Fairness Concerns", written by Erik Eyster, Kristof Madarasz, and Pascal Michaillat, and published in the Journal of the European Economic Association in June 2021.
The paper and its online appendix are available at https://pascalmichaillat.org/8/.
Figure 1 is produced by the MATLAB script figure1.m
.
This script calls two Dynare scripts:
irfFairnessMonetary.mod
– Compute the impulse response functions of the New Keynesian model with fairness under monetary shocksirfTextbookMonetary.mod
– Compute the impulse response functions of the textbook New Keynesian model under monetary shocks
The script then produces the six panels of figure 1:
figure_1_exogenous_component_of_monetary_policy.pdf
– Response of the exogenous component of the monetary-policy rulefigure_1_inflation_rate.pdf
– Response of the inflation ratefigure_1_perceived_price_markup.pdf
– Response of the perceived price markupfigure_1_actual_price_markup.pdf
– Response of the actual price markupfigure_1_employment.pdf
– Response of employmentfigure_1_output.pdf
– Response of output
Table 4 is produced in the Excel workbook table4.xlsx
.
Figure 2 is produced by the MATLAB script figure2.m
.
This script calls two Dynare scripts:
irfFairnessTechnology.mod
– Compute the impulse response functions of the New Keynesian model with fairness under technology shocksirfTextbookTechnology.mod
– Compute the impulse response functions of the textbook New Keynesian model under technology shocks
The script then produces the six panels of figure 2:
figure_2_technology_level.pdf
– Response of the technology levelfigure_2_inflation_rate.pdf
– Response of the inflation ratefigure_2_perceived_price_markup.pdf
– Response of the perceived price markupfigure_2_actual_price_markup.pdf
– Response of the actual price markupfigure_2_employment.pdf
– Response of employmentfigure_2_output.pdf
– Response of output
Figure 3 is produced by the MATLAB script figure3.m
. The script produces the two panels of figure 3:
figure_3_price_markup.pdf
– Long-run Phillips curve in terms of price markupfigure_3_employment.pdf
– Long-run Phillips curve in terms of employment
Figure B.1 (in online appendix B) is produced by the MATLAB script figureB1.m
.
This script calls one Dynare script:
passthrough.mod
– Compute the response of a firm's price to a cost shock
The script then produces the figure and saves it as figure_B1.pdf
.
The results were obtained on a Mac running macOS Catalina 10.15.6 with the following software:
- MATLAB R2020a
- Dynare 4.5.7
- Microsoft Excel 16.16.24
The content of this repository is licensed under the terms of the MIT License.