les used in constraints can be any variable that has been
defined at the point the constraint is used. For instance,</p>
<pre class="stan"><code>data {
   int&lt;lower=1&gt; N;
   real y[N];
}
parameters {
   real&lt;lower=min(y), upper=max(y)&gt; phi;
}</code></pre>
<p>This declares a positive integer data variable <code>N</code>, an array
<code>y</code> of real-valued data of length <code>N</code>, and then a parameter
ranging between the minimum and maximum value of <code>y</code>. As shown
in the exampl