Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pechouc/dbs_empirical_analysis
https://github.com/pechouc/dbs_empirical_analysis
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pechouc/dbs_empirical_analysis
- Owner: pechouc
- Created: 2022-06-21T12:57:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-10T15:02:41.000Z (about 1 year ago)
- Last Synced: 2024-11-19T19:07:07.692Z (2 months ago)
- Language: Python
- Size: 7.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dbs_empirical_analysis
For my master thesis at Institut Polytechnique de Paris, this repository accompanies [ongoing work](https://github.com/pechouc/destination-based-sales) on the adjustment of aggregated country-by-country report statistics to approximate a destination-based mapping of multinational companies' sales. It contains data files, Python and Stata scripts and command line instructions (for Linux / Mac) that allow to replicate my econometric analysis.
## Replicating the econometric analysis
### Fetching the code and data
To run the code and replicate the analysis, you can clone this repository with the following command:
```
git clone [email protected]:pechouc/dbs_empirical_analysis.git
```As an alternative, you can for instance download it as a `.zip` archive as in this picture:
### Collecting the missing data files
Some large data files (the BACI database, CEPII's gravity database and the OECD's country-by-country report statistics) are however missing from the repository. Once you have cloned the repository, if you work under MacOS or Linux, you can run:
```
cd dbs_empirical_analysis
sh fetch_data.sh
```Otherwise the links to download the relevant data are in `fetch_data.sh`.
### Running the estimation
After having loaded the missing data files, you can run the Python and Stata scripts.
The easiest option is to use the command line instructions that gather the whole protocol:
```
sh protocol.sh
```The results will be stored directly as LaTeX outputs in the dedicated folder (`latex_outputs`).
## Additional remarks
I am working on these topics for my master thesis, as part of the second year of the Master in Economics of Institut Polytechnique de Paris. The goal of this econometric analysis is to evaluate, based on country-by-country report statistics, whether and to what extent multinational companies' unrelated-party revenues respond to corporate income taxation. For any remark or question, feel free to write to [email protected].