Data for: THE EFFECT OF PRICE REGULATION ON ENERGY IMBALANCES: A DID DESIGN
Data and do files to replicate the tables and results of the paper - Regressions have been elaborated using the program Stata. - The main file that runs the results is named “do_file_replicate_tables.do”. - The data used in the paper are reported in the files named “dataset_EE_1.dta” (time-series), “dataset_EE_2.dta” (panel for DiD with TSOFE and market imbalance for the Macrozone South) and “dataset_EE_3.dta” (panel for DiD with TSOFE and market imbalance for the Macrozones South and North) - Code to generate results is organized in order to replicate the tables of the paper. The do file reports the number and the title of the tables reported in the manuscript HOW TO RUN / SETUP: 1. Save data (.dta) and do files (.do) in a folder in your pc (C:). 2. Open “do_file_replicate_tables.do” using the programme stata. 3. put your directory (main folder where all files are stored) in the do_file “do_file_replicate_tables.do” within the quotations marks (cd "C:") Notes: - Code is commented to run main analysis given cleaned data sets. - The directory of the pc where files are stored needs to be defined.