README.md 2.07 KB
Newer Older
Jose MOYA's avatar
Jose MOYA committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
The new approach to model the diffusion of innovations (section 2) 
is applied to the global diffusion of the EAF in the "Mathematica" notebook:
"World_EAF.nb".

Running this code in Mathematica the reader can get the adjustments 
reported in table 2 of the paper and all the graphs of Figure A1 of 
AnnexA.

The code in the notebook "World_EAF.nb" uses as input the files:

*	World_EAF.txt	
It contains the crude steel and EAF production, the steel and scrap 
prices, the electricity price (the countries in this file correspond to 
those in which this data was loacted), it also contains the percentages
of EAF in those countries.
 
*	percent_newCountries
It contains the percentage of EAF penetration for the countries for 
which  we were not able to determine the time series of electricity 
price. Note that eventualy, we opted to use the German electrcity price
 for all countries.

Ans as input file it uses ythe file:
*	convolution.txt
This file was created manually during the ejecution of the code, it 
collects all the results transfered to table 2 of the paper and to 
produce figure A1 of annex A 
					


The section 3 of the paper is developed in the the code R
"barriers2innovation.R". This R script uses as input the following files

*	WDI2.csv  		
This file has the World development indicators from the world bank
					
*	transformaciones.csv
The author has codified in this file which is the best transformations
(if any) applied to each indicator. The selection is vissually carried 
out in the help of the file plots_and_hist2.pdf" that the own r script 
generates

*	Summary_Minimizations.csv
Input information from Mathematica with the results of the minimisation 
 of expression (7)

and produce as output the file:	

*	plots_and_hist2.pdf	
That collects the effect of some of the transformations in each of the 
indicator. This informatin is manually used to prepare the file 
"transformaciones.csv" in which the author has coded the applied 
transformations
					
Note that the models reported in table 4 of the paper are obtained at 
the bottom  of the script "barriers2innovation.R"