Re: [Scilab-users] Grocer / Markov Switching Model
Thank you Éric! Tha last consulting: Could you give me a example (or routine) to load my data (the first mail)? Best Regards Eric Doblas -- View this message in context: http://mailinglists.scilab.org/Grocer-Markov-Switching-Model-tp4025635p4025653.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Grocer / Markov Switching Model
Hello Éric, I need only one step, because I was able to replicate your example. I can load the data: Dates;LnPBI 1993q1;12,2847456986185 1993q2;12,3961633542544 1993q3;12,3993569016157 .. so on. Then, I used impexc2bd, and after that, I loaded .dat file. But, I can´t run LnPBI. Thank you! Eric -- View this message in context: http://mailinglists.scilab.org/Grocer-Markov-Switching-Model-tp4025635p4025656.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Re-sampling data and making 2 vectors
Hello, Im working with matrices with different samplings. First data //time Temp sq *091532.0 23220.37 96 * 091535.0 23221.34 95 091538.0 23220.64 95 Second data //X Y elevation Tem sq corrTem sat time massx mssy line 0375716.06 7436112.26 001179 22837.15 99 00.00 10 135924.5 0 0 0375716.06 7436112.24 001179 22834.21 99 00.00 10 135925.0 0 0 0375716.06 7436112.23 001179 22834.92 99 00.00 10 135925.5 0 0 0375716.06 7436112.23 001179 22833.72 99 00.00 10 135926.0 0 0 0375716.05 7436112.23 001179 22834.02 99 00.00 10 135926.5 0 0 0375716.05 7436112.22 001179 22833.26 99 00.00 10 135927.0 0 0 0375716.09 7436112.27 001179 22822.27 99 00.00 10 135927.5 0 0 0375716.21 7436112.44 001179 22798.54 99 00.00 10 135928.0 0 0 (is not the complete data, is an example) My problem is data1 is longer than data2. With data 1 i have one value of temperature each 3 seconds, meanwhile in data 2 I have one value of temperature each half second. I have to cut the matrixes, they should have the same lenght (because I need Data2-(Data1-mean(Data1)) , and starts at the comun hour. I dont know how do it, Any suggest? The format of the time is for example 072301 (07:23:01) -- View this message in context: http://mailinglists.scilab.org/Re-sampling-data-and-making-2-vectors-tp4025657.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Grocer / Markov Switching Model
What if you change the comma in your file into a dot (the dot is the decimal separator in Scilab)? Éric. PS: 1) if you use the file I have sent to you, then LPIB is equivalent to LnPBI you want to load into Scilab 2) and log(GDP) too! 2013/1/11 ericdoblas ericdoblasargent...@yahoo.com.ar Hello Éric, I need only one step, because I was able to replicate your example. I can load the data: Dates;LnPBI 1993q1;12,2847456986185 1993q2;12,3961633542544 1993q3;12,3993569016157 .. so on. Then, I used impexc2bd, and after that, I loaded .dat file. But, I can´t run LnPBI. Thank you! Eric -- View this message in context: http://mailinglists.scilab.org/Grocer-Markov-Switching-Model-tp4025635p4025656.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Grocer / Markov Switching Model
Dear Éric, I appreciate your great help. I can load the data!! I just need the last step. When I run r=ms_reg('100*lpbi-lagts(2,lpbi))','['100*(lagts(1,lpbi)-lagts(3,lpbi))';'100*(lagts(2,lpbi)-lagts(4,lpbi))';'100*(lagts(3,lpbi)-lagts(5,lpbi))'],'cte',nb_states,switch_var,var_opt,'transf=stud','prt=initial;final') I have !--error 276 Falta operador, coma o punto y coma. (English: missing operator, comma or dot and comma) Thank you! Best regards Eric -- View this message in context: http://mailinglists.scilab.org/Grocer-Markov-Switching-Model-tp4025635p4025659.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Maintenance information
Dear Scilab users, Due to maintenance processes, our servers won't be available for an undefined period of time on monday the 14th in the morning (GMT +1). Please accept our apologies for the inconvenience, Best regards, The Scilab Team ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Grocer / Markov Switching Model
Dear Éric, I can solve all Thank you so much for your help, and thank you for Grocer!!! It´s a fantastic toolbox!! Best regards from Argentina Eric Doblas -- View this message in context: http://mailinglists.scilab.org/Grocer-Markov-Switching-Model-tp4025635p4025666.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Re-sampling data and making 2 vectors
Hello Christophe, Regarding noise, I have the feeling that lsq_splin can do a better job than interp1, which just interpolates linearly in its default operation. However, smooth might be the best choice for this task. Regarding intersect, I considered that the data provided were representative of the case study, and taking into account only EXACT correspondence would - in this particular case - not miss any data. Cdlt Denis PS: last line should have been: disp([v',Temp1,Temp2,Temp2-(Temp1-mean(Temp1))]); -Message d'origine- De : users-boun...@lists.scilab.org [mailto:users-boun...@lists.scilab.org] De la part de Dang, Christophe Envoyé : vendredi 11 janvier 2013 17:07 À : International users mailing list for Scilab. Objet : Re: [Scilab-users] Re-sampling data and making 2 vectors Hello Denis intersect(Data1(:,1)) with this solution, you loose the information. It is also possible to interpolate the values of Data2 for the time values in Data1(:,1) with interp1 I'm not familiar with this function, and have a question about the way it works. I have the feeling that it creates polynomial arcs (splines) that goes through all the data points, am I right? If yes, then it is sensitive to noise. Is there a function that does a smoothing on several data points so you can reduce the noise? Best regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Re-sampling data and making 2 vectors
Regarding noise, I have the feeling that lsq_splin can do a better job The example in the description page looks good, I'll try to understand what they exactly mean by breakpoints. But the fact it performs regression is a good point imho. smooth might be the best choice for this task. The example that is provided here for smoooth http://help.scilab.org/docs/5.4.0/en_US/smooth.html create a smooth line, that goes away from a mean value. And using the same step for the function (i.e. replacing 0.1 by 10) also increases the amplitude. Anyway, thanks for your advice. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] please help me correct this file?
Hello All Many thanks for reading this mail, I need help to correct my script. I am teaching myself programming, so I have no official programming background. I have read all the documents for scilab and even purchased a book. could you please help fix the attached script. it is a basic program just to test my logic interlocking and my basic math functions of scilab. kind regards Naasik script.sce Description: Binary data ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Can you help me?
Dear Sir, I am a scilab user since years (version 2.0) I recently have moved to scilab on a macbook and when I draw a plot, in order to change its properties, I get the following message of error: ATTENZIONE: L'interfaccia Tcl/Tk non è installata meaning that the Tcl/Tk interface is not installed. What can I do to get rid of this problem? Thank you very much, yours, Armando Pisani. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Grocer / Markov Switching Model
Thank you very much Éric!! Best regards Eric -- View this message in context: http://mailinglists.scilab.org/Grocer-Markov-Switching-Model-tp4025635p4025675.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Can you help me?
Hello, Le 11/01/2013 18:23, Armando Pisani a écrit : Dear Sir, I am a scilab user since years (version 2.0) I recently have moved to scilab on a macbook and when I draw a plot, in order to change its properties, I get the following message of error: ATTENZIONE: L'interfaccia Tcl/Tk non è installata meaning that the Tcl/Tk interface is not installed. TcL/Tk cannot be run on Mac OSes. AFAIK, the Graphical editor GED is being to be rewritten in Java, in order to get ride of this limitation [1]. So, i am afraid that the solution is either to stay with Mac and be patient... or to go back to Windows or Linux and use GED in it current TcL/Tk release. Regards Samuel [1] for instance https://codereview.scilab.org/#/q/status:merged,n,0022444e275e (2-7/1/2013) ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Can you help me?
On 11/01/2013 21:14, Samuel Gougeon wrote: Hello, Le 11/01/2013 18:23, Armando Pisani a écrit : Dear Sir, I am a scilab user since years (version 2.0) I recently have moved to scilab on a macbook and when I draw a plot, in order to change its properties, I get the following message of error: ATTENZIONE: L'interfaccia Tcl/Tk non è installata meaning that the Tcl/Tk interface is not installed. TcL/Tk cannot be run on Mac OSes. AFAIK, the Graphical editor GED is being to be rewritten in Java, in order to get ride of this limitation [1]. So, i am afraid that the solution is either to stay with Mac and be patient... or to go back to Windows or Linux and use GED in it current TcL/Tk release. Samuel is right. The new implementation should be available with Scilab 5.5.0. Sylvestre ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users