Skip to content

Report for the National Board of Trade Sweden evaluating the impact of the EU-Ukraine free trade agreement on trade flows using a gravity model.

Notifications You must be signed in to change notification settings

bengtsoderlund/EU-Ukraine-Trade-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EU-Ukraine Trade Analysis

Overview

This project evaluates the impact of the EU-Ukraine Deep and Comprehensive Free Trade Agreement (DCFTA) on trade flows using a dynamic gravity difference-in-difference regression model. The analysis constitutes the basis of a report prepared by the National Board of Trade Sweden. I researched and wrote the report, and this repository contains all scripts required to reproduce the main analysis.

Full Report: Read the Report (PDF)

Methodology

  • Data Sources: The dataset consists of bilateral trade data (exports) obtained from UNCOMTRADE and gravity variables (e.g., GDP, distance, language, colonial ties) obtained from CEPII.
  • Regression Model: Implements a Dynamic Difference-in-Difference Gravity Regression using a Poisson Pseudo-Maximum Likelihood (PPML) estimator.
  • Treatment Group: All exporter-importer pairs that can be formed between Ukraine and EU members.
  • Matching: The treatment group is matched to a control group of similar exporter-importer pairs using Coarsened Exact Matching (CEM).
  • Visualization: Plots coefficient estimates over time to illustrate the impact of the trade agreement as its implementation progresses.

Setup

Clone the repository and open the .Rproj file in RStudio.

Install required R packages:

install.packages(c("dplyr", "readr", "tidyr", "penppml", "ggplot2"))

About

Report for the National Board of Trade Sweden evaluating the impact of the EU-Ukraine free trade agreement on trade flows using a gravity model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages