ered" number="">Multivariate Inputs</h3>
<p>Only the input data needs to change in moving from a univariate model to a
multivariate model.</p>
<p>The only lines that change from the univariate model above are as follows.</p>
<pre><code>data {
  int&lt;lower=1&gt; N;
  int&lt;lower=1&gt; D;
  vector[D] x[N];
}
transformed data {
...
...</code></pre>
<p>The data are now declared as an array of vectors instead of an array of
scalars; the dimensionality <code>D</code> is also declared.</p>
<p>In the remainder o