// Scilab code developed by: // International Research Institute for Climate and Society // Columbia University in the City of New York, USA // Last update: June 26, 2013 // -------------------------------------------------------------------------------------------------------- // Dependancies : (see each function for further details) // -- function infected_basic.sci for basic model executions // -------------------------------------------------------------------------------------------------------- // Functions : // -- Compute the mean over five years of the number of infected peoples for the four seasons // -- Output is used for the sensitivity Sobol analysis // -------------------------------------------------------------------------------------------------------- function[I1]=infected_sensitivity(param,XXX) I=infected_basic(param,1,3300,XXX); ev=[50,140,230,310]; for i=1:4 I1(i)=sum(I((1463+ev(i)+1):365:(1463+ev(i)+1+4*365)))/5 end endfunction