e><h2>2. Cost-Related Metrics<a name="2"></a></h2><pre class="codeinput">m.moyenne(1,:,p) = mean(Year);  <span class="comment">%average debt cost by year</span>
m.med(1,:,p) = median(Year);    <span class="comment">%median debt cost by year</span>
m.standev(1,:,p) = std(Year);   <span class="comment">%standard deviation of debt cost by year</span>

m.car.aCaR(1,:,p) = prctile(Year,100*s.alpha);  <span class="comment">%absolute cost-at-risk by year at specified risk level (0.95)</span>
m.car.rCaR(1,:,p) = m.