<div dir="ltr">Hi Eric,<div><br></div><div>I did everything just the way you asked me to. I even got the message '' --- new MSVAR_SerInit --- '', when I ran my estimation. However, I am still getting the same error. But, it is in line 161 now, as you predicted.</div><div><br></div><div><div>!--error 144 </div><div>Undefined operation for the given operands.</div><div>check or define function %s_4_s for overloading.</div><div>at line      44 of function %s_pow called by :  </div><div>at line     161 of function MSVAR_SetInit called by :  </div><div>at line     165 of function ms_estimate called by :  </div><div>at line     306 of function ms_var called by :  </div><div>r=ms_var('all',1,['l';'r'],nb_states,switch_var,var_opt,'prt=initial;final','opt_convg=0')</div></div><div><br></div><div>I attach here both the original csv file that has my data and the dat file that I obtained from the csv file using the impexc2bd command.</div><div><br></div><div>I run my estimation using the following steps:</div><div>1. Load data - load('C:\Users\Adminuser\Desktop\TEST\Alice\AliceGROCERleftIrightP.dat')</div><div>2. nb_states = 3</div><div>3. switch_var = 3</div><div>4. var_opt = 3</div><div>5. r=ms_var('all',1,['l';'r'],nb_states,switch_var,var_opt,'prt=initial;final','opt_convg=0')</div><div><br></div><div>Hope this helps.</div><div><br></div><div>Thanks,</div><div>Deb</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 12, 2015 at 4:30 AM, Eric Dubois [via Scilab / Xcos - Mailing Lists Archives] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4031882&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        <div dir="ltr"><span class=""><div><div><div><div><div>Hi Deb.<br><br></div>Could you please download the attach file in a new folder (say c:/new_ms) and:<br></div>- load the file with the following command:<br></div>--> getd('c:/new_ms')<br></div>- then run again your estimation code<br></div><div>- check that the program displays:<br><br>--- new MSVAR_SerInit ---<br><br></div><div>Then<br></div><div>1) if your estimation ends without error, fine (but this should mean that you have not properly installed Grocer v1.65, then please tell me exactly what you did - did you use Atoms or did you download Grocer from my web site? Where did you unzip the zip file? What mesages did you obtain?)<br></div></span><div>2) if you have the same error -except that it should now happen at line 161 of function MSVAR-SetInit- then could you send me your data and code (you can send it directly at <a href="http:///user/SendEmail.jtp?type=node&node=4031875&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a> or <a href="http:///user/SendEmail.jtp?type=node&node=4031875&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>), so that I can figure out what happens exactly?<br></div><div><br></div><div>Éric.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2015-03-11 22:56 GMT+01:00 dnayak <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=4031875&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span>:<br></span><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><span class="">Hi Eric,<br>
<br>
Thanks for your prompt reply. I did as you asked me to do. I removed GROCER<br>
1.62 and used 1.65. But still the same error is appearing.<br>
<span><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>
</span>at line     306 of function ms_var called by :<br>
<span>r=ms_var('all',1,['l';'r'],nb_states,switch_var,var_opt,'prt=initial;final','opt_convg=0')<br>
<br>
</span>As I said earlier, when I use 2 states, GROCER starts working. It throws the<br>
error when I use 3 states.<br>
<br>
Thanks,<br>
Deb<br>
<br>
<br>
<br></span>
--<br>
View this message in context: <a href="http://mailinglists.scilab.org/GROCER-ms-var-throwing-errors-during-estimation-in-case-of-a-VAR-tp4031839p4031873.html" rel="nofollow" link="external" target="_blank">http://mailinglists.scilab.org/GROCER-ms-var-throwing-errors-during-estimation-in-case-of-a-VAR-tp4031839p4031873.html</a><br>
<div><div><span class="">Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.<br>
_______________________________________________<br>
users mailing list<br>
</span><a href="http:///user/SendEmail.jtp?type=node&node=4031875&i=3" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div><span class="">
<br>_______________________________________________
<br>users mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=4031875&i=4" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.scilab.org/mailman/listinfo/users" rel="nofollow" link="external" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br></span><div><br><img src="http://mailinglists.scilab.org/images/icon_attachment.gif"> <strong>MSVAR_SetInit.sci</strong> (6K) <a href="http://mailinglists.scilab.org/attachment/4031875/0/MSVAR_SetInit.sci" rel="nofollow" link="external" target="_blank">Download Attachment</a></div>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><span class="">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </span><a href="http://mailinglists.scilab.org/GROCER-ms-var-throwing-errors-during-estimation-in-case-of-a-VAR-tp4031839p4031875.html" target="_blank" rel="nofollow" link="external">http://mailinglists.scilab.org/GROCER-ms-var-throwing-errors-during-estimation-in-case-of-a-VAR-tp4031839p4031875.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from GROCER: ms_var throwing errors during estimation in case of a VAR, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br></div>
<!--start-attachments--><div class="small"><br/><img src="http://mailinglists.scilab.org/images/icon_attachment.gif" > <strong>AliceGROCERleftIrightP.csv</strong> (71K) <a href="http://mailinglists.scilab.org/attachment/4031882/0/AliceGROCERleftIrightP.csv" target="_top" rel="nofollow" link="external">Download Attachment</a><br/><img src="http://mailinglists.scilab.org/images/icon_attachment.gif" > <strong>AliceGROCERleftIrightP.dat</strong> (113K) <a href="http://mailinglists.scilab.org/attachment/4031882/1/AliceGROCERleftIrightP.dat" target="_top" rel="nofollow" link="external">Download Attachment</a></div><!--end-attachments-->

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://mailinglists.scilab.org/GROCER-ms-var-throwing-errors-during-estimation-in-case-of-a-VAR-tp4031839p4031882.html">Re: GROCER: ms_var throwing errors during estimation in case of a VAR</a><br/>
Sent from the <a href="http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html">Scilab users - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br/>