This repository contains code for analyzing the relationship between MSCI inclusion (capital market liberalization) and digital transformation of firms.
This research examines how inclusion in the MSCI Emerging Markets Index affects companies' digital transformation efforts. The analysis uses difference-in-differences and other econometric approaches to identify causal relationships and underlying mechanisms.
patie_preprocess/
├── config.py # Configuration settings
├── main.py # Main entry point
├── src/
│ ├── data_preprocessing.p # Data preparation
│ ├── analysis/ # Analysis modules
│ │ ├── descriptive.py # Descriptive statistics
│ │ ├── hypothesis.py # Hypothesis testing
│ │ ├── models.py # Econometric models
│ │ └── mechanisms.py # Mechanism analysis
│ └── visualization/ # Visualization modules
│ ├── descriptive_plots.py # Descriptive visualizations
│ ├── model_plots.py # Model result visualizations
│ └── mechanism_plots.py # Mechanism visualizations
├── dataset/ # Data directory
└── results/ # Generated figures
- Clone this repository
- Install dependencies:
pip install -r requirements.txt
Run the full analysis:
python main.py
The script will:
- Preprocess the data
- Run descriptive analysis
- Perform hypothesis testing
- Conduct model analysis
- Analyze potential mechanisms
- Generate visualizations for all analyses
- Data Preprocessing: Cleans, transforms, and prepares data for analysis
- Descriptive Analysis: Generates summary statistics and correlation matrices
- Hypothesis Testing: Tests key hypotheses about MSCI inclusion and digital transformation
- Model Analysis: Implements DiD models, event studies, matching methods, and robustness checks
- Mechanism Analysis: Explores potential causal mechanisms including financial access, corporate governance, and investor scrutiny
- Python 3.7+
- pandas
- numpy
- matplotlib
- statsmodels
- scikit-learn
- seaborn
- pathlib
[License Information]