;   %standard deviation of debt cost by year

m.car.aCaR(1,:,p) = prctile(Year,100*s.alpha);  %absolute cost-at-risk by year at specified risk level (0.95)
m.car.rCaR(1,:,p) = m.car.aCaR(1,:,p)-m.moyenne(1,:,p); %relative cost-at-risk by year 
m.car.cCaR_y2y(1,:,p) = prctile(Year(:,2:end)-Year(:,1:end-1),100*s.alpha);     %absolute cost-at-risk of year-to-year change, by year 
m.car.crCaR_y2y(1,:,p) = m.car.cCaR_y2y(1,:,p)-mean(Year(:,2:end)-Year(:,1:end-1)); %relative cost-at-risk of year-to-year change, b