<div dir="ltr">Hello Deb<div><br></div><div>I think this a problem (which may happen when a matrix type switches accidentally to complex) has been solved since then: if you switch to grocer 1.65 this should work.</div><div><br></div><div>Éric.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-09 18:10 GMT+01:00 dnayak <span dir="ltr"><<a href="mailto:dnayak@ncsu.edu" target="_blank">dnayak@ncsu.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am new to Scilab and GROCER, but have successfully used it for parameter<br>
estimation in case of a single variable VAR model. My problem arises when I<br>
try to do the same with a 2-variable VAR model.<br>
<br>
I am using GROCER 1.62 on Scilab 5.5.1 in a Windows 7 (64-bit) machine.<br>
<br>
When I use a 2 state model, GROCER is running fine. The commands I use in<br>
this case are as follows:<br>
nb_states = 2<br>
switch_var = 2<br>
var_opt = 3<br>
r=ms_var('all',1,['l';'r'],nb_states,switch_var,var_opt,'prt=initial;final','opt_convg=0')<br>
<br>
However, GROCER throws an error in case of a 3 state model. The commands I<br>
use in this case are:<br>
nb_states = 3<br>
switch_var = 3<br>
var_opt = 3<br>
r=ms_var('all',1,['l';'r'],nb_states,switch_var,var_opt,'prt=initial;final','opt_convg=0')<br>
<br>
The error I get is:<br>
!--error 144<br>
Undefined operation for the given operands.<br>
check or define function %s_4_s for overloading.<br>
at line      44 of function %s_pow called by :<br>
at line     158 of function MSVAR_SetInit called by :<br>
at line     165 of function ms_estimate called by :<br>
at line     309 of function ms_var called by :<br>
r=ms_var('all',1,['l';'r'],nb_states,switch_var,var_opt,'prt=initial;final','opt_convg=0')<br>
<br>
I fail to compehend the reason behind this error. Can someone please help me<br>
out here??<br>
<br>
Thanks,<br>
Deb<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://mailinglists.scilab.org/GROCER-ms-var-throwing-errors-during-estimation-in-case-of-a-VAR-tp4031839.html" target="_blank">http://mailinglists.scilab.org/GROCER-ms-var-throwing-errors-during-estimation-in-case-of-a-VAR-tp4031839.html</a><br>
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
</blockquote></div><br></div>