 given market model to securities' rates of returns and
returns a list of <code>returns</code> objects for each security, which can be
passed directly to a whole battery of tests.</p>
    </div>

    <pre class="usage"><span class='fu'>apply_market_model</span><span class='op'>(</span>
  <span class='va'>rates</span>,
  <span class='va'>regressors</span>,
  same_regressor_for_all <span class='op'>=</span> <span class='cn'>TRUE</span>,
  market_model <span class='op'>=</span> <span class='fu'><a href='https: