color="#000100" size="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;within[j, 5] &lt;- step(bound[4] - theta[j + 11])<br>
</font><font face="Arial" color="#000100" size="1">&nbsp;&nbsp;&nbsp;
</font><font face="Arial" color="#000100" size="3">&nbsp;&nbsp;&nbsp;}<br><br><br>
</font><font face="Arial" color="#000100" size="1">&nbsp;&nbsp;&nbsp;
</font><font face="Arial" color="#000100" size="3">&nbsp;&nbsp;&nbsp;for (i in 1:nDate){<br>
</font><font face="Arial" color="#000100" size="1">&nbsp;&nbsp;&nbsp;
</font><fon