p'>)</span>
<span class='va'>securities_returns</span> <span class='op'>&lt;-</span> <span class='fu'>apply_market_model</span><span class='op'>(</span>
    rates <span class='op'>=</span> <span class='va'>rates</span>,
    regressor <span class='op'>=</span> <span class='va'>rates_indx</span>,
    same_regressor_for_all <span class='op'>=</span> <span class='cn'>TRUE</span>,
    market_model <span class='op'>=</span> <span class='st'>"sim"</span>,
    estimation_method <span class='op'>=</span> <span class