{"id":19634120,"url":"https://github.com/pmichaillat/fairness","last_synced_at":"2025-02-26T21:24:49.779Z","repository":{"id":98753555,"uuid":"472889395","full_name":"pmichaillat/fairness","owner":"pmichaillat","description":"Code and data for the paper \"Pricing under Fairness Concerns\"","archived":false,"fork":false,"pushed_at":"2024-02-10T18:35:11.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T16:06:25.873Z","etag":null,"topics":["dynare","fair-prices","fairness","inflation","markups","matlab","new-keynesian-model","paper-with-code","phillips-curve","price-rigidity"],"latest_commit_sha":null,"homepage":"https://pascalmichaillat.org/8/","language":"MATLAB","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmichaillat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-22T18:28:46.000Z","updated_at":"2024-09-30T16:01:04.000Z","dependencies_parsed_at":"2024-11-11T12:30:12.430Z","dependency_job_id":null,"html_url":"https://github.com/pmichaillat/fairness","commit_stats":null,"previous_names":["pmichaillat/fairness"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmichaillat%2Ffairness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmichaillat%2Ffairness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmichaillat%2Ffairness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmichaillat%2Ffairness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmichaillat","download_url":"https://codeload.github.com/pmichaillat/fairness/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240936664,"owners_count":19881361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dynare","fair-prices","fairness","inflation","markups","matlab","new-keynesian-model","paper-with-code","phillips-curve","price-rigidity"],"created_at":"2024-11-11T12:19:36.721Z","updated_at":"2025-02-26T21:24:49.747Z","avatar_url":"https://github.com/pmichaillat.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pricing under Fairness Concerns: Code and Data\n\nThis repository contains the code and data accompanying the paper \"Pricing under Fairness Concerns\", written by [Erik Eyster](https://econ.ucsb.edu/people/faculty/erik-eyster), [Kristof Madarasz](https://www.lse.ac.uk/management/people/academic-staff/kmadarasz), and [Pascal Michaillat](https://pascalmichaillat.org), and published in the [Journal of the European Economic Association](https://doi.org/10.1093/jeea/jvaa041) in June 2021. \n\n## Paper webpage\n\nThe paper and its online appendix are available at https://pascalmichaillat.org/8/.\n\n## Figure 1\n\nFigure 1 is produced by the MATLAB script `figure1.m`. \n\nThis script calls two Dynare scripts:\n\n+ `irfFairnessMonetary.mod` – Compute the impulse response functions of the New Keynesian model with fairness under monetary shocks\n+ `irfTextbookMonetary.mod` – Compute the impulse response functions of the textbook New Keynesian model under monetary shocks\n\nThe script then produces the six panels of figure 1:\n\n+ `figure_1_exogenous_component_of_monetary_policy.pdf` – Response of the exogenous component of the monetary-policy rule\n+ `figure_1_inflation_rate.pdf` – Response of the inflation rate\n+ `figure_1_perceived_price_markup.pdf` – Response of the perceived price markup\n+ `figure_1_actual_price_markup.pdf` – Response of the actual price markup\n+ `figure_1_employment.pdf` – Response of employment\n+ `figure_1_output.pdf` – Response of output\n\n## Table 4\n\nTable 4 is produced in the Excel workbook `table4.xlsx`.\n\n## Figure 2\n\nFigure 2 is produced by the MATLAB script `figure2.m`. \n\nThis script calls two Dynare scripts:\n\n+ `irfFairnessTechnology.mod` – Compute the impulse response functions of the New Keynesian model with fairness under technology shocks\n+ `irfTextbookTechnology.mod` – Compute the impulse response functions of the textbook New Keynesian model under technology shocks\n\nThe script then produces the six panels of figure 2:\n\n+ `figure_2_technology_level.pdf` – Response of the technology level\n+ `figure_2_inflation_rate.pdf` – Response of the inflation rate\n+ `figure_2_perceived_price_markup.pdf` – Response of the perceived price markup\n+ `figure_2_actual_price_markup.pdf` – Response of the actual price markup\n+ `figure_2_employment.pdf` – Response of employment\n+ `figure_2_output.pdf` – Response of output\n\n## Figure 3\n\nFigure 3 is produced by the MATLAB script `figure3.m`. The script produces the two panels of figure 3:\n\n+ `figure_3_price_markup.pdf` – Long-run Phillips curve in terms of price markup\n+ `figure_3_employment.pdf` – Long-run Phillips curve in terms of employment\n\n## Figure B.1\n\nFigure B.1 (in online appendix B) is produced by the MATLAB script `figureB1.m`. \n\nThis script calls one Dynare script:\n\n+ `passthrough.mod` – Compute the response of a firm's price to a cost shock\n\nThe script then produces the figure and saves it as `figure_B1.pdf`.\n\n## Software\n\nThe results were obtained on a Mac running macOS Catalina 10.15.6 with the following software:\n\n+ MATLAB R2020a\n+ Dynare 4.5.7\n+ Microsoft Excel 16.16.24\n\n## License\n\nThe content of this repository is licensed under the terms of the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmichaillat%2Ffairness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmichaillat%2Ffairness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmichaillat%2Ffairness/lists"}