<div dir="ltr">Hi Eric,<div><br></div><div>I used the new MSVAR_SetInit.sci that you sent me yesterday. I used the getd command to load the new script and then proceeded as before.</div><div><br></div><div>This time GROCER is not throwing any error, but I am not sure whether it is working at all.</div><div><br></div><div>After I run the estimation process, I get the message ----- 'Type 'resume' or 'abort' to return to standard level prompt.'. Previously, GROCER would print the initial values set by the program for the different parameters and then go into the optimization step, when it would asked me to wait. Nothing like that is happening now. Also, I can see a lot of variables get loaded into the variable browser, which do not bear any meaning for me.</div><div><br></div><div>Am I following the right process? Please let me know.</div><div><br></div><div>Thanks,</div><div>Deb</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 12, 2015 at 5:26 PM, Eric Dubois [via Scilab / Xcos - Mailing Lists Archives] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4031886&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"><span class="">

        <div dir="ltr">Hello Deb.<div><br></div><div>There was indeed another real variable becoming complex (although its imaginary part was nil) before line 158. A rare problem, but sorry for not having antici^pated it could happen.</div><div><br></div><div>I have solved the problem in the attached MSVAR_SetInit file (although I have not waited until full convergence, which seems to be rather long).</div><div><br></div><div>Éric.</div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2015-03-12 18:22 GMT+01:00 dnayak <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=4031883&i=0" 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"><div dir="ltr">Hi Eric,<div><br></div><span class=""><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><span><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></span><div>at line     161 of function MSVAR_SetInit called by :  </div><span><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></span></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></span></div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote"><span>On Thu, Mar 12, 2015 at 4:30 AM, Eric Dubois [via Scilab / Xcos - Mailing Lists Archives] <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=4031882&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br></span><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote">

        <div dir="ltr"><span><span><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></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><span>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></span><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><span><span>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>
</span><div><div><span><span>Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.<br>
_______________________________________________<br>
users mailing list<br>
</span></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>
<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>
                <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" rel="nofollow" link="external" target="_blank">http://mailinglists.scilab.org/GROCER-ms-var-throwing-errors-during-estimation-in-case-of-a-VAR-tp4031839p4031875.html</a>
        </div><div><div>
        <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 rel="nofollow" link="external" target="_top">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" link="external" target="_blank">NAML</a>
        </div></div></div></blockquote></div><br></div>
</div></div><div><br><span class=""><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" rel="nofollow" link="external" target="_blank">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" rel="nofollow" link="external" target="_blank">Download Attachment</a></span></div>

        
        
        
<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" rel="nofollow" link="external" target="_blank">Re: GROCER: ms_var throwing errors during estimation in case of a VAR</a><span class=""><div><div><br>
Sent from the <a href="http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html" rel="nofollow" link="external" target="_blank">Scilab users - Mailing Lists Archives mailing list archive</a> at Nabble.com.<br></div></div><br>_______________________________________________<br>
users mailing list<br>
<a href="http:///user/SendEmail.jtp?type=node&node=4031883&i=1" 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>
<br></span></blockquote></div><br></div><span class="">
<br>_______________________________________________
<br>users mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=4031883&i=2" 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><br><img src="http://mailinglists.scilab.org/images/icon_attachment.gif"> <strong>MSVAR_SetInit.sci</strong> (6K) <a href="http://mailinglists.scilab.org/attachment/4031883/0/MSVAR_SetInit.sci" rel="nofollow" link="external" target="_blank">Download Attachment</a></div>

        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        </span><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-tp4031839p4031883.html" target="_blank" rel="nofollow" link="external">http://mailinglists.scilab.org/GROCER-ms-var-throwing-errors-during-estimation-in-case-of-a-VAR-tp4031839p4031883.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>


        
        
        
<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-tp4031839p4031886.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/>