This subfolder contains Matlab codes for the panel data estimations reported "Social Distancing, Vaccination and Evolution of Covid-19 Transmission Rates in Europe," by A. Chudik, M. H. Pesaran and A. Rebucci, January 2022. 

The main scripts to run is: "run_me_full_sample.m", and "run_me_sub_sample.m", depending on whether full sample or post-vaccination subsample regression are run. These scripts load data from the following files (or alternatively from as single mat file, as specified on line 18 of the main script):

- confirmed_cases_txt (JHU Covid-19 data)
- OxCGRT_latest_21Dec2021.csv (WHO Covid-19 data for Spain and France)
- population.xlsx (Population data)
- OxCGRT_latest_21Dec2021.csv (Oxford indices).
- vaccination data in owid-covid-data_21Dec2021.xlsx
- covid-variants.csv (Data on covid variants from ourworldindata.org)

Full sample panel estimation results are saved in Excel files Full_sample_panel_estimation_results.xlsx and Full_sample_panel_estimation_results_robustness.xlsx. Postvaccination subsample estimation results are saved in the files Subsample_panel_estimation_results.xlsx and Subsample_panel_estimation_results_robustness.xlsx.