I have the following code :
data DEFBIS.Taux_fec_2006_2010;
set DEFBIS.Taux_fec_2006_2010;
Taux_15 = 1000 * N_15 / (5 * P_15);
Taux_16 = 1000 * N_16 / (5 * P_16);
...
Taux_49 = 1000 * N_49 / (5 * P_49);
run;
How can I condense this code using a do
statement from i = 15 to 49
?