%% The effect of GDD: Compare U with and without GDD; goes to line 2 of page 18 

clear all;
load result_baseline_3prm;

D0 = D;
D1 = zeros(48,1);

Total_y_GDD = gdd_counterfactual(D0,sxi)';
Total_y_noGDD = gdd_counterfactual(D1,sxi)';

for i=1:T
ratio(i,1) = Total_y_noGDD(i,1)/Total_y_GDD(i,1);
end

Avg_ratio = 1-mean(ratio,1);
