From cottrell@wfu.edu Mon Nov 30 21:53:22 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Goodness of Fit test to normal distribution and QQ plot Date: Mon, 30 Nov 2009 21:53:21 -0500 Message-ID: In-Reply-To: 4B13A51E.1070706@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6362644720468563654==" --===============6362644720468563654== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Mon, 30 Nov 2009, Sven Schreiber wrote: > Costia schrieb: > > 2. I haven't found a Q-Q plot test in GRETL, (like in SAS e.g.). I think > > it would be a good thing to add it. > > I agree. It's not difficult to use a quick-and-dirty script to get it > done, but properly handling missing values etc. needs more care. I haven't messed much with Q-Q plots. Can anyone confirm if the following script is correct? If so, then I guess we could do it as a built-in at some point. Allin. --===============6362644720468563654==-- From talhayalta@gmail.com Tue Dec 1 04:56:36 2009 From: Talha Yalta To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] window arrangements Date: Tue, 01 Dec 2009 11:56:33 +0200 Message-ID: <5b1988aa0912010156y34c875dfi9b5daba805c824cf@mail.gmail.com> In-Reply-To: Pine.A41.4.58.0911282027200.217468@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9214218778444465812==" --===============9214218778444465812== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Dear fellow gretl users and contributors: First of all, I'd like to thank and congratulate Allin and other contributors for a successfull new release and their endless efforts making gretl keep getting better and better. I do appreciate the new window management functionality in the CVS and would like to offer my two cents on this issue: I welcome the new windows menu and I also agree that it is not as useful and intuitive even as a sub menu. Moreover, I think we are getting close to a point where we have too many menus and menu items. If I am not mistaken, about three years ago we've had a discussion regarding a reorganization of the gretl menus, which resulted in a much improved user interface. Since gretl keeps getting more and more functionality and new menu items, this may be a good time to do this again. As a result: 1)- I support Allin's proposal to merge "Data", "View" and "Sample" to 2 headings. 2)- I humbly suggest that we a)- move the "Seed for random numbers" and the "Set missing value code" menu items to the preferences window, b)- remove the second "Define new variable..." item in the Variable menu. We already have this in the Add menu and it fits there quite well. 3)- One problem I am having while working with multiple windows is that various gretl windows have the same title, which results in ANOVA, confidence ellipse, normality test etc. windows from different models getting mixed up. IMHO it would be much better if the different windows originating from different models had the name of the original model in their respective titles. That is, instead of having "gretl: ANOVA" for all ANOVA windows, we would have something like "gretl: ANOVA (Model 8)." 4)- Recently I had personally complained to Allin regarding how various error message windows could get lost below other open windows and freeze everything else. Allin was kind enough to fix this so that now we have such windows remain at the top at all times. I strongly belive that it would be better still if the various dialog boxes (such as model specification or choosing variables to plot something etc.) were to stay at the top also. These do not freeze gretl but they can sometimes get lost under other windows. Making them stay on top would ensure that the user is aware of them and do someting with them, that is either use them or close them, preventing window clutter and promoting a more organized work environment. Best regards A. Talha Yalta On Sun, Nov 29, 2009 at 3:49 AM, Allin Cottrell wrote: > > On Sat, 28 Nov 2009, Sven Schreiber wrote: > >> Allin Cottrell schrieb: >> > * The main window now has a menu item named "Windows" which >> > presents a list of open gretl windows, with icons in some cases to >> > provide an easy visual fix on what's open.  I'm not sure whether >> > this should be a sub-item of the "View" menu, or a top-level menu >> > in its own right.  For now I've made it the latter.  Any thoughts? >> >> Given that "View" is the shortest of all menus and that there >> are already nine top-level menus I would tend to favor the View >> menu. But to be honest I'm not sure if that's the best >> approach... > > I'm thinking that if this new feature is to be really useful, it > should be immediately apparent, not one layer down. > > However, I take your point about the proliferation of top-level > menu headings.  I wonder if we could do some consolidation, > perhaps reducing "Data", "View" and "Sample" to 2 headings. > >> on many systems you have a list of the open gretl windows >> already in some taskbar (don't know about windows 7 that >> Patricio mentioned). So having another such list inside gretl >> may be redundant in many situations. > > A gretl window list is less essential if the desktop has its own > (good) task-listing mechanism, yes.  But for people who have lots > of windows open I think we can probably do better.  For one thing, > we can drop the leading "gretl: " from the listed window titles so > it's easier to scan the relevant part.  And we can origanize > things to some extent, with model-related windows listed under the > model window to which they pertain. > >> I don't have the perfect solution, so I proposed a partial >> reform that would reduce the overall number of windows. > > Frankly, I don't like the idea of sticking together windows that > are currently separate.  It reduces flexibility and, IMO, destroys > the design coherence of existing windows.  I tried a test of > combining the existing main window with the icon view (this was > some months ago), and I didn't like the result at all. > >> Another possibility in principle might be to have a "gretl >> workspace window" that holds all other gretl windows (apart from >> dialog windows). > > MDI? Sorry, I don't like it. > http://en.wikipedia.org/wiki/Multiple_document_interface > >> -- BTW, that just inspired an idea: I think it would be helpful if with >> some command you could "conjure" all gretl windows to the front at the >> same time. Actually, if that were possible, I would tend to think that >> it's actually not necessary to reduce the number of windows! So, is it >> possible? > > Hmm, tessellating the plane with gretl windows? I don't know how > easy that would be. > >> thanks, especially for your open-mindedness about this issue, > > As you see, I'm open-minded only up to a point!  But we'll see > what we can do. > > Allin. > _______________________________________________ > Gretl-devel mailing list > Gretl-devel(a)lists.wfu.edu > http://lists.wfu.edu/mailman/listinfo/gretl-devel > -- “Remember not only to say the right thing in the right place, but far more difficult still, to leave unsaid the wrong thing at the tempting moment.” - Benjamin Franklin (1706-1790) -- --===============9214218778444465812==-- From cottrell@wfu.edu Tue Dec 1 16:17:35 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] window arrangements Date: Tue, 01 Dec 2009 16:17:34 -0500 Message-ID: In-Reply-To: 5b1988aa0912010156y34c875dfi9b5daba805c824cf@mail.gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7085850199397012480==" --===============7085850199397012480== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 1 Dec 2009, Talha Yalta wrote: > I do appreciate the new window management functionality in the > CVS and would like to offer my two cents on this issue: > > I welcome the new windows menu and I also agree that it is not > as useful and intuitive even as a sub menu. Moreover, I think we > are getting close to a point where we have too many menus and > menu items. In CVS I have made the window-list menu available in various ways: 1) Under /View/Windows 2) In most gretl windows, via Alt-w. If that keybinding collides with something important to people, please let me know. 3) For (most?) windows with a toolbar at the top, via a new "compass" icon button. If anyone can find or produce a better compass icon (or other suitable icon for the job) at 16x16 pixels, please do so! > If I am not mistaken, about three years ago we've had a discussion > regarding a reorganization of the gretl menus, which resulted in a > much improved user interface. Since gretl keeps getting more and more > functionality and new menu items, this may be a good time to do this > again. As a result: > 1)- I support Allin's proposal to merge "Data", "View" and "Sample" to > 2 headings. Hmm, I did float that idea, but I'm not sure how to do it. > 2)- I humbly suggest that we > a)- move the "Seed for random numbers" and the "Set missing > value code" menu items to the preferences window, I don't think of these as "preferences". I think of preferences as relatively settled matters that you'd not want to change much. I think of the random seed as a tool, and the missing values code as dataset-dependent. > b)- remove the second "Define new variable..." item in the > Variable menu. We already have this in the Add menu and it fits there > quite well. Yeah, but defining a new variable is such a common task that I don't think it hurts to have it in both places. > 3)- One problem I am having while working with multiple windows is > that various gretl windows have the same title, which results in > ANOVA, confidence ellipse, normality test etc. windows from different > models getting mixed up. IMHO it would be much better if the different > windows originating from different models had the name of the original > model in their respective titles. That is, instead of having "gretl: > ANOVA" for all ANOVA windows, we would have something like "gretl: > ANOVA (Model 8)." Yes, that's probably worth doing. Allin. --===============7085850199397012480==-- From moradan228@gmail.com Tue Dec 1 16:42:02 2009 From: Ivan Sopov To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] Gretl project on the launchpad Date: Tue, 01 Dec 2009 23:42:00 +0200 Message-ID: <7e0e63490912011342j3728a3afsea9582608508a059@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2071817966636418480==" --===============2071817966636418480== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, gretl developers. I'm trying to start a translation of help files into russian on launchpad.net as it seems to be the most suitable tool to participate for all familiars with econometrics but not with gettext, linux. cvs, etc. The problem is that there is already a project for gretl on launchpad and it is strongly prohibited to start more than one project for a single program. I cannot contact with Constantine Tsardounis for about a month, so I think it is time to re-assign that project to someone else. On the irc-channel of launchpad I was told that Our admins can re-assign the project to new owners but we'd prefer to hear from the upstream owners. can you get one of them to submit a question here: https://answers.edge.launchpad.net/launchpad But if nobody from main developers wants to register and do something at launchpad it is possible to assign this function to me and in that case a letter in this list will probably be enough. I have prepared a .po-file for genr_funcs.xml and gretl_commands.xml with the help of po4a utility and got 1511 strings for translation (strings a rather big). Good luck, Ivan Sopov. P.S. My previous letter about using launchpad for translation is http://lists.wfu.edu/pipermail/gretl-devel/2009-November/002171.html --===============2071817966636418480==-- From cottrell@wfu.edu Tue Dec 1 19:18:11 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] window arrangements Date: Tue, 01 Dec 2009 19:18:10 -0500 Message-ID: In-Reply-To: Pine.A41.4.58.0912011609020.2617654@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5952565343672639722==" --===============5952565343672639722== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 1 Dec 2009, Allin Cottrell wrote: > In CVS I have made the window-list menu available in various ways: > ... > 3) For (most?) windows with a toolbar at the top, via a new > "compass" icon button. If anyone can find or produce a better > compass icon (or other suitable icon for the job) at 16x16 pixels, > please do so! OK, I've got a better icon (it's now in CVS). Allin --===============5952565343672639722==-- From cottrell@wfu.edu Tue Dec 1 19:27:12 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Gretl project on the launchpad Date: Tue, 01 Dec 2009 19:27:11 -0500 Message-ID: In-Reply-To: 7e0e63490912011342j3728a3afsea9582608508a059@mail.gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3958558935979242957==" --===============3958558935979242957== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 1 Dec 2009, Ivan Sopov wrote: > I'm trying to start a translation of help files into russian on > launchpad.net as it seems to be the most suitable tool to participate > for all familiars with econometrics but not with gettext, linux. cvs, > etc. > > The problem is that there is already a project for gretl on launchpad > and it is strongly prohibited to start more than one project for a > single program... I have posted a question on launchpad, requesting that the gretl project be reassigned to you. Allin Cottrell --===============3958558935979242957==-- From henrique.coelho@gmail.com Tue Dec 1 21:14:18 2009 From: Henrique To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Gretl project on the launchpad Date: Wed, 02 Dec 2009 00:13:56 -0200 Message-ID: In-Reply-To: 7e0e63490912011342j3728a3afsea9582608508a059@mail.gmail.com Content-Type: multipart/mixed; boundary="===============3420634482250550073==" --===============3420634482250550073== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPkVtIDEyIGRlIGRlemVtYnJvIGRlIDIwMDkgSXZhbiBT b3BvdiBlc2NyZXZldTo8c3BhbiBkaXI9Imx0ciI+PC9zcGFuPjxicj48YmxvY2txdW90ZSBjbGFz cz0iZ21haWxfcXVvdGUiIHN0eWxlPSJib3JkZXItbGVmdDogMXB4IHNvbGlkIHJnYigyMDQsIDIw NCwgMjA0KTsgbWFyZ2luOiAwcHQgMHB0IDBwdCAwLjhleDsgcGFkZGluZy1sZWZ0OiAxZXg7Ij4K Cgo8L2Jsb2NrcXVvdGU+PGRpdj48YnI+PC9kaXY+PGJsb2NrcXVvdGUgY2xhc3M9ImdtYWlsX3F1 b3RlIiBzdHlsZT0iYm9yZGVyLWxlZnQ6IDFweCBzb2xpZCByZ2IoMjA0LCAyMDQsIDIwNCk7IG1h cmdpbjogMHB0IDBwdCAwcHQgMC44ZXg7IHBhZGRpbmctbGVmdDogMWV4OyI+CkkgaGF2ZSBwcmVw YXJlZCBhIC5wby1maWxlIGZvciBnZW5yX2Z1bmNzLnhtbCBhbmQgZ3JldGxfY29tbWFuZHMueG1s PGJyPgp3aXRoIHRoZSBoZWxwIG9mIHBvNGEgdXRpbGl0eSBhbmQgZ290IDE1MTEgc3RyaW5ncyBm b3IgdHJhbnNsYXRpb248YnI+CihzdHJpbmdzIGEgcmF0aGVyIGJpZykuPGJyPjwvYmxvY2txdW90 ZT48ZGl2Pjxicj5JIHN0cm9uZ2x5IHN1cHBvcnQgeW91ciBpbml0aWF0aXZlPHNwYW4gc3R5bGU9 ImJhY2tncm91bmQtY29sb3I6IHJnYigyNTUsIDI1NSwgMjU1KTsiPiEgTm93IDwvc3Bhbj48c3Bh biBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjogcmdiKDI1NSwgMjU1LCAyNTUpOyIgaWQ9InJlc3Vs dF9ib3giIGNsYXNzPSJzaG9ydF90ZXh0Ij5JJiMzOTttIHdhaXRpbmcgYW54aW91c2x5IGZvciB0 aGUgcmVsZWFzZSA7KTwvc3Bhbj48YnI+Cgo8YnI+QmVzdCwgPGJyPjwvZGl2PjwvZGl2PkhlbnJp cXVlPGJyPgoK --===============3420634482250550073==-- From patriciocuaron@gmail.com Tue Dec 1 23:19:23 2009 From: Patricio =?utf-8?q?Cuar=C3=B3n?= To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] window arrangements Date: Wed, 02 Dec 2009 01:19:01 -0300 Message-ID: <8aeb6c2b0912012019w580a0258nb2591b8f56da0685@mail.gmail.com> In-Reply-To: Pine.A41.4.58.0912011917090.3108948@f1n11.sp2net.wfu.edu Content-Type: multipart/mixed; boundary="===============1680521481962830676==" --===============1680521481962830676== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 aGVyZSYjMzk7cyBpbW8gYSBiZXR0ZXIgaWNvbiAoY3JlYXRpdmUgY29tbW9ucykgYmFzZWQgb24g dGhlIHRhbmdvIGljb24gc2V0IDxhIGhyZWY9Imh0dHA6Ly93d3cuY2hpcHg4Ni5jb20vYmxvZy8y MDA3LzAzLzA5L3Ztd2FyZS10YW5nby1pY29ucy0lRTIlOTklQTUtY3JlYXRpdmUtY29tbW9ucy8i Pmh0dHA6Ly93d3cuY2hpcHg4Ni5jb20vYmxvZy8yMDA3LzAzLzA5L3Ztd2FyZS10YW5n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c3Q/KSB3aW5kb3dzIHdpdGgg YSB0b29sYmFyIGF0IHRoZSB0b3AsIHZpYSBhIG5ldzxicj4KJmd0OyAmcXVvdDtjb21wYXNzJnF1 b3Q7IGljb24gYnV0dG9uLiCgSWYgYW55b25lIGNhbiBmaW5kIG9yIHByb2R1Y2UgYSBiZXR0ZXI8 YnI+CiZndDsgY29tcGFzcyBpY29uIChvciBvdGhlciBzdWl0YWJsZSBpY29uIGZvciB0aGUgam9i KSBhdCAxNngxNiBwaXhlbHMsPGJyPgomZ3Q7IHBsZWFzZSBkbyBzbyE8YnI+Cjxicj4KPC9kaXY+ T0ssIEkmIzM5O3ZlIGdvdCBhIGJldHRlciBpY29uIChpdCYjMzk7cyBub3cgaW4gQ1ZTKS48YnI+ CjxkaXY+PGRpdj48L2Rpdj48ZGl2IGNsYXNzPSJoNSI+PGJyPgpBbGxpbjxicj4KX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX188YnI+CkdyZXRsLWRldmVsIG1h aWxpbmcgbGlzdDxicj4KPGEgaHJlZj0ibWFpbHRvOkdyZXRsLWRldmVsQGxpc3RzLndmdS5lZHUi PkdyZXRsLWRldmVsQGxpc3RzLndmdS5lZHU8L2E+PGJyPgo8YSBocmVmPSJodHRwOi8vbGlzdHMu d2Z1LmVkdS9tYWlsbWFuL2xpc3RpbmZvL2dyZXRsLWRldmVsIiB0YXJnZXQ9Il9ibGFuayI+aHR0 cDovL2xpc3RzLndmdS5lZHUvbWFpbG1hbi9saXN0aW5mby9ncmV0bC1kZXZlbDwvYT48YnI+Cjwv ZGl2PjwvZGl2PjwvYmxvY2txdW90ZT48L2Rpdj48YnI+Cg== --===============1680521481962830676==-- From henrique.coelho@gmail.com Wed Dec 2 00:23:58 2009 From: Henrique To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] window arrangements Date: Wed, 02 Dec 2009 03:23:36 -0200 Message-ID: In-Reply-To: 8aeb6c2b0912012019w580a0258nb2591b8f56da0685@mail.gmail.com Content-Type: multipart/mixed; boundary="===============6193462897873963248==" --===============6193462897873963248== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPkVtIDIgZGUgZGV6ZW1icm8gZGUgMjAwOSBQYXRyaWNp byBDdWFy8248c3BhbiBkaXI9Imx0ciI+IGVzY3JldmV1Ojwvc3Bhbj48YnI+PGJsb2NrcXVvdGUg Y2xhc3M9ImdtYWlsX3F1b3RlIiBzdHlsZT0iYm9yZGVyLWxlZnQ6IDFweCBzb2xpZCByZ2IoMjA0 LCAyMDQsIDIwNCk7IG1hcmdpbjogMHB0IDBwdCAwcHQgMC44ZXg7IHBhZGRpbmctbGVmdDogMWV4 OyI+CgpoZXJlJiMzOTtzIGltbyBhIGJldHRlciBpY29uIChjcmVhdGl2ZSBjb21tb25zKSBiYXNl ZCBvbiB0aGUgdGFuZ28gaWNvbiBzZXQgPGEgaHJlZj0iaHR0cDovL3d3dy5jaGlweDg2LmNvbS9i bG9nLzIwMDcvMDMvMDkvdm13YXJlLXRhbmdvLWljb25zLSVFMiU5OSVBNS1jcmVhdGl2ZS1jb21t b25zLyIgdGFyZ2V0PSJfYmxhbmsiPmh0dHA6Ly93d3cuY2hpcHg4Ni5jb20vYmxvZy8yMDA3LzAz LzA5L3Ztd2FyZS10YW5nby1pY29ucy0lRTIlOTklQTUtY3JlYXRpdmUtY29tbW9ucy88L2E+oCBh bmQgdGhlcmUgaXMgYW5vdGhlciBvbmUgdGhhdCBjb3VsZCBmaXQsIGZyb20gdGhlICYjMzk7b2Zm aWNpYWwmIzM5OyB0YW5nbyByZWxlYXNlcywgPGEgaHJlZj0iaHR0cDovL2NvbW1vbnMud2lraW1l ZGlhLm9yZy93aWtpL0ZpbGU6UHJlZmVyZW5jZXMtc3lzdGVtLXdpbmRvd3Muc3ZnIiB0YXJnZXQ9 Il9ibGFuayI+aHR0cDovL2NvbW1vbnMud2lraW1lZGlhLm9yZy93aWtpL0ZpbGU6UHJlZmVyZW5j ZXMtc3lzdGVtLXdpbmRvd3Muc3ZnPC9hPjwvYmxvY2txdW90ZT4KCjxkaXY+PGJyPqBJIGFncmVl IHdpdGggUGF0cmljaW8uPGJyPjxicj5CZXN0LDxicj5IZW5yaXF1ZTxicj48L2Rpdj48L2Rpdj4K --===============6193462897873963248==-- From moradan228@gmail.com Wed Dec 2 03:10:55 2009 From: Ivan Sopov To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Gretl project on the launchpad Date: Wed, 02 Dec 2009 10:10:51 +0200 Message-ID: <7e0e63490912020010s8a21fd2o5bf3e2527c929f91@mail.gmail.com> In-Reply-To: b3173c600912011813x361a0dcaq194011a023b241e2@mail.gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5369882295147770242==" --===============5369882295147770242== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 2009/12/2 Henrique : > > I strongly support your initiative! Now I'm waiting anxiously for the > release ;) > Pleased to read that. If anyone is willing to translate help system in some other languages with the help of launchpad he is probably should generate a .po-file himself with the .pot-file (As far as i understood with the usual gettext-tools .po-files are generated from .pot-file wich is single for all languages. And also some explicit settings about plural forms must be done in .po-file which I can not do not knowing other languages). It can be found here http://sopovs.com/gretl/gretl_help.pot And also here is my config-file for po4a utility that generates .pot and .po from our xmls. http://www.sopovs.com/gretl/po4a_config.txt Good luck, Ivan. --===============5369882295147770242==-- From henrique.coelho@gmail.com Wed Dec 2 10:14:26 2009 From: Henrique To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] Brazilian Website Date: Wed, 02 Dec 2009 13:14:04 -0200 Message-ID: Content-Type: multipart/mixed; boundary="===============0815119776058870611==" --===============0815119776058870611== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 RGVhciBkZXZlbG9wZXJzLDxicj48YnI+oKCgoCBJcyBpdCBwb3NzaWJsZSB0byBpbmNsdWRlIGEg c2VwYXJhdGUgR3JldGwgd2ViIHBhZ2UgZm9yIEJyYXppbGlhbiBQb3J0dWd1ZXNlPzxicj48YnI+ QmVzdCw8YnI+SGVucmlxdWUgQy4gZGUgQW5kcmFkZTxicj5Eb3V0b3JhbmRvIGVtIEVjb25vbWlh IEFwbGljYWRhPGJyPlVuaXZlcnNpZGFkZSBGZWRlcmFsIGRvIFJpbyBHcmFuZGUgZG8gU3VsPGJy PgoKPGEgaHJlZj0iaHR0cDovL3d3dy51ZnJncy5ici9wcGdlIj53d3cudWZyZ3MuYnIvcHBnZTwv YT48YnI+Cg== --===============0815119776058870611==-- From svetosch@gmx.net Wed Dec 2 10:37:50 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] filenames with dots Date: Wed, 02 Dec 2009 16:36:53 +0100 Message-ID: <4B168995.30102@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6178328226738666873==" --===============6178328226738666873== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, a very minor issue: even if 'myfilenamewith.dots.inp' exists (and is in the right place/dir), the command include myfilenamewith.dots fails, apparently because gretl interprets .dots as a filename extension. ('include myfilenamewith.dots.inp' works as expected) cheers, sven --===============6178328226738666873==-- From helioxentric@gmail.com Wed Dec 2 11:23:13 2009 From: =?utf-8?q?H=C3=A9lio?= Guilherme To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Brazilian Website Date: Wed, 02 Dec 2009 16:23:10 +0000 Message-ID: <5be765950912020823q5516a01bnb2ebba3d7e9169ad@mail.gmail.com> In-Reply-To: b3173c600912020714p2161ddc4s1634c816733f1e1d@mail.gmail.com Content-Type: multipart/mixed; boundary="===============2828182099092451892==" --===============2828182099092451892== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 SGkgSGVucmlxdWUsPGJyPjxicj5DYW4geW91IHBsZ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mF6aWxpYW4gUG9ydHVndWVzZT88YnI+Cjxicj5CZXN0LDxicj48Zm9u dCBjb2xvcj0iIzg4ODg4OCI+SGVucmlxdWUgQy4gZGUgQW5kcmFkZTxicj5Eb3V0b3JhbmRvIGVt IEVjb25vbWlhIEFwbGljYWRhPGJyPlVuaXZlcnNpZGFkZSBGZWRlcmFsIGRvIFJpbyBHcmFuZGUg ZG8gU3VsPGJyPgoKPGEgaHJlZj0iaHR0cDovL3d3dy51ZnJncy5ici9wcGdlIiB0YXJnZXQ9Il9i bGFuayI+d3d3LnVmcmdzLmJyL3BwZ2U8L2E+PGJyPgo8L2ZvbnQ+PGJyPl9fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fPGJyPgpHcmV0bC1kZXZlbCBtYWlsaW5n IGxpc3Q8YnI+CjxhIGhyZWY9Im1haWx0bzpHcmV0bC1kZXZlbEBsaXN0cy53ZnUuZWR1Ij5HcmV0 bC1kZXZlbEBsaXN0cy53ZnUuZWR1PC9hPjxicj4KPGEgaHJlZj0iaHR0cDovL2xpc3RzLndmdS5l ZHUvbWFpbG1hbi9saXN0aW5mby9ncmV0bC1kZXZlbCIgdGFyZ2V0PSJfYmxhbmsiPmh0dHA6Ly9s aXN0cy53ZnUuZWR1L21haWxtYW4vbGlzdGluZm8vZ3JldGwtZGV2ZWw8L2E+PGJyPjwvYmxvY2tx dW90ZT48L2Rpdj48YnI+Cg== --===============2828182099092451892==-- From henrique.coelho@gmail.com Wed Dec 2 21:01:06 2009 From: Henrique To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Brazilian Website Date: Thu, 03 Dec 2009 00:00:44 -0200 Message-ID: In-Reply-To: 5be765950912020823q5516a01bnb2ebba3d7e9169ad@mail.gmail.com Content-Type: multipart/mixed; boundary="===============6627522679689501356==" --===============6627522679689501356== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 RW0gMiBkZSBkZXpl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PlZpZXc6PGJyPlZpc3VhbGl6YXIgKEJyYXppbCk8YnI+VmlzaW9uYXIgKFBvcnR1Z2FsKTxicj48 YnI+RnVydGhlcm1vcmUsIHdlIGhhdmUgYSBsb3Qgb2YgZXhwcmVzc2lvbnMgdGhhdCBhcmUgZGlm ZmVyZW50IGJldHdlZW4gdGhlIHR3byB2YXJpYW50cy48YnI+PGJyPqA8L2Rpdj48YmxvY2txdW90 ZSBjbGFzcz0iZ21haWxfcXVvdGUiIHN0eWxlPSJib3JkZXItbGVmdDogMXB4IHNvbGlkIHJnYigy MDQsIDIwNCwgMjA0KTsgbWFyZ2luOiAwcHQgMHB0IDBwdCAwLjhleDsgcGFkZGluZy1sZWZ0OiAx ZXg7Ij4KCgpJIGFtIGluIGZhdm9yIG9mIGEgc2luZ2xlIFBvcnR1Z3Vlc2UgdmFyaWFudC48YnI+ PGJyPkFsc28gZm9yIHRoZSBtYWludGVuYW5jZSBvZiB0aGUgcGFnZXMgaXQgaXMgYmV0dGVyIHRv IGhhdmUgYSBzaW5nbGUgbGFuZ3VhZ2UuPGJyPjwvYmxvY2txdW90ZT48ZGl2Pjxicj4KPC9kaXY+ PC9kaXY+T2ssIG5vIHByb2JsZW0gOykgSWYgeW91IHByZWZlciB3ZSBjYW4gdHJ5IHRvIGltcHJv dmUgdGhlICZxdW90O2NvbXBhdGliaWx0eSZxdW90OyBiZXR3ZWVuIEJyYXppbGlhbiBhbmQgRXVy b3BlYW4gdmFyaWFudHMgb24gR3JldGwgd2Vic2l0ZS48YnI+PGJyPkp1c3Qgb25lIG1vcmUgdGhp bmc6IElzIHRoZXJlIGFueW9uZSBlbHNlIHdobyBzcGVha3MgUG9ydHVndWVzZSBpbiB0aGlzIGxp c3Q/PGJyPgoKPGJyPiZxdW90O0FicmHnb3MmcXVvdDssPGJyPkhlbnJpcXVlPGJyPgo= --===============6627522679689501356==-- From henrique.coelho@gmail.com Wed Dec 2 21:32:35 2009 From: Henrique To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Gretl project on the launchpad Date: Thu, 03 Dec 2009 00:32:12 -0200 Message-ID: In-Reply-To: 7e0e63490912020010s8a21fd2o5bf3e2527c929f91@mail.gmail.com Content-Type: multipart/mixed; boundary="===============2475699078537041884==" --===============2475699078537041884== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 SXZhbiw8YnI+PGJyPkkmIzM5O3ZlIGp1c3QgZG93bmxvYWRlZCB0aGUgZ3JldGxfaGVscC5wb3Qg ZmlsZSBhbmQgY3JlYXRlIGEgZ3JldGxfaGVscF9wdF9CUi5wbyBmaWxlICh1c2luZyBQb2VkaXQg c29mdHdhcmUpLiBCdXQgSSYjMzk7bSBub3Qgc3VyZSBhYm91dCB0aGlzIHByb2Nlc3MgKEkmIzM5 O20gbm90IGEgY29tcHV0ZXIgZXhwZXJ0IDspLjxicj48YnI+U28sIEkgd291bGQgbGlrZSBraW5k bHkgdG8gcmVxdWVzdCB5b3UgdG8gdGFrZSBhIGxvb2sgYXQgdGhlIGZpbGUganVzdCB0byB2ZXJp ZnkgaWYgSSBkaWQgdGhlIHJpZ2h0IHRoaW5nLiBJcyBpdCBwb3NzaWJsZT88YnI+Cgo8YnI+QmVz dCw8YnI+SGVucmlxdWU8YnI+PGJyPjxkaXYgY2xhc3M9ImdtYWlsX3F1b3RlIj4yMDA5LzEyLzIg SXZhbiBTb3BvdiA8c3BhbiBkaXI9Imx0ciI+Jmx0OzxhIGhyZWY9Im1haWx0bzptb3JhZGFuMjI4 QGdtYWlsLmNvbSI+bW9yYWRhbjIyOEBnbWFpbC5jb208L2E+Jmd0Ozwvc3Bhbj48YnI+PGJsb2Nr cXVvdGUgY2xhc3M9ImdtYWlsX3F1b3RlIiBzdHlsZT0iYm9yZGVyLWxlZnQ6IDFweCBzb2xpZCBy Z2IoMjA0LCAyMDQsIDIwNCk7IG1hcmdpbjogMHB0IDBwdCAwcHQgMC44ZXg7IHBhZGRpbmctbG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BSaW8gR3JhbmRlIGRv IFN1bDxicj48YSBocmVmPSJodHRwOi8vd3d3LnVmcmdzLmJyL3BwZ2UiPnd3dy51ZnJncy5ici9w cGdlPC9hPjxicj4KCgo= --===============2475699078537041884==-- From bttomio@al.furb.br Thu Dec 3 12:37:21 2009 From: Bruno Thiago Tomio To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] RES: Gretl-devel Digest, Vol 35, Issue 4 Date: Thu, 03 Dec 2009 15:36:57 -0200 Message-ID: In-Reply-To: mailman.47.1259859604.30281.gretl-devel@lists.wfu.edu Content-Type: multipart/mixed; boundary="===============5514760157173982777==" --===============5514760157173982777== Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" MIME-Version: 1.0 eJ8+IhERAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAKQAAAFJFUzogR3JldGwtZGV2ZWwg RGlnZXN0LCBWb2wgMzUsIElzc3VlIDQArQwBBYADAA4AAADZBwwAAwAPACQAOQAEAF8BASCAAwAO AAAA2QcMAAMADwAlAA8ABAA2AQEJgAEAIQAAAEJDMTQ4MTY3M0VEQjc1NDk4MkQ0NzVGM0E1NTFE RUY3AEAHAQOQBgAAHwAAOAAAAAMANgAAAAAAQAA5ANKBbDY/dMoBHgA9AAEAAAAGAAAAUkVTOiAA AAACAUcAAQAAACsAAABjPVVTO2E9IDtwPUZVUkI7bD1GQUxDQU8tMDkxMjAzMTczNzE1Wi0zMzAA AB4ASQABAAAAJAAAAEdyZXRsLWRldmVsIERpZ2VzdCwgVm9sIDM1LCBJc3N1ZSA0AEAATgAAguAO OnTKAR4AWgABAAAAIgAAAGdyZXRsLWRldmVsLWJvdW5jZXNAbGlzdHMud2Z1LmVkdQAAAAIBWwAB AAAAYQAAAAAAAACBKx+kvqMQGZ1uAN0BD1QCA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AAeAPo/AQAAABUAAABTeXN0ZW0gQWRtaW5pc3RyYXRvcgAAAAACAfs/AQAAAB4AAAAAAAAA 3KdAyMBCEBq0uQgAKy/hggEAAAAAAAAALgAAAAMA/T/kBAAAAwAZQAAAAAADABpAAAAAAAMAHUAA AAAAAwAeQAAAAAAeADBAAQAAAAgAAABCVFRPTUlPAB4AMUABAAAACAAAAEJUVE9NSU8AHgAyQAEA AAAiAAAAZ3JldGwtZGV2ZWwtYm91bmNlc0BsaXN0cy53ZnUuZWR1AAAAHgAzQAEAAAAiAAAAZ3Jl dGwtZGV2ZWwtcmVxdWVzdEBsaXN0cy53ZnUuZWR1AAAAHgA4QAEAAAAIAAAAQlRUT01JTwAeADlA AQAAAAIAAAAuAAAAAwB2QP////8LACkAAAAAAAsAIwAAAAAAAwAGEC07nksDAAcQuw4AAAMAEBAA AAAAAwAREAAAAAAeAAgQAQAAAGUAAABIRU5SSVFVRSxZRVMsSURPRVVGQUxPQUJSQedPUyxCUlVO T0RFOkdSRVRMLURFVkVMLUJPVU5DRVNATElTVFNXRlVFRFVFTU5PTUVERUdSRVRMLURFVkVMLVJF UVVFU1RATElTAAAAAAIBfwABAAAAOgAAADxFMkUyOTUwM0Y3NTBBMjREODBDOEExNkJCNkFDNEQ3 QTA0NUIxMzQ3QEZBTENBTy5mdXJiLmJyPgAAAPTU --===============5514760157173982777==-- From svetosch@gmx.net Sun Dec 6 18:22:52 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Goodness of Fit test to normal distribution and QQ plot Date: Mon, 07 Dec 2009 00:22:27 +0100 Message-ID: <4B1C3CB3.6090402@gmx.net> In-Reply-To: Pine.A41.4.58.0911302143220.2568566@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2942789461514555841==" --===============2942789461514555841== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Mon, 30 Nov 2009, Sven Schreiber wrote: > >> Costia schrieb: >>> 2. I haven't found a Q-Q plot test in GRETL, (like in SAS e.g.). I think >>> it would be a good thing to add it. >> I agree. It's not difficult to use a quick-and-dirty script to get it >> done, but properly handling missing values etc. needs more care. > > I haven't messed much with Q-Q plots. Can anyone confirm if the > following script is correct? If so, then I guess we could do it > as a built-in at some point. sorry for not answering earlier... > > 4. also have the following script file: 5. get an error like 'symbol BCtest_fromto() unknown' or so Since the function definition in the package isn't declared "public" I would expect the new function definition to work normally. Or I would expect an error when the new function *definition* is encountered, not at the later stage when that function is called. Needless (?) to say, the scripts alone run fine without the clash with the package. (Tested after restarting gretl.) Thanks, sven --===============2217733882116128582==-- From svetosch@gmx.net Tue Dec 8 08:28:51 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] chow test underflow (?) bug Date: Tue, 08 Dec 2009 14:28:06 +0100 Message-ID: <4B1E5466.8030105@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9212330851202173448==" --===============9212330851202173448== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi again, running a regression that includes a shift dummy for 1989q3 and then doing a Chow test for that exact date gretl omits its own split dummy due to collinearity (ok, of course) and yields: a test statistic F(0,148) = 1.#INF, which is still not so problematic, but then: a p-value of P(F(0,148)> 1.#INF) = 1.79769e+308 with a positive exponent and that is clearly wrong. I guess NA would be more appropriate. thanks, sven --===============9212330851202173448==-- From cottrell@wfu.edu Tue Dec 8 09:46:09 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] chow test underflow (?) bug Date: Tue, 08 Dec 2009 09:46:08 -0500 Message-ID: In-Reply-To: 4B1E5466.8030105@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5466393345948547698==" --===============5466393345948547698== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 8 Dec 2009, Sven Schreiber wrote: > running a regression that includes a shift dummy for 1989q3 and then > doing a Chow test for that exact date gretl omits its own split dummy > due to collinearity (ok, of course) and yields: > > a test statistic F(0,148) = 1.#INF, > which is still not so problematic, but then: > > a p-value of P(F(0,148)> 1.#INF) = 1.79769e+308 > > with a positive exponent and that is clearly wrong. I guess NA would be > more appropriate. That is in fact NA, but we're showing its numerical value, which is a bug. Fixed in CVS. Just to let people know, I'll be mostly offline for a while, resuming "normal service" later this month. Allin. --===============5466393345948547698==-- From svetosch@gmx.net Tue Dec 8 11:18:58 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] bug with variable label in estimation table Date: Tue, 08 Dec 2009 17:18:32 +0100 Message-ID: <4B1E7C58.4060402@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6028899578409585668==" --===============6028899578409585668== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Here comes another bug report, I guess the last one for today :-) Estimating one equation of an underlying VAR with 7 variables and 3 lags by hand with OLS (don't ask why right now) produces a glitch with one of the variable names: Instead of 'Yield_10yr_1' the name 'd_Yield_10yr' is printed. Strangely, 'Yield_10yr_2' and so forth print ok. The other variable names print 100% ok. Fortunately, I verified that it's only the label and not a different variable, i.e. the first lag of Yield_10yr is used alright, not the difference as it looks at first. This applies to GUI as well as script input, but I couldn't create a test case with the built-in datasets, sorry. Maybe it has to do with the underscores in the name? cheers, sven --===============6028899578409585668==-- From marcin@wrzosy.nsb.pl Tue Dec 8 13:34:22 2009 From: Marcin =?utf-8?q?B=C5=82a=C5=BCejowski?= To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] Small bug in GUI Date: Tue, 08 Dec 2009 19:34:16 +0100 Message-ID: <4B1E9C28.5040002@wrzosy.nsb.pl> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2422206676939548774==" --===============2422206676939548774== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi, let's run following script: --- nulldata 2000 setobs 6 2003/01/03 --time-series series X = normal() series Y = normal(1,10) --- and try to compact data... But for 5 or 7 day week this option is visible. Current CVS. Best Regards, Marcin -- Marcin Błażejowski http://www.wrzosy.nsb.pl/~marcin/ GG# 203127 --===============2422206676939548774==-- From r.lucchetti@univpm.it Tue Dec 8 13:52:20 2009 From: Riccardo (Jack) Lucchetti To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Small bug in GUI Date: Tue, 08 Dec 2009 19:52:17 +0100 Message-ID: In-Reply-To: 4B1E9C28.5040002@wrzosy.nsb.pl MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1770008489205183374==" --===============1770008489205183374== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, 8 Dec 2009, Marcin B=C5=82a=C5=BCejowski wrote: > Hi, > let's run following script: > > --- > nulldata 2000 > setobs 6 2003/01/03 --time-series > series X =3D normal() > series Y =3D normal(1,10) > --- > and try to compact data... > > But for 5 or 7 day week this option is visible. > Current CVS. Bug acknowledged. However, the data compaction operation can be done (the=20 command "dataset compact 52" works fine). It's a GUI bug, easily fixed: Index: gui2/menustate.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/gretl/gretl/gui2/menustate.c,v retrieving revision 1.112 diff -u -r1.112 menustate.c --- gui2/menustate.c 2 Dec 2009 15:45:17 -0000 1.112 +++ gui2/menustate.c 8 Dec 2009 18:51:39 -0000 @@ -177,8 +177,8 @@ #define COMPACTABLE(d) (d->structure =3D=3D TIME_SERIES && \ (d->pd =3D=3D 4 || d->pd =3D=3D 12 || \ - d->pd =3D=3D 5 || d->pd =3D=3D 7 || \ - d->pd =3D=3D 24)) + d->pd =3D=3D 5 || d->pd =3D=3D 6 || \ + d->pd =3D=3D 7 || d->pd =3D=3D 24)) #define EXPANSIBLE(d) (d->structure =3D=3D TIME_SERIES && (d->pd =3D=3D 1 |= | d->pd =3D=3D 4)) Riccardo (Jack) Lucchetti Dipartimento di Economia Universit=C3=A0 Politecnica delle Marche r.lucchetti(a)univpm.it http://www.econ.univpm.it/lucchetti --===============1770008489205183374==-- From r.lucchetti@univpm.it Tue Dec 8 14:34:30 2009 From: Riccardo (Jack) Lucchetti To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Small bug in GUI Date: Tue, 08 Dec 2009 20:34:23 +0100 Message-ID: In-Reply-To: alpine.DEB.2.00.0912081946400.6081@ec-4.econ.univpm.it MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1624815041889338478==" --===============1624815041889338478== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Tue, 8 Dec 2009, Riccardo (Jack) Lucchetti wrote: > Bug acknowledged. However, the data compaction operation can be done (the > command "dataset compact 52" works fine). It's a GUI bug, easily fixed: Now in CVS. Riccardo (Jack) Lucchetti Dipartimento di Economia Università Politecnica delle Marche r.lucchetti(a)univpm.it http://www.econ.univpm.it/lucchetti --===============1624815041889338478==-- From marcin@wrzosy.nsb.pl Tue Dec 8 14:49:12 2009 From: Marcin =?utf-8?q?B=C5=82a=C5=BCejowski?= To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Small bug in GUI Date: Tue, 08 Dec 2009 20:49:06 +0100 Message-ID: <4B1EADB2.7030503@wrzosy.nsb.pl> In-Reply-To: alpine.DEB.2.00.0912082033550.6081@ec-4.econ.univpm.it Content-Type: multipart/mixed; boundary="===============8224981205941439780==" --===============8224981205941439780== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbm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o8YnI+ CjxwcmUgY2xhc3M9Im1vei1zaWduYXR1cmUiIGNvbHM9IjcyIj4tLSAKTWFyY2luIELFgmHFvGVq b3dza2kKPGEgY2xhc3M9Im1vei10eHQtbGluay1mcmVldGV4dCIgaHJlZj0iaHR0cDovL3d3dy53 cnpvc3kubnNiLnBsL35tYXJjaW4vIj5odHRwOi8vd3d3Lndyem9zeS5uc2IucGwvfm1hcmNpbi88 L2E+CkdHIyAyMDMxMjcKPC9wcmU+CjwvYm9keT4KPC9odG1sPgo= --===============8224981205941439780==-- From svetosch@gmx.net Wed Dec 9 13:04:56 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] off-by-one error in index loop? Date: Wed, 09 Dec 2009 19:04:19 +0100 Message-ID: <4B1FE6A3.9000508@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1966133201652724552==" --===============1966133201652724552== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi, the following minimal demonstration script: yields the following output for me: gretl-Version 1.8.6cvs Aktuelle Sitzung: 2009-12-09 19:00 ? open denmark Lese Datendatei /usr/local/share/gretl/data/misc/denmark.gdt Periodizität: 4, max-Beob.: 55, Beobachtungsbereich: 1974:1-1987:3 Liste 5 Variablen auf: 0) const 1) LRM 2) LRY 3) IBO 4) IDE ? loop i=1985:1..1985:4 > printf "the period: %s\n", obslabel(i) > end loop loop: i = 1985:2 the period: 1985:1 loop: i = 1985:3 the period: 1985:2 loop: i = 1985:4 the period: 1985:3 loop: i = 1986:1 the period: 1985:4 Anzahl an Iterationen: 4 Notice that gretl's echo/message w.r.t. the loop index seems to be ahead of the actual loop index by one. But the bug seems harmless, as nothing substantial is affected. Or am I missing something? thanks, sven --===============1966133201652724552==-- From cottrell@wfu.edu Wed Dec 9 16:22:43 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] off-by-one error in index loop? Date: Wed, 09 Dec 2009 16:22:42 -0500 Message-ID: In-Reply-To: 4B1FE6A3.9000508@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6724937051655707932==" --===============6724937051655707932== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, 9 Dec 2009, Sven Schreiber wrote: > This is a quick one I can address without reliable internet access. I see obslabel() is doing the right thing but the automatic printout of "loop: i = ..." is indeed off by one for dates. Will fix shortly. Allin. --===============6724937051655707932==-- From svetosch@gmx.net Thu Dec 10 08:48:09 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] restrict --silent Date: Thu, 10 Dec 2009 14:47:22 +0100 Message-ID: <4B20FBEA.9010000@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2958095797117679218==" --===============2958095797117679218== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit hi, a silent option for restrict would be nice.... thanks, sven --===============2958095797117679218==-- From ignacio.diaz-emparanza@ehu.es Thu Dec 10 09:13:50 2009 From: Ignacio Diaz-Emparanza To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] rmplot Date: Thu, 10 Dec 2009 15:13:45 +0100 Message-ID: <1260454425.2176.13.camel@U001082.ehu.es> In-Reply-To: 4B20FBEA.9010000@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1342546631512939431==" --===============1342546631512939431== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit The command 'rmplot' is defined only for the GUI. I think it would be very good if we could use it also in scripts. I think the result should be no more than the current text output, and the t statistic and pvalue could be saved in th $test and $pvalue variables. -- Ignacio Diaz-Emparanza DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA) UPV/EHU Avda. Lehendakari Aguirre, 83 | 48015 BILBAO T.: +34 946013732 | F.: +34 946013754 www.ea3.ehu.es --===============1342546631512939431==-- From svetosch@gmx.net Thu Dec 10 11:27:11 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] bootstrapped test results Date: Thu, 10 Dec 2009 17:26:22 +0100 Message-ID: <4B21212E.8010507@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5509311477054722333==" --===============5509311477054722333== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, it seems it's not currently possible to access the results of a bootstrapped restriction test? I just did: restrict --bootstrap end restrict stat = $test p = $pvalue and stat and p then hold the output of the standard Wald test, which is misleading IMHO. Instead I would suggest to set $test to NA or something like that, while $pvalue should give the bootstrapped rejection frequency. Also, an option to set the number of replications would be useful (e.g. resrict --bootstrap=5000). thanks, sven --===============5509311477054722333==-- From r.lucchetti@univpm.it Thu Dec 10 20:34:58 2009 From: Riccardo (Jack) Lucchetti To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] restrict --silent Date: Fri, 11 Dec 2009 02:34:50 +0100 Message-ID: In-Reply-To: 4B20FBEA.9010000@gmx.net Content-Type: multipart/mixed; boundary="===============8847256792369108135==" --===============8847256792369108135== Content-Type: text/x-diff Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="silent_restrict.diff" MIME-Version: 1.0 SW5kZXg6IGxpYi9zcmMvZ3JldGxfcmVzdHJpY3QuYw0KPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6IC9j dnNyb290L2dyZXRsL2dyZXRsL2xpYi9zcmMvZ3JldGxfcmVzdHJpY3QuYyx2DQpyZXRyaWV2aW5n IHJldmlzaW9uIDEuMTQwDQpkaWZmIC11IC1yMS4xNDAgZ3JldGxfcmVzdHJpY3QuYw0KLS0tIGxp Yi9zcmMvZ3JldGxfcmVzdHJpY3QuYwkxOSBTZXAgMjAwOSAxODoyMTo0MiAtMDAwMAkxLjE0MA0K KysrIGxpYi9zcmMvZ3JldGxfcmVzdHJpY3QuYwkxMSBEZWMgMjAwOSAwMTozMTowNyA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JzaWxlbnQiLCAwIH0sDQogICAgIHsgUlVOUywgICAgIE9QVF9ELCAiZGlmZmVyZW5jZSIs IDAgfSwNCiAgICAgeyBSVU5TLCAgICAgT1BUX0UsICJlcXVhbCIsIDAgfSwNCiAgICAgeyBTQ0FU VEVSUywgT1BUX0wsICJ3aXRoLWxpbmVzIiwgMCB9LA0K --===============8847256792369108135==-- From svetosch@gmx.net Fri Dec 11 06:40:47 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] gretl usage in Germany Date: Fri, 11 Dec 2009 12:40:00 +0100 Message-ID: <4B222F90.5070404@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8546048942623118711==" --===============8546048942623118711== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Dear all, as a change from my flood of bug reports I thought I'd share this information with you: At the institute where I am working we regularly receive applications for internships from German (-speaking) students. Right now it's especially noticeable because the semester break in February/March is approaching. And what's interesting is that in their CVs quite many (maybe half?) of the applicants mention that they are familiar with gretl. That must be because it was taught at their home university. (And no, they are not applying directly to me, so it's not because they want to pamper me -- actually I don't think that the average student looks at the info box and remembers the name of the translator there.) So I think gretl is definitely on the rise in the German-speaking region. have a good weekend, sven --===============8546048942623118711==-- From svetosch@gmx.net Fri Dec 11 06:45:19 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] restrict --silent Date: Fri, 11 Dec 2009 12:44:45 +0100 Message-ID: <4B2230AD.3050504@gmx.net> In-Reply-To: alpine.DEB.2.00.0912110233310.10777@ec-4.econ.univpm.it MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3442917915761175001==" --===============3442917915761175001== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Riccardo (Jack) Lucchetti schrieb: > On Thu, 10 Dec 2009, Sven Schreiber wrote: > >> hi, >> >> a silent option for restrict would be nice.... > > Sven, > > see if the attached patch does what you want. I'm not making commits to > CVS till Allin's back, but in the meantime you can try it out. > Thanks Jack -- but I have never applied a diff that affects several files I think. I'm sure it's just a one-liner? -sven --===============3442917915761175001==-- From moradan228@gmail.com Fri Dec 11 07:41:41 2009 From: Ivan Sopov To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Gretl project on the launchpad Date: Fri, 11 Dec 2009 14:41:39 +0200 Message-ID: <7e0e63490912110441l2e7fcff7h711442167bf1af96@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6865110246354439342==" --===============6865110246354439342== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, our project at launchpad have recently past the stage of manual import of the template stage and we are able to start translation of the help system on Launchpad. Here is the link to the translation in russian: https://translations.launchpad.net/gretl/trunk/+pots/gretl-help/ru/+translate Here is the link to the template: https://translations.launchpad.net/gretl/trunk/+pots/gretl-help I'm currently not on my linux laptop so I will try to generate .po-files for pt_BR some time later as it was requested. We'll look what it will be. ---------- Forwarded message ---------- From: Date: 2009/12/11 Subject: Translation template import - gretl-help in gretl trunk To: moradan228(a)gmail.com Hello Ivan Sopov, On 2009-12-06 09:27z (5 days 2 hours 52 minutes ago), you uploaded a translation template for gretl-help in gretl trunk in Launchpad. The template has now been imported successfully. Thank you, The Launchpad team --===============6865110246354439342==-- From marcin@wrzosy.nsb.pl Fri Dec 11 08:01:07 2009 From: Marcin =?utf-8?q?B=C5=82a=C5=BCejowski?= To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] restrict --silent Date: Fri, 11 Dec 2009 14:01:03 +0100 Message-ID: <4B22428F.2000804@wrzosy.nsb.pl> In-Reply-To: 4B2230AD.3050504@gmx.net Content-Type: multipart/mixed; boundary="===============7327257976764329567==" --===============7327257976764329567== Content-Type: text/x-vcard Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="marcin.vcf" MIME-Version: 1.0 YmVnaW46dmNhcmQNCmZuO3F1b3RlZC1wcmludGFibGU6TWFyY2luIEI9QzU9ODJhPUM1PUJDZWpv d3NraQ0KbjtxdW90ZWQtcHJpbnRhYmxlOkI9QzU9ODJhPUM1PUJDZWpvd3NraTtNYXJjaW4NCmVt YWlsO2ludGVybmV0Om1hcmNpbkB3cnpvc3kubnNiLnBsDQpub3RlOkdHOiAyMDMxMjcNCngtbW96 aWxsYS1odG1sOlRSVUUNCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQNCg0K --===============7327257976764329567==-- From henrique.coelho@gmail.com Fri Dec 11 14:08:25 2009 From: Henrique To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Gretl project on the launchpad Date: Fri, 11 Dec 2009 17:08:03 -0200 Message-ID: In-Reply-To: 7e0e63490912110441l2e7fcff7h711442167bf1af96@mail.gmail.com Content-Type: multipart/mixed; boundary="===============5781967260357585966==" --===============5781967260357585966== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPkVtIDExIGRlIGRlemVtYnJvIGRlIDIwMDkgSXZhbiBl c2NyZXZldTo8c3BhbiBkaXI9Imx0ciI+PC9zcGFuPjxicj48YmxvY2txdW90ZSBjbGFzcz0iZ21h aWxfcXVvdGUiIHN0eWxlPSJib3JkZXItbGVmdDogMXB4IHNvbGlkIHJnYigyMDQsIDIwNCwgMjA0 KTsgbWFyZ2luOiAwcHQgMHB0IDBwdCAwLjhleDsgcGFkZGluZy1sZWZ0OiAxZXg7Ij5IZWxsbywg b3VyIHByb2plY3QgYXQgbGF1bmNocGFkIGhhdmUgcmVjZW50bHkgcGFzdCB0aGUgc3RhZ2Ugb2Yg bWFudWFsPGJyPgoKCmltcG9ydCBvZiB0aGUgdGVtcGxhdGUgc3RhZ2UgYW5kIHdlIGFyZSBhYmxl IHRvIHN0YXJ0IHRyYW5zbGF0aW9uIG9mPGJyPgp0aGUgaGVscCBzeXN0ZW0gb24gTGF1bmNocGFk Ljxicj4KPC9ibG9ja3F1b3RlPjx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ique.coelho@gmail.com Fri Dec 11 14:20:37 2009 From: Henrique To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] gretl usage in Germany Date: Fri, 11 Dec 2009 17:20:15 -0200 Message-ID: In-Reply-To: 4B222F90.5070404@gmx.net Content-Type: multipart/mixed; boundary="===============7177950001120989769==" --===============7177950001120989769== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPkVtIGRlemVtYnJvIGRlIDIwMDkgU3ZlbiBlc2NyZXZl dTo8c3BhbiBkaXI9Imx0ciI+PC9zcGFuPjxicj48YmxvY2txdW90ZSBjbGFzcz0iZ21haWxfcXVv dGUiIHN0eWxlPSJib3JkZXItbGVmdDogMXB4IHNvbGlkIHJnYigyMDQsIDIwNCwgMjA0KTsgbWFy Z2luOiAwcHQgMHB0IDBwdCAwLjhleDsgcGFkZGluZy1sZWZ0OiAxZXg7Ij4gKC4uLikgQXQgdGhl IGluc3RpdHV0ZSB3aGVyZSBJIGFtIHdvcmtpbmcgd2UgcmVndWxhcmx5IHJlY2VpdmUgYXBwbGlj YXRpb25zPGJyPgoKCgpmb3IgaW50ZXJuc2hpcHMgZnJvbSBHZXJtYW4gKC1zcGVha2luZykgc3R1 ZGVudHMuICguLi4pICBBbmQgd2hhdCYjMzk7czxicj4gaW50ZXJlc3RpbmcKaXMgdGhhdCBpbiB0 aGVpciAKQ1ZzIHF1aXRlIG1hbnkgKG1heWJlIGhhbGY/KSBvZiB0aGUgYXBwbGljYW50czxicj5t ZW50aW9uIHRoYXQgdGhleSBhcmUgZmFtaWxpYXIgd2l0aCBncmV0bC48YnI+PC9ibG9ja3F1b3Rl PjxkaXY+PGJyPlRoaXMgaXMgdmVyeSBnb29kITxicj6gPC9kaXY+PGJsb2NrcXVvdGUgY2xhc3M9 ImdtYWlsX3F1b3RlIiBzdHlsZT0iYm9yZGVyLWxlZnQ6IDFweCBzb2xpZCByZ2IoMjA0LCAyMDQs IDIwNCk7IG1hcmdpbjogMHB0IDBwdCAwcHQgMC44ZXg7IHBhZGRpbmctbGVmdDogMWV4OyI+CgoK KEFuZCBubywgdGhleSBhcmUgbm90IGFwcGx5aW5nIGRpcmVjdGx5IHRvIG1lLCBzbyBpdCYjMzk7 cyBub3Q8YnI+CmJlY2F1c2UgdGhleSB3YW50IHRvIHBhbXBlciBtZSAtLSBhY3R1YWxseSBJIGRv biYjMzk7dCB0aGluayB0aGF0IHRoZTxicj4KYXZlcmFnZSBzdHVkZW50IGxvb2tzIGF0IHRoZSBp bmZvIGJveCBhbmQgcmVtZW1iZXJzIHRoZSBuYW1lIG9mIHRoZTxicj4KdHJhbnNsYXRvciB0aGVy ZS4pPGJyPjwvYmxvY2txdW90ZT48ZGl2Pjxicj46KTxicj48YnI+PC9kaXY+PGJsb2NrcXVvdGUg Y2xhc3M9ImdtYWlsX3F1b3RlIiBzdHlsZT0iYm9yZGVyLWxlZnQ6IDFweCBzb2xpZCByZ2IoMjA0 LCAyMDQsIDIwNCk7IG1hcmdpbjogMHB0IDBwdCAwcHQgMC44ZXg7IHBhZGRpbmctbGVmdDogMWV4 OyI+ClNvIEkgdGhpbmsgZ3JldGwgaXMgZGVmaW5pdGVseSBvbiB0aGUgcmlzZSBpbiB0aGUgR2Vy bWFuLXNwZWFraW5nIHJlZ2lvbi48YnI+CjwvYmxvY2txdW90ZT48L2Rpdj48YnI+SXQgd291bGQg YmUgbmljZSBpZiB0aGUgc2FtZSBvY2N1cnMgaGVyZSBpbiBCcmF6aWwhPGJyPjxicj5CZXN0LDxi cj5IZW5yaXF1ZTxicj4K --===============7177950001120989769==-- From artur.tarassow@googlemail.com Fri Dec 11 14:25:07 2009 From: Artur T. To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] gretl usage in Germany Date: Fri, 11 Dec 2009 19:25:01 +0000 Message-ID: <4B229C8D.6080905@googlemail.com> In-Reply-To: b3173c600912111120s15af679wf94b652a8bb75d@mail.gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3856784849055420292==" --===============3856784849055420292== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Henrique schrieb: > Em dezembro de 2009 Sven escreveu: > > (...) At the institute where I am working we regularly receive > applications > for internships from German (-speaking) students. (...) And what's > interesting is that in their CVs quite many (maybe half?) of the > applicants > mention that they are familiar with gretl. > > > This is very good! > > > (And no, they are not applying directly to me, so it's not > because they want to pamper me -- actually I don't think that the > average student looks at the info box and remembers the name of the > translator there.) > > > :) > > So I think gretl is definitely on the rise in the German-speaking > region. > > > It would be nice if the same occurs here in Brazil! > > Best, > Henrique > ------------------------------------------------------------------------ > > _______________________________________________ > Gretl-devel mailing list > Gretl-devel(a)lists.wfu.edu > http://lists.wfu.edu/mailman/listinfo/gretl-devel That's sounds good! But actually I am quite surprised. Personally I do not know so many students in Germany who use it. Here in Leeds I am just on a "mission" to advertise gretl. My student mates like it more than microfit or stata ;) Best, Artur --===============3856784849055420292==-- From helioxentric@gmail.com Fri Dec 11 16:20:13 2009 From: =?utf-8?q?H=C3=A9lio?= Guilherme To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Gretl project on the launchpad Date: Fri, 11 Dec 2009 21:20:10 +0000 Message-ID: <5be765950912111320r1cb3e78x53cc27ea8219206f@mail.gmail.com> In-Reply-To: b3173c600912111108y15e6ed29pe9636cb2c0df1b7@mail.gmail.com Content-Type: multipart/mixed; boundary="===============2505708560192088220==" --===============2505708560192088220== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 R29vZCA6KS48YnI+PGJyPkkgd2lsbCB1c2UgeW91ciBwdF9CUiB0cmFuc2xhdGlvbiB0byBhZGFw dCB0byBwdF9QVC48YnI+PGJyPkNoZWVycyw8YnI+SMOpbGlvIEd1aWxoZXJtZTxicj48YnI+PGJy PjxkaXYgY2xhc3M9ImdtYWlsX3F1b3RlIj5PbiB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19fX19fX188YnI+CkdyZXRsLWRldmVsIG1haWxpbmcgbGlzdDxicj4KPGEgaHJlZj0ibWFpbHRv OkdyZXRsLWRldmVsQGxpc3RzLndmdS5lZHUiPkdyZXRsLWRldmVsQGxpc3RzLndmdS5lZHU8L2E+ PGJyPgo8YSBocmVmPSJodHRwOi8vbGlzdHMud2Z1LmVkdS9tYWlsbWFuL2xpc3RpbmZvL2dyZXRs LWRldmVsIiB0YXJnZXQ9Il9ibGFuayI+aHR0cDovL2xpc3RzLndmdS5lZHUvbWFpbG1hbi9saXN0 aW5mby9ncmV0bC1kZXZlbDwvYT48YnI+PC9ibG9ja3F1b3RlPjwvZGl2Pjxicj4K --===============2505708560192088220==-- From cottrell@wfu.edu Sat Dec 12 11:25:12 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] restrict --silent Date: Sat, 12 Dec 2009 11:25:10 -0500 Message-ID: In-Reply-To: 4B2230AD.3050504@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0787255463227199021==" --===============0787255463227199021== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Fri, 11 Dec 2009, Sven Schreiber wrote: > Riccardo (Jack) Lucchetti schrieb: > > On Thu, 10 Dec 2009, Sven Schreiber wrote: > > > >> hi, > >> > >> a silent option for restrict would be nice.... > > > > Sven, > > > > see if the attached patch does what you want. I'm not making commits to > > CVS till Allin's back, but in the meantime you can try it out. > > > > Thanks Jack -- but I have never applied a diff that affects several > files I think. I'm sure it's just a one-liner? Jack's patch looks fine to me and is now applied in CVS. Allin. --===============0787255463227199021==-- From cottrell@wfu.edu Sat Dec 12 11:31:33 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] gretl usage in Germany Date: Sat, 12 Dec 2009 11:31:32 -0500 Message-ID: In-Reply-To: 4B222F90.5070404@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8007763703338634127==" --===============8007763703338634127== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Fri, 11 Dec 2009, Sven Schreiber wrote: > [...] So I think gretl is definitely on the rise in the > German-speaking region. Thanks, Sven, this is encouraging. I've been talking to some Germans at the conference I'm at (in Dijon) and they seeme to know something about gretl (have colleagues who use it, if not using it themselves). Allin. --===============8007763703338634127==-- From svetosch@gmx.net Sat Dec 12 11:54:36 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] gretl usage in Germany Date: Sat, 12 Dec 2009 17:54:08 +0100 Message-ID: <4B23CAB0.8030808@gmx.net> In-Reply-To: Pine.A41.4.58.0912121129020.2294182@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4008053759570259571==" --===============4008053759570259571== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Fri, 11 Dec 2009, Sven Schreiber wrote: > >> [...] So I think gretl is definitely on the rise in the >> German-speaking region. > > Thanks, Sven, this is encouraging. I've been talking to some > Germans at the conference I'm at (in Dijon) and they seeme to know > something about gretl (have colleagues who use it, if not using it > themselves). > sorry to spoil the mood, but those are probably former and/or current colleagues of mine, so that's not surprising. :-) Our institute in general is still Eviews-land (to some extent for good reasons). thanks, sven --===============4008053759570259571==-- From svetosch@gmx.net Sat Dec 12 12:48:09 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] crash with vecm Date: Sat, 12 Dec 2009 18:34:32 +0100 Message-ID: <4B23D428.4080902@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8379544059626636628==" --===============8379544059626636628== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Here's how to get a crash (with cvs version on linux from Dec 7th): * open australia data * do vecm with pau and pus as endo (lag order 4, rank 1), iau and ius as exogenous, unrestricted, lags 1 to 2. * estimate * modify specification: set all exogenous to restricted * estimate: -boom- thanks, sven --===============8379544059626636628==-- From svetosch@gmx.net Sat Dec 12 12:48:09 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] exo vars in johansen test Date: Sat, 12 Dec 2009 18:20:20 +0100 Message-ID: <4B23D0D4.7020009@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2742669875000929546==" --===============2742669875000929546== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, I just noticed that while it's possible to specify exogenous variables in the Johansen cointegration test, there are the following issues with the output: * the exogenous variables aren't reported * a warning should be printed that the critical values and p-values are in general only appropriate in the case without exogenous variables thanks, sven --===============2742669875000929546==-- From ignacio.diaz-emparanza@ehu.es Mon Dec 14 04:26:40 2009 From: Ignacio Diaz-Emparanza To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] crash with vecm Date: Mon, 14 Dec 2009 10:26:36 +0100 Message-ID: <1260782796.2156.10.camel@U001082.ehu.es> In-Reply-To: 4B23D428.4080902@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1584124844311206977==" --===============1584124844311206977== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit El sáb, 12-12-2009 a las 18:34 +0100, Sven Schreiber escribió: > Here's how to get a crash (with cvs version on linux from Dec 7th): > > * open australia data > * do vecm with pau and pus as endo (lag order 4, rank 1), iau and ius as > exogenous, unrestricted, lags 1 to 2. > * estimate > * modify specification: set all exogenous to restricted > * estimate: -boom- > > thanks, > sven I repeated your steps firstly with gretl built on december 9 (on Ubuntu Linux 9.10) and after that with gretl built just now, and in both cases I don't obtain a crash. The output is: Sistema VECM, orden del retardo 4 estimaciones de Máxima Verosimilitud, observaciones 1973:1-1991:1 (T = 73) Rango de cointegración = 1 Caso 3: constante no restringida beta (vectores cointegrantes, Desviaciones típicas entre paréntesis) PAU 1,0000 (0,0000) PUS -3,0156 (0,51320) IAU_1 -2,5207 (9,2520) IAU_2 15,363 (8,3597) IUS_1 11,141 (7,9130) IUS_2 -5,1118 (7,3574) alpha (alfa (vectores de ajuste)) PAU 0,0034811 PUS -0,0096879 Log-verosimilitud = -142,69443 Determinante de la matriz de covarianzas = 0,17096136 AIC = 4,4026 BIC = 4,9674 HQC = 4,6277 Ecuación 1: d_PAU Coeficiente Desv. Típica Estadístico t Valor p --------------------------------------------------------------- const 0,723281 0,527800 1,370 0,1754 d_PAU_1 0,139629 0,140211 0,9958 0,3231 d_PAU_2 0,315540 0,146587 2,153 0,0352 ** d_PAU_3 0,120829 0,144805 0,8344 0,4072 d_PUS_1 0,562600 0,245402 2,293 0,0252 ** d_PUS_2 −0,440802 0,264517 −1,666 0,1006 d_PUS_3 −0,0805612 0,252506 −0,3190 0,7507 EC1 0,00348110 0,00590694 0,5893 0,5578 Media de la vble. dep. 2,376712 D.T. de la vble. dep. 1,135478 Suma de cuad. residuos 66,11593 D.T. de la regresión 1,024431 R-cuadrado 0,287777 R-cuadrado corregido 0,186031 rho −0,018969 Durbin-Watson 1,922460 Ecuación 2: d_PUS Coeficiente Desv. Típica Estadístico t Valor p --------------------------------------------------------------- const 0,878983 0,246449 3,567 0,0007 *** d_PAU_1 −0,0341883 0,0654699 −0,5222 0,6034 d_PAU_2 0,0967910 0,0684471 1,414 0,1623 d_PAU_3 −0,0153595 0,0676148 −0,2272 0,8210 d_PUS_1 0,228302 0,114587 1,992 0,0507 * d_PUS_2 0,120999 0,123513 0,9796 0,3310 d_PUS_3 0,426381 0,117904 3,616 0,0006 *** EC1 −0,00968793 0,00275817 −3,512 0,0008 *** Media de la vble. dep. 1,178082 D.T. de la vble. dep. 0,628987 Suma de cuad. residuos 14,41529 D.T. de la regresión 0,478345 R-cuadrado 0,493933 R-cuadrado corregido 0,421637 rho 0,042825 Durbin-Watson 1,890975 Matriz de covarianzas cruzadas entre ecuaciones: PAU PUS PAU 0,90570 -0,088806 PUS -0,088806 0,19747 determinante = 0,170961 -- Ignacio Diaz-Emparanza DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA) UPV/EHU Avda. Lehendakari Aguirre, 83 | 48015 BILBAO T.: +34 946013732 | F.: +34 946013754 www.ea3.ehu.es --===============1584124844311206977==-- From svetosch@gmx.net Mon Dec 14 05:00:16 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] crash with vecm Date: Mon, 14 Dec 2009 10:59:07 +0100 Message-ID: <4B260C6B.2020203@gmx.net> In-Reply-To: 1260782796.2156.10.camel@U001082.ehu.es MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6321991492254559144==" --===============6321991492254559144== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Ignacio Diaz-Emparanza schrieb: > El sáb, 12-12-2009 a las 18:34 +0100, Sven Schreiber escribió: >> Here's how to get a crash (with cvs version on linux from Dec 7th): >> >> * open australia data >> * do vecm with pau and pus as endo (lag order 4, rank 1), iau and ius as >> exogenous, unrestricted, lags 1 to 2. >> * estimate >> * modify specification: set all exogenous to restricted >> * estimate: -boom- >> >> thanks, >> sven > > I repeated your steps firstly with gretl built on december 9 (on Ubuntu > Linux 9.10) and after that with gretl built just now, and in both cases > I don't obtain a crash. The output is: > thanks for testing, Ignacio. I will update my gretl build and re-check. Did you also do it via the GUI? thanks, sven --===============6321991492254559144==-- From svetosch@gmx.net Mon Dec 14 06:14:19 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] crash with vecm Date: Mon, 14 Dec 2009 12:13:01 +0100 Message-ID: <4B261DBD.1070604@gmx.net> In-Reply-To: 4B260C6B.2020203@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1066705783084887396==" --===============1066705783084887396== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sven Schreiber schrieb: > Ignacio Diaz-Emparanza schrieb: >> El sáb, 12-12-2009 a las 18:34 +0100, Sven Schreiber escribió: >>> Here's how to get a crash (with cvs version on linux from Dec 7th): >>> >>> * open australia data >>> * do vecm with pau and pus as endo (lag order 4, rank 1), iau and ius as >>> exogenous, unrestricted, lags 1 to 2. >>> * estimate >>> * modify specification: set all exogenous to restricted >>> * estimate: -boom- >>> >>> thanks, >>> sven >> I repeated your steps firstly with gretl built on december 9 (on Ubuntu >> Linux 9.10) and after that with gretl built just now, and in both cases >> I don't obtain a crash. The output is: >> > > thanks for testing, Ignacio. I will update my gretl build and re-check. > Did you also do it via the GUI? > well strangely enough it's now even worse for me: the crash already occurs at the first estimation stage, without modifying the spec. It also does when running gretl in English. The console error output is simply "segmentation fault". I will test on Windows tomorrow. cheers, sven --===============1066705783084887396==-- From svetosch@gmx.net Mon Dec 14 06:39:54 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] crash with vecm Date: Mon, 14 Dec 2009 12:39:07 +0100 Message-ID: <4B2623DB.6090105@gmx.net> In-Reply-To: 4B261DBD.1070604@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2740704029893049782==" --===============2740704029893049782== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sven Schreiber schrieb: > Sven Schreiber schrieb: >> Ignacio Diaz-Emparanza schrieb: >>> El sáb, 12-12-2009 a las 18:34 +0100, Sven Schreiber escribió: >>>> Here's how to get a crash (with cvs version on linux from Dec 7th): >>>> >>>> * open australia data >>>> * do vecm with pau and pus as endo (lag order 4, rank 1), iau and ius as >>>> exogenous, unrestricted, lags 1 to 2. >>>> * estimate >>>> * modify specification: set all exogenous to restricted >>>> * estimate: -boom- >>>> >>>> thanks, >>>> sven >>> I repeated your steps firstly with gretl built on december 9 (on Ubuntu >>> Linux 9.10) and after that with gretl built just now, and in both cases >>> I don't obtain a crash. The output is: >>> >> thanks for testing, Ignacio. I will update my gretl build and re-check. >> Did you also do it via the GUI? >> > > well strangely enough it's now even worse for me: the crash already > occurs at the first estimation stage, without modifying the spec. It > also does when running gretl in English. The console error output is > simply "segmentation fault". > > I will test on Windows tomorrow. > ok, problem resolved, after a reboot no crash occurs anymore, so it wasn't gretl's fault it seems. Funny though how Linux resembles Windows more and more, now even reboots are necessary to fix problems... ;-) thanks, sven --===============2740704029893049782==-- From cottrell@wfu.edu Mon Dec 14 06:42:43 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] crash with vecm Date: Mon, 14 Dec 2009 06:42:42 -0500 Message-ID: In-Reply-To: 4B261DBD.1070604@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8930060558732365434==" --===============8930060558732365434== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Mon, 14 Dec 2009, Sven Schreiber wrote: > well strangely enough it's now even worse for me: the crash already > occurs at the first estimation stage, without modifying the spec. It > also does when running gretl in English. The console error output is > simply "segmentation fault". This is specific to using the GUI lag selector for lags of the exogenous variables in a VECM. I've applied a fix in CVS but I haven't had time to test much and it may need more work. Allin --===============8930060558732365434==-- From cottrell@wfu.edu Mon Dec 14 06:49:16 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] crash with vecm Date: Mon, 14 Dec 2009 06:49:15 -0500 Message-ID: In-Reply-To: 4B2623DB.6090105@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7530932002680512867==" --===============7530932002680512867== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Mon, 14 Dec 2009, Sven Schreiber wrote: > ok, problem resolved, after a reboot no crash occurs anymore, so it > wasn't gretl's fault it seems. Funny though how Linux resembles Windows > more and more, now even reboots are necessary to fix problems... ;-) Unless you updated from CVS in the last 2 minutes, the problem was not solved! Sometimes you "get lucky" and a memory management fault doesn't cause a crash. But in fact this is unlucky from the coder's point of view because it masks the problem. Hint: anyone using gretl built from CVS might want to consider building with debugging symbols on ("-g") and then running gretl under valgrind when this sort of issue occurs. Valgrind usually manages to spot exactly where the error is, whether or not it actually produces a crash. Allin --===============7530932002680512867==-- From svetosch@gmx.net Mon Dec 14 10:10:09 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] crash with vecm Date: Mon, 14 Dec 2009 16:09:32 +0100 Message-ID: <4B26552C.8000009@gmx.net> In-Reply-To: Pine.A41.4.58.0912140639580.2523572@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2890153622630584067==" --===============2890153622630584067== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Mon, 14 Dec 2009, Sven Schreiber wrote: > >> well strangely enough it's now even worse for me: the crash already >> occurs at the first estimation stage, without modifying the spec. It >> also does when running gretl in English. The console error output is >> simply "segmentation fault". > > This is specific to using the GUI lag selector for lags of the > exogenous variables in a VECM. I've applied a fix in CVS but I > haven't had time to test much and it may need more work. > ah ok, interesting that the bug was kind of erratic. So are you saying that it will necessarily show up under valgrind if "it needs more work"? If yes, I could try to do that. Or is the issue more subtle? thanks, sven --===============2890153622630584067==-- From cottrell@wfu.edu Mon Dec 14 12:58:09 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] crash with vecm Date: Mon, 14 Dec 2009 12:58:07 -0500 Message-ID: In-Reply-To: 4B26552C.8000009@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3583607957096266659==" --===============3583607957096266659== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Mon, 14 Dec 2009, Sven Schreiber wrote: > Allin Cottrell schrieb: > > On Mon, 14 Dec 2009, Sven Schreiber wrote: > > > >> well strangely enough it's now even worse for me: the crash already > >> occurs at the first estimation stage, without modifying the spec. It > >> also does when running gretl in English. The console error output is > >> simply "segmentation fault". > > > > This is specific to using the GUI lag selector for lags of the > > exogenous variables in a VECM. I've applied a fix in CVS but I > > haven't had time to test much and it may need more work. > > > > ah ok, interesting that the bug was kind of erratic. So are you saying > that it will necessarily show up under valgrind if "it needs more work"? > If yes, I could try to do that. Or is the issue more subtle? It's sure to show up under valgrind if it involves reading/writing off the end of dynamically-allocated memory, which was the case here. But in fact, after a little more testing I think this is OK now. Allin. --===============3583607957096266659==-- From gianluca@hotelchristine.it Tue Dec 15 02:45:54 2009 From: Gianluca Caporello To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] Seats-Tramo Date: Tue, 15 Dec 2009 08:45:42 +0100 Message-ID: <0FCA408E78DC46E3A7B66ECD8CB56FEF@IPPOGRIFO> Content-Type: multipart/mixed; boundary="===============1057892826251121048==" --===============1057892826251121048== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv L0VOIj4KPEhUTUw+PEhFQUQ+CjxNRVRBIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1pc28t ODg1OS0xIiBodHRwLWVxdWl2PUNvbnRlbnQtVHlwZT4KPE1FVEEgbmFtZT1HRU5FUkFUT1IgY29u dGVudD0iTVNIVE1MIDguMDAuNjAwMS4xODg2NSI+CjxTVFlMRT48L1NUWUxFPgo8L0hFQUQ+CjxC T0RZIGJnQ29sb3I9I2ZmZmZmZj4KPERJVj48Rk9OVCBzaXplPTIgZmFjZT1BcmlhbD5IaSBhbGws PC9GT05UPjwvRElWPgo8RElWPjxGT05UIHNpemU9MiBmYWNlPUFyaWFsPkknbSBHaWFubHVjYSBD YXBvcmVsbG8gdGhlIG1haW4gZGV2ZWxvcGVyIG9mIApTZWF0cy1UcmFtbywgYnkgbm93LCBhdCB0 aGUgYmFuayBvZiBTcGFpbiB3ZSBkZXZlbG9wZWQgYSBuZXcgcmVsZWFzZSBvZiBTVCB3aGljaCAK ZXhwb3J0IGEgQysrLEphdmEgYW5kIFB5dGhvbiZuYnNwOyhhbmQgYSBwcmltaXRpdmUgUikgQVBJ IHRvIFNUIChXaW5kb3dzIGFuZCAKTGludXgpLlRoZSBBUEkgaXMgbm90IGRvY3VtZW50ZWQgYnV0 IGl0J3MgcnVubmluZyBmcm9tIHNvbWUgeWVhcnMgb24gYSBGQU1FIAppbnRlZ3JhdGlvbiBhbmQg d2UgaGF2ZSBhIGxvdCBvZiBydW5uaW5nIGV4YW1wbGVzLjwvRk9OVD48L0RJVj4KPERJVj48Rk9O VCBzaXplPTIgZmFjZT1BcmlhbD5JZiBpbnRlcmVzdGVkIGZvciBhIGJldHRlciBpbnRlZ3JhdGlv biBpbiBHUkVUTCAKZmVlbCBmcmVlIHRvIGNvbnRhY3QgbWUgb3IgZ2l2ZSBhIGxvb2sgYXQgPEEg CmhyZWY9Imh0dHA6Ly93d3cuYmRlLmVzL3dlYmJkZS9lcy9zZWNjaW9uZXMvc2VydmljaW8vc29m dHdhcmUvZWNvbm9tLmh0bWwiPmh0dHA6Ly93d3cuYmRlLmVzL3dlYmJkZS9lcy9zZWNjaW9uZXMv c2VydmljaW8vc29mdHdhcmUvZWNvbm9tLmh0bWw8L0E+PC9GT05UPjwvRElWPgo8RElWPiZuYnNw OzwvRElWPgo8RElWPjxGT05UIHNpemU9MiBmYWNlPUFyaWFsPlJlZ2FyZHM8L0ZPTlQ+PC9ESVY+ CjxESVY+PEZPTlQgc2l6ZT0yIGZhY2U9QXJpYWw+R2lhbmx1Y2E8L0ZPTlQ+PC9ESVY+PC9CT0RZ PjwvSFRNTD4K --===============1057892826251121048==-- From svetosch@gmx.net Tue Dec 15 07:13:43 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] win snapshot file corrupted? Date: Tue, 15 Dec 2009 13:12:48 +0100 Message-ID: <4B277D40.40507@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6577297551509113274==" --===============6577297551509113274== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, I was trying to download the latest snapshot for win32 today but couldn't run the file because I got an error message about a corrupted file. D/l-ing again didn't help. Is it my current connection or is the file really bad? thanks, sven --===============6577297551509113274==-- From cottrell@wfu.edu Tue Dec 15 07:33:43 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] win snapshot file corrupted? Date: Tue, 15 Dec 2009 07:33:42 -0500 Message-ID: In-Reply-To: 4B277D40.40507@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0749639023512602928==" --===============0749639023512602928== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 15 Dec 2009, Sven Schreiber wrote: > I was trying to download the latest snapshot for win32 today but > couldn't run the file because I got an error message about a corrupted > file. D/l-ing again didn't help. Is it my current connection or is the > file really bad? It may have been bad for a while, as I had an interrupted upload. But it should be OK as of now. Allin --===============0749639023512602928==-- From svetosch@gmx.net Tue Dec 15 07:49:42 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] win snapshot file corrupted? Date: Tue, 15 Dec 2009 13:49:03 +0100 Message-ID: <4B2785BF.1070309@gmx.net> In-Reply-To: Pine.A41.4.58.0912150732270.2728316@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9161270859022493474==" --===============9161270859022493474== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Tue, 15 Dec 2009, Sven Schreiber wrote: > >> I was trying to download the latest snapshot for win32 today but >> couldn't run the file because I got an error message about a corrupted >> file. D/l-ing again didn't help. Is it my current connection or is the >> file really bad? > > It may have been bad for a while, as I had an interrupted upload. > But it should be OK as of now. > yes it looks much better now thanks, sven --===============9161270859022493474==-- From svetosch@gmx.net Thu Dec 17 07:49:34 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] bug/requests collection Date: Thu, 17 Dec 2009 13:48:57 +0100 Message-ID: <4B2A28B9.2010604@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8745849764494443039==" --===============8745849764494443039== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, the list has been busy recently with bug reports (and also some feature requests), and it's absolutely understandable that not all bugs could be fixed right away. (It still continues to amaze me that a sizeable proportion of bug reports are addressed immediately by Allin.) So here's a list of what may still be open issues. After clarification and discussion I will transfer the remainder of this list into the bug tracker and feature requests databases. thanks, sven -------- * icon for "code view" in the function package list window: change from cogwheel to something more intuitive * icon of function package list window (and others) in taskbar is only generic (non-gretl) on linux (self-compiled cvs) -- actually, i don't get any icons for menu items on linux (as opposed to windows), I suppose that's a bug of my setup? * the help about invcdf() says P(X To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] bug with variable label in estimation table Date: Thu, 17 Dec 2009 11:14:34 -0500 Message-ID: In-Reply-To: 4B1E7C58.4060402@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8231920709590977075==" --===============8231920709590977075== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 8 Dec 2009, Sven Schreiber wrote: > Estimating one equation of an underlying VAR with 7 variables and 3 lags > by hand with OLS (don't ask why right now) produces a glitch with one of > the variable names: Instead of 'Yield_10yr_1' the name 'd_Yield_10yr' is > printed. Strangely, 'Yield_10yr_2' and so forth print ok. The other > variable names print 100% ok. Fortunately, I verified that it's only the > label and not a different variable, i.e. the first lag of Yield_10yr is > used alright, not the difference as it looks at first. I'll need a test case to see what is going on here. I haven't been able to replicate the problem. You could take a supplied dataset and rename the variables as in your own data, perhaps. Allin. --===============8231920709590977075==-- From cottrell@wfu.edu Thu Dec 17 11:29:37 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] bug/requests collection Date: Thu, 17 Dec 2009 11:29:36 -0500 Message-ID: In-Reply-To: 4B2A28B9.2010604@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3015047840704462700==" --===============3015047840704462700== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thu, 17 Dec 2009, Sven Schreiber wrote: > the list has been busy recently with bug reports (and also some feature > requests), and it's absolutely understandable that not all bugs could be > fixed right away. (It still continues to amaze me that a sizeable > proportion of bug reports are addressed immediately by Allin.) So here's > a list of what may still be open issues. After clarification and > discussion I will transfer the remainder of this list into the bug > tracker and feature requests databases. Thanks for keeping track of these things. Here are some brief responses. > * icon for "code view" in the function package list window: change from > cogwheel to something more intuitive "View code" is mapped to GTK_STOCK_PROPERTIES and "Execute" is mapped to GTK_STOCK_EXECUTE. These make sense to me. If the icons you're seeing don't convery the expected sense, file a bug report for the GTK theme you're using. (Here, using the base GTK icons, I get a cogwheel for Execute and what looks like a spanner for View code.) > * icon of function package list window (and others) in taskbar is only > generic (non-gretl) on linux (self-compiled cvs) -- actually, i don't > get any icons for menu items on linux (as opposed to windows), I suppose > that's a bug of my setup? The installed GTK theme must be specifying no icons in menus. Nothing gretl can do about that. > * the help about invcdf() says P(X * the command 'include myfilenamewith.dots' fails even if > 'myfilenamewith.dots.inp' exists (and is in the right place/dir), > apparently because gretl interprets .dots as a filename extension Yes. Won't fix. Either don't put dots into filenames, or give the full name with ".inp" extension. > * variable is being treated as discrete should be made optional rather > than automatic (I thought it was already the case after a discussion > some months/years ago) I'll try to get to that. > * function namespace bug; see > http://lists.wfu.edu/pipermail/gretl-devel/2009-December/002286.html And that one is on my agenda too. > * Estimating one equation with 7 variables and 3 lags with OLS produces > a glitch with one of the variable names: Instead of 'Yield_10yr_1' the > name 'd_Yield_10yr' is printed. (Maybe it has to do with the > underscores in the name?) Can't do anything without a case in point. > * The command 'rmplot' is defined only for the GUI. I (=Ignacio) think > it would be very good if we could use it also in scripts. > > * script accessors ($test etc.) for bootstrapped test results Both of the above are on the agenda. > * the exogenous variables in a Johansen test setting aren't reported; > and a warning should be printed that the critical values and p-values > are in general only appropriate in the case without exogenous variables That too. Allin. --===============3015047840704462700==-- From svetosch@gmx.net Fri Dec 18 05:42:16 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] bug/requests collection Date: Fri, 18 Dec 2009 11:41:32 +0100 Message-ID: <4B2B5C5C.6090009@gmx.net> In-Reply-To: Pine.A41.4.58.0912171117470.172206@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7530175045745315523==" --===============7530175045745315523== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Thu, 17 Dec 2009, Sven Schreiber wrote: > > >> * icon for "code view" in the function package list window: change from >> cogwheel to something more intuitive > > "View code" is mapped to GTK_STOCK_PROPERTIES and "Execute" is > mapped to GTK_STOCK_EXECUTE. These make sense to me. If the > icons you're seeing don't convery the expected sense, file a bug > report for the GTK theme you're using. (Here, using the base GTK > icons, I get a cogwheel for Execute and what looks like a spanner > for View code.) agreed > >> * icon of function package list window (and others) in taskbar is only >> generic (non-gretl) on linux (self-compiled cvs) -- actually, i don't >> get any icons for menu items on linux (as opposed to windows), I suppose >> that's a bug of my setup? > > The installed GTK theme must be specifying no icons in menus. > Nothing gretl can do about that. of course > >> * the help about invcdf() says P(X > Yes, I suppose it should (for the sake of discrete distributions). yes; I will try to correct that together with the other doc change regarding ox compilation that's still on my to-do-list (since I normally don't mess with gretl's cvs files apart from de.po I want to do it properly when I'm not in a rush) > >> * the command 'include myfilenamewith.dots' fails even if >> 'myfilenamewith.dots.inp' exists (and is in the right place/dir), >> apparently because gretl interprets .dots as a filename extension > > Yes. Won't fix. Either don't put dots into filenames, or give > the full name with ".inp" extension. fair enough > >> * variable is being treated as discrete should be made optional rather >> than automatic (I thought it was already the case after a discussion >> some months/years ago) > > I'll try to get to that. I will enter it in the feature request tracker > >> * function namespace bug; see >> http://lists.wfu.edu/pipermail/gretl-devel/2009-December/002286.html > > And that one is on my agenda too. > will enter into bug tracker >> * Estimating one equation with 7 variables and 3 lags with OLS produces >> a glitch with one of the variable names: Instead of 'Yield_10yr_1' the >> name 'd_Yield_10yr' is printed. (Maybe it has to do with the >> underscores in the name?) > > Can't do anything without a case in point. > sure, will try to provide a minimal example (haven't succeeded so far, but haven't followed up on the underscore hunch either) >> * The command 'rmplot' is defined only for the GUI. I (=Ignacio) think >> it would be very good if we could use it also in scripts. >> >> * script accessors ($test etc.) for bootstrapped test results > > Both of the above are on the agenda. will enter into feature request tracker > >> * the exogenous variables in a Johansen test setting aren't reported; >> and a warning should be printed that the critical values and p-values >> are in general only appropriate in the case without exogenous variables > > That too. will enter into bug tracker Thanks! Sven --===============7530175045745315523==-- From cottrell@wfu.edu Fri Dec 18 06:25:22 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] bug/requests collection Date: Fri, 18 Dec 2009 06:25:21 -0500 Message-ID: In-Reply-To: 4B2B5C5C.6090009@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8854023835733561903==" --===============8854023835733561903== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Fri, 18 Dec 2009, Sven Schreiber wrote: > >> * function namespace bug; see > >> http://lists.wfu.edu/pipermail/gretl-devel/2009-December/002286.html > > > > And that one is on my agenda too. > > > > will enter into bug tracker I think that one should now be fixed in CVS. Thanks for the processing the others. Allin. --===============8854023835733561903==-- From svetosch@gmx.net Fri Dec 18 09:42:53 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] bug/requests collection Date: Fri, 18 Dec 2009 15:42:00 +0100 Message-ID: <4B2B94B8.5030703@gmx.net> In-Reply-To: Pine.A41.4.58.0912180624220.2564410@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3722115083173506176==" --===============3722115083173506176== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Fri, 18 Dec 2009, Sven Schreiber wrote: > >>>> * function namespace bug; see >>>> http://lists.wfu.edu/pipermail/gretl-devel/2009-December/002286.html >>> And that one is on my agenda too. >>> >> will enter into bug tracker > > I think that one should now be fixed in CVS. > confirmed! > Thanks for the processing the others. > done. cheers, sven --===============3722115083173506176==-- From svetosch@gmx.net Tue Dec 22 09:51:36 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] simulation speed Date: Tue, 22 Dec 2009 15:50:50 +0100 Message-ID: <4B30DCCA.4000409@gmx.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4197687420854711430==" --===============4197687420854711430== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, yet another useless benchmarking exercise: I was playing around a little comparing the speed of various matrix languages with respect to doing stochastic simulations. The codes below draw repeated random samples, compute their means, and find the 95% percent quantile of the empirical distribution of the means. I distinguish between a "naive" loop programming variant and one working only with matrix functions. Here are the results on Ubuntu Linux 9.10 (I ran the scripts/programs several times and they are pretty robust): Octave 3.0.5: loop ca. 3.3 seconds vectorized ca. 0.8 seconds Python 2.6.4/Numpy 1.3.0/matplotlib 0.99(?): loop ca. 2.1 seconds vectorized ca. 1.5 seconds gretl 1.8.6cvs: loop ca. 2.6 seconds vectorized ca. 2.0 seconds Ox 5.1: loop ca. 1.1 seconds vectorized ca. 0.7 seconds Ox confirms its reputation about speed, but for me it was surprising that Octave is almost as fast with the vectorized code. (But Octave has the slowest loops.) Gretl seems to have the smallest relative gain going from loops to vectorized code. But considering that gretl is quite new in the field of matrix programming I think it is doing fine. cheers, sven length = 1000; iterations = 10000; whichp = 0.95; tic; # looping variant averages = []; for i=1:iterations; mrandom = randn(length,1); averages = [averages ; mean(mrandom)]; endfor; myquant = quantile(averages,whichp); toc; printf ("Result: %f\n", myquant); tic; # vectorized variant mrandom2 = randn(length,iterations); averages2 = mean(mrandom2); # row vector myquant2 = quantile(averages2',whichp); toc; printf ("Result: %f\n", myquant2); from numpy import matlib as nm from matplotlib import mlab as ml import time length = 1000 iterations = 10000 whichp = 0.95 starttime = time.time() # looping variant averages = nm.empty((0,1)) for i in range(iterations): mrandom = nm.randn(length,1) averages = nm.vstack((averages, nm.mean(mrandom))) myquant = ml.prctile(averages,whichp*100) # per cents endtime1 = time.time() print "Result: " + str(myquant) print "Execution time loop variant, length " + str(length) + ", iterations " + str(iterations) + ": " + str(endtime1-starttime) # vectorized variant starttime2 = time.time() mrandom2 = nm.randn(length,iterations) averages2 = nm.mean(mrandom2, axis=0) myquant2 = ml.prctile(averages2,whichp*100) endtime2 = time.time() print "Result: " + str(myquant2) print "Execution time vectorized variant, length " + str(length) + ", iterations " + str(iterations) + ": " + str(endtime2-starttime2) length = 1000 iterations = 10000 whichp = 0.95 set echo off set messages off set stopwatch # looping variant (non-vectorized) matrix averages = {} # will be col vector loop iterations matrix mrandom = mnormal(length,1) matrix averages = averages | meanc(mrandom) end loop matrix myquant = quantile(averages, whichp) time = $stopwatch printf "Result: %f\n", myquant printf "Execution time loop variant, length %d, iterations %d: %f\n", length, iterations, time time = $stopwatch # don't count printing overhead # vectorized variant matrix mrandom2 = mnormal(length,iterations) matrix averages2 = transp(meanc(mrandom2)) matrix myquant2 = quantile(averages2, whichp) time = $stopwatch printf "Result: %f\n", myquant2 printf "Execution time vectorized variant, length %d, iterations %d: %f\n", length, iterations, time #include const decl length = 1000; const decl iterations = 10000; const decl whichp = 0.95; main(){ decl averages, averages2; decl myquant, myquant2; decl mrandom, mrandom2; decl starttime, endtime; decl i; starttime = timer(); // looping variant averages = <>; for (i=0; i --===============4197687420854711430==-- From bhh@xs4all.nl Tue Dec 22 11:10:46 2009 From: Berend Hasselman To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Tue, 22 Dec 2009 17:10:43 +0100 Message-ID: <73F614CB-4BB6-4A31-A35D-1E084BA55819@xs4all.nl> In-Reply-To: 4B30DCCA.4000409@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2534254699426509590==" --===============2534254699426509590== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 22-12-2009, at 15:50, Sven Schreiber wrote: > Hi, > yet another useless benchmarking exercise: I was playing around a little > comparing the speed of various matrix languages with respect to doing > stochastic simulations. The codes below draw repeated random samples, > compute their means, and find the 95% percent quantile of the empirical > distribution of the means. I distinguish between a "naive" loop > programming variant and one working only with matrix functions. Here are > the results on Ubuntu Linux 9.10 (I ran the scripts/programs several > times and they are pretty robust): I ran the test on my iMac for Octave, Gretl 1.8.6 and R 2.10.1 I used your Octave and gretl code. My R code is after the results. Interestingly enough there isn't a lot of difference between the loop code and the vectorized code in this case. Berend Results: ================================================ Mac OS X 10.6.2 iMac late 2006 Intel Core 2 Duo 2.16Ghz 3Gb memory Length=1000 Iterations=10000 Version Loop Vectorized Octave 3.23 3.08 0.59 Gretlcli 1.8.6.cvs 2.79 1.62 R version 2.10.1 Patched (2009-12-17 r50777) Terminal version ------------------ Loop Vectorized user system elapsed user system elapsed R 32-bit 1.669 0.054 1.729 1.616 0.213 1.829 R 64-bit 1.668 0.051 1.720 1.616 0.217 1.832 R.app GUI ------------------ Loop Vectorized user system elapsed user system elapsed R 32-bit 2.115 0.039 2.138 1.948 0.219 2.151 R 64-bit 1.696 0.029 1.713 1.628 0.004 1.620 nlen <- 1000 iterations <- 10000 averages <- numeric(iterations) whichp <- 0.95 system.time( { for(k in 1:iterations) { v <- rnorm(nlen); averages[k] <- mean(v) } result <- quantile(averages,probs=c(whichp)) }) print(result) system.time({ averages2 <- colMeans(matrix(data=rnorm(nlen*iterations), nrow=nlen, ncol=iterations)) result2 <- quantile(averages2,probs=c(whichp)) }) print(result2) --===============2534254699426509590==-- From r.lucchetti@univpm.it Tue Dec 22 16:24:29 2009 From: Riccardo (Jack) Lucchetti To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Tue, 22 Dec 2009 22:24:25 +0100 Message-ID: In-Reply-To: 73F614CB-4BB6-4A31-A35D-1E084BA55819@xs4all.nl MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1116411347709735921==" --===============1116411347709735921== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Tue, 22 Dec 2009, Berend Hasselman wrote: > > On 22-12-2009, at 15:50, Sven Schreiber wrote: > >> Hi, >> yet another useless benchmarking exercise: ... Not useless at all, in fact it's extremely interesting. Thanks, Sven. I have the feeling (and valgrind+callgrind seems to give supporting evidence) that gretl spends most of its time generating random numbers. The actual matrix operations take very little in comparison. Allin and I have been aware that random number generation still has margins for optimisation, only we haven't had time to pursue the matter. By the way, the algorithm we use for generating normals is polar Box-Müller (and before you all jump on me on this one: yes, I am aware of all the criticism on Box-Müller, but the fact that we are using the Mersenne Twister for uniforms instead of a plain congruential generator makes the point sort of moot). We may want to switch to Marsaglia's ziggurat method, which is said to be very fast and accurate. I don't know first-hand, as I never implemented it myself, but there seems to be a certain degree on unanimity on this by experts (beside, it was invented by George Marsaglia, who is the highest authority on RNG in this solar system). Sven, could you try to tune your script to compute the timings of random number generation and matrix operations separately? Oh, and one last thing: I'll be on holiday from tomorrow, so don't expect me to do anything on this or other stuff soon. That said, happy Christmas to everyone! Riccardo (Jack) Lucchetti Dipartimento di Economia Università Politecnica delle Marche r.lucchetti(a)univpm.it http://www.econ.univpm.it/lucchetti --===============1116411347709735921==-- From svetosch@gmx.net Tue Dec 22 17:31:18 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Tue, 22 Dec 2009 23:30:41 +0100 Message-ID: <4B314891.4010804@gmx.net> In-Reply-To: 4B30DCCA.4000409@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8402100992920946052==" --===============8402100992920946052== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sven Schreiber schrieb: > > Octave 3.0.5: > loop ca. 3.3 seconds > vectorized ca. 0.8 seconds > > Python 2.6.4/Numpy 1.3.0/matplotlib 0.99(?): > loop ca. 2.1 seconds > vectorized ca. 1.5 seconds > > gretl 1.8.6cvs: > loop ca. 2.6 seconds > vectorized ca. 2.0 seconds > > Ox 5.1: > loop ca. 1.1 seconds > vectorized ca. 0.7 seconds > Actually Berend's separate treatment of R-terminal and R-GUI made me run gretl's code in gretlcli as well, as it was the only application that was using a GUI interface. The new result: gretlcli 1.8.6cvs: loop ca. 2.6 seconds vectorized ca. 1.8 seconds So the vectorized code gains 10% while the loop variant stays the same. The results from Berend (1.6 seconds) and me (1.8 seconds) also seem to be compatible in terms of nominal CPU speed, where he has a Core2Duo 2.16GHz and mine is a Core2Duo 1.83GHz I think. cheers, sven --===============8402100992920946052==-- From talhayalta@gmail.com Wed Dec 23 01:48:55 2009 From: Talha Yalta To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Wed, 23 Dec 2009 08:48:52 +0200 Message-ID: <5b1988aa0912222248h3cf31b64u4b173a4acb0b0e6e@mail.gmail.com> In-Reply-To: alpine.DEB.2.00.0912222210590.13986@ec-4.econ.univpm.it MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2505464125937756708==" --===============2505464125937756708== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit > ... (beside, it was invented by George Marsaglia, who is the > highest authority on RNG in this solar system). Ever heard of Pierre L'Ecuyer? ;-) http://www.iro.umontreal.ca/~lecuyer/ http://www.iro.umontreal.ca/~lecuyer/cva.pdf -- “Remember not only to say the right thing in the right place, but far more difficult still, to leave unsaid the wrong thing at the tempting moment.” - Benjamin Franklin (1706-1790) -- --===============2505464125937756708==-- From cottrell@wfu.edu Wed Dec 23 09:44:26 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Wed, 23 Dec 2009 09:44:24 -0500 Message-ID: In-Reply-To: alpine.DEB.2.00.0912222210590.13986@ec-4.econ.univpm.it MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5532476979479560487==" --===============5532476979479560487== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 22 Dec 2009, Riccardo (Jack) Lucchetti wrote: > On Tue, 22 Dec 2009, Berend Hasselman wrote: > > > > > On 22-12-2009, at 15:50, Sven Schreiber wrote: > > > >> Hi, > >> yet another useless benchmarking exercise: ... > > Not useless at all, in fact it's extremely interesting. Thanks, Sven. > > I have the feeling (and valgrind+callgrind seems to give supporting > evidence) that gretl spends most of its time generating random numbers. Yes, Jack is right on this. I have "borrowed" the code Jochen Voss wrote for gsl to implement the ziggurat method for generating random normal values. Here's what I'm seeing after making this change: loop vectorized octave 2.59 0.53 gretl 0.87 0.39 ox 0.85 0.56 I've also downloaded the L'Ecuyer/Simard test suite, TestU01, and once I've figured out how to use it I'll check that this method is producing good values. Allin. --===============5532476979479560487==-- From talhayalta@gmail.com Wed Dec 23 09:58:06 2009 From: Talha Yalta To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Wed, 23 Dec 2009 16:58:03 +0200 Message-ID: <5b1988aa0912230658n486caebbj2279556dcf8418e7@mail.gmail.com> In-Reply-To: Pine.A41.4.58.0912230937150.254352@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6949824543984586564==" --===============6949824543984586564== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit > ...I have "borrowed" the code Jochen > Voss wrote for gsl to implement the ziggurat method for generating > random normal values.  Here's what I'm seeing after making this > change: > >          loop    vectorized > octave    2.59          0.53 > gretl     0.87          0.39 > ox        0.85          0.56 Wow! -- “Remember not only to say the right thing in the right place, but far more difficult still, to leave unsaid the wrong thing at the tempting moment.” - Benjamin Franklin (1706-1790) -- --===============6949824543984586564==-- From svetosch@gmx.net Wed Dec 23 10:16:49 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Wed, 23 Dec 2009 16:16:10 +0100 Message-ID: <4B32343A.9070408@gmx.net> In-Reply-To: 5b1988aa0912230658n486caebbj2279556dcf8418e7@mail.gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1936411905167418286==" --===============1936411905167418286== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Talha Yalta schrieb: >> ...I have "borrowed" the code Jochen >> Voss wrote for gsl to implement the ziggurat method for generating >> random normal values. Here's what I'm seeing after making this >> change: >> >> loop vectorized >> octave 2.59 0.53 >> gretl 0.87 0.39 >> ox 0.85 0.56 > Wow! > Yes I was gonna say that as well! -- With respect to gsl I'm wondering what's the best approach: borrowing the code or requiring gsl to build gretl. I believe you (Allin) said at some point you didn't want to have the gsl dependency... thanks, sven --===============1936411905167418286==-- From cottrell@wfu.edu Wed Dec 23 11:13:56 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Wed, 23 Dec 2009 11:13:55 -0500 Message-ID: In-Reply-To: 4B32343A.9070408@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4866634153911572370==" --===============4866634153911572370== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, 23 Dec 2009, Sven Schreiber wrote: > Talha Yalta schrieb: > >> ...I have "borrowed" the code Jochen > >> Voss wrote for gsl to implement the ziggurat method for generating > >> random normal values. Here's what I'm seeing after making this > >> change: > >> > >> loop vectorized > >> octave 2.59 0.53 > >> gretl 0.87 0.39 > >> ox 0.85 0.56 > > Wow! > > > > Yes I was gonna say that as well! There is a possible catch: Doornik has an article (google: doornik ziggurat) arguing that the standard ziggurat method fails a test for high-dimensional randomness (and that one might expect it to fail), and he has a workaround which necessarily sacrifices some of the efficiency of ziggurat. (Unfortunately his code is free only for non-commercial use so it's incompatible with the GPL and we can't use it in gretl.) So far as I can tell Doornik's article hasn't been published and I can't find any response from Marsaglia, but I'm taking this seriously. Right now I'm running the L'Ecuyer "crush" test on the new gretl code -- should be finished within an hour or two! > -- With respect to gsl I'm wondering what's the best approach: > borrowing the code or requiring gsl to build gretl. I believe > you (Allin) said at some point you didn't want to have the gsl > dependency... It's possible we may want to link to libgsl at some point, but this particular instance wouldn't warrant that: Voss's code is just a few dozen lines, with no integral dependence on the rest of gsl. And the Voss code is under the GPL so borrowing is not a problem. Allin. --===============4866634153911572370==-- From bhh@xs4all.nl Wed Dec 23 14:34:43 2009 From: Berend Hasselman To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Wed, 23 Dec 2009 20:34:39 +0100 Message-ID: In-Reply-To: Pine.A41.4.58.0912231101390.1974716@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3488810757928487052==" --===============3488810757928487052== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I did some more tests with R. I have only tested R.app 32 bit. R has several methods for generating random numbers from a normal distribution. Caveat: I have no idea what the different methods actually do. The Ahrens-Dieter method appears to be the fastest. Results: RNGmethod ctype user system elapsed 1 Inversion loop 1.676 0.013 1.713 2 Inversion iteration 1.626 0.213 1.842 3 Kinderman-Ramage loop 1.101 0.05 1.155 4 Kinderman-Ramage iteration 1.012 0.002 1.013 5 Box-Muller loop 1.509 0.021 1.532 6 Box-Muller iteration 1.419 0.007 1.428 7 Ahrens-Dieter loop 1.08 0.035 1.115 8 Ahrens-Dieter iteration 0.992 0.001 0.995 Berend resdata <- data.frame(RNGmethod="",ctype="", user=0, system=0, elapsed=0,stringsAsFactors=FALSE,row.names=NULL) nlen <- 1000 iterations <- 10000 averages <- numeric(iterations) whichp <- 0.95 Rmethod="Inversion" RNGkind(normal.kind=Rmethod) t <- system.time( { for(k in 1:iterations) { v <- rnorm(nlen); averages[k] <- mean(v) } result <- quantile(averages,probs=c(whichp)) }) resdata <- rbind(resdata, c(RNGmethod=Rmethod, ctype="loop", user=t[1],system=t[2],elapsed=t[3])) t <- system.time({ averages2 <- colMeans(matrix(data=rnorm(nlen*iterations), nrow=nlen, ncol=iterations)) result2 <- quantile(averages2,probs=c(whichp)) }) resdata <- rbind(resdata, c(RNGmethod=Rmethod, ctype="iteration", user=t[1],system=t[2],elapsed=t[3])) Rmethod="Kinderman-Ramage" RNGkind(normal.kind=Rmethod) t <- system.time( { for(k in 1:iterations) { v <- rnorm(nlen); averages[k] <- mean(v) } result <- quantile(averages,probs=c(whichp)) }) resdata <- rbind(resdata, c(RNGmethod=Rmethod, ctype="loop", user=t[1],system=t[2],elapsed=t[3])) t <- system.time({ averages2 <- colMeans(matrix(data=rnorm(nlen*iterations), nrow=nlen, ncol=iterations)) result2 <- quantile(averages2,probs=c(whichp)) }) resdata <- rbind(resdata, c(RNGmethod=Rmethod, ctype="iteration", user=t[1],system=t[2],elapsed=t[3])) Rmethod="Box-Muller" RNGkind(normal.kind=Rmethod) t <- system.time( { for(k in 1:iterations) { v <- rnorm(nlen); averages[k] <- mean(v) } result <- quantile(averages,probs=c(whichp)) }) resdata <- rbind(resdata, c(RNGmethod=Rmethod, ctype="loop", user=t[1],system=t[2],elapsed=t[3])) t <- system.time({ averages2 <- colMeans(matrix(data=rnorm(nlen*iterations), nrow=nlen, ncol=iterations)) result2 <- quantile(averages2,probs=c(whichp)) }) resdata <- rbind(resdata, c(RNGmethod=Rmethod, ctype="iteration", user=t[1],system=t[2],elapsed=t[3])) Rmethod="Ahrens-Dieter" RNGkind(normal.kind=Rmethod) t <- system.time( { for(k in 1:iterations) { v <- rnorm(nlen); averages[k] <- mean(v) } result <- quantile(averages,probs=c(whichp)) }) resdata <- rbind(resdata, c(RNGmethod=Rmethod, ctype="loop", user=t[1],system=t[2],elapsed=t[3])) t <- system.time({ averages2 <- colMeans(matrix(data=rnorm(nlen*iterations), nrow=nlen, ncol=iterations)) result2 <- quantile(averages2,probs=c(whichp)) }) resdata <- rbind(resdata, c(RNGmethod=Rmethod, ctype="iteration", user=t[1],system=t[2],elapsed=t[3])) # delete dummy first row resdata <- resdata[2:nrow(resdata),] row.names(resdata) <- NULL print(resdata, digits=4) --===============3488810757928487052==-- From bhh@xs4all.nl Thu Dec 24 03:59:11 2009 From: Berend Hasselman To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 09:59:07 +0100 Message-ID: <330B39FF-7AD2-4C78-ABA7-38BD82E8A3D3@xs4all.nl> In-Reply-To: E2BF82D7-55BE-4F84-97EA-56481C90EB07@xs4all.nl Content-Type: multipart/mixed; boundary="===============5576747859010351982==" --===============5576747859010351982== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PGh0bWw+PGhlYWQ+PC9oZWFkPjxib2R5IHN0eWxlPSJ3b3JkLXdyYXA6IGJyZWFrLXdvcmQ7IC13 ZWJraXQtbmJzcC1tb2RlOiBzcGFjZTsgLXdlYmtpdC1saW5lLWJyZWFrOiBhZnRlci13aGl0ZS1z cGFjZTsgIj48Zm9udCBjbGFzcz0iQXBwbGUtc3R5bGUtc3BhbiIgZmFjZT0iJ0NvdXJpZXIgTmV3 JyIgc2l6ZT0iNCI+PHNwYW4gY2xhc3M9IkFwcGxlLXN0eWxlLXNwYW4iIHN0eWxlPSJmb250LXNp emU6IDE0cHg7Ij48YnI+PC9zcGFuPjwvZm9udD48ZGl2PjxkaXY+PGZvbnQgY2xhc3M9IkFwcGxl LXN0eWxlLXNwYW4iIGZhY2U9IidDb3VyaWVyIE5ldyciIHNpemU9IjQiPjxzcGFuIGNsYXNzPSJB cHBsZS1zdHlsZS1zcGFuIiBzdHlsZT0iZm9udC1zaXplOiAxNHB4OyI+T24gMjMtMTItMjAwOSwg YXQgMjA6MzQsIEJlcmVuZCBIYXNzZWxtYW4gd3JvdGU6PC9zcGFuPjwvZm9udD48L2Rpdj48Zm9u dCBjbGFzcz0iQXBwbGUtc3R5bGUtc3BhbiIgZmFjZT0iJ0NvdXJpZXIgTmV3JyIgc2l6ZT0iNCI+ PHNwYW4gY2xhc3M9IkFwcGxlLXN0eWxlLXNwYW4iIHN0eWxlPSJmb250LXNpemU6IDE0cHg7Ij48 YnIgY2xhc3M9IkFw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XNkYXRhLCBsaXN0KFJOR21ldGhvZD1SbWV0aG9kLCBjdHlwZT0iaXRl cmF0aW9uIiwgcmVzdWx0PXJlc3VsdCwgdXNlcj10WzFdLHN5c3RlbT10WzJdLGVsYXBzZWQ9dFsz XSkpPGJyPn08YnI+PGJyPiMgZGVsZXRlIGR1bW15IGZpcnN0IHJvdzxicj5yZXNkYXRhICZsdDst IHJlc2RhdGFbMjpucm93KHJlc2RhdGEpLF08YnI+cm93Lm5hbWVzKHJlc2RhdGEpICZsdDstIE5V TEw8YnI+cmVzZGF0YTwvc3Bhbj48L2ZvbnQ+PC9kaXY+PGRpdj48Zm9udCBjbGFzcz0iQXBwbGUt c3R5bGUtc3BhbiIgZmFjZT0iJ0NvdXJpZXIgTmV3JyIgc2l6ZT0iNCI+PHNwYW4gY2xhc3M9IkFw cGxlLXN0eWxlLXNwYW4iIHN0eWxlPSJmb250LXNpemU6IDE0cHg7Ij4mbHQ7L1ItY29kZSZndDs8 L3NwYW4+PC9mb250PjwvZGl2PjwvYm9keT48L2h0bWw+ --===============5576747859010351982==-- From svetosch@gmx.net Thu Dec 24 04:03:44 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 10:03:01 +0100 Message-ID: <4B332E45.3030008@gmx.net> In-Reply-To: Pine.A41.4.58.0912231101390.1974716@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5531299439341785486==" --===============5531299439341785486== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Wed, 23 Dec 2009, Sven Schreiber wrote: > >> Talha Yalta schrieb: >>>> ...I have "borrowed" the code Jochen >>>> Voss wrote for gsl to implement the ziggurat method for generating >>>> random normal values. Here's what I'm seeing after making this >>>> change: >>>> >>>> loop vectorized >>>> octave 2.59 0.53 >>>> gretl 0.87 0.39 >>>> ox 0.85 0.56 >>> Wow! >>> >> Yes I was gonna say that as well! > > There is a possible catch: Doornik has an article (google: doornik > ziggurat) arguing that the standard ziggurat method fails a test > for high-dimensional randomness (and that one might expect it to > fail), and he has a workaround which necessarily sacrifices some > of the efficiency of ziggurat. (Unfortunately his code is free > only for non-commercial use so it's incompatible with the GPL and > we can't use it in gretl.) > > So far as I can tell Doornik's article hasn't been published and I > can't find any response from Marsaglia, but I'm taking this > seriously. Right now I'm running the L'Ecuyer "crush" test on the > new gretl code -- should be finished within an hour or two! > It turns out that for the same reason the NumPy people also have not used the ziggurat so far. Whereas Octave does use it according to its documentation. Don't know whether they take into account Doornik's caveat, but it doesn't sound like it and this seems to explain the speed advantage over Ox (just like in the above new gretl numbers). What about introducing the (standard, non-Doornik) ziggurat as an option, configurable through 'set'? cheers, sven --===============5531299439341785486==-- From bhh@xs4all.nl Thu Dec 24 05:03:30 2009 From: Berend Hasselman To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 11:03:27 +0100 Message-ID: In-Reply-To: 330B39FF-7AD2-4C78-ABA7-38BD82E8A3D3@xs4all.nl MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8517815604300164786==" --===============8517815604300164786== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I discovered that the results of my previous post today were obtained NOT with 32-bit R but with 64-bit R. I was running the script within the R-bundle of the editor TextMate; it uses 64-bit R and I don't know how to change that. Sorry about this. The correct 32-bit results are RNGmethod ctype result user system elapsed 1 Inversion loop 0.05118006 2.081 0.012 2.093 2 Inversion iteration 0.05154388 1.930 0.226 2.157 3 Kinderman-Ramage loop 0.05292662 1.503 0.047 1.549 4 Kinderman-Ramage iteration 0.05189927 1.334 0.228 1.562 5 Box-Muller loop 0.05266636 1.750 0.024 1.773 6 Box-Muller iteration 0.05138073 1.610 0.226 1.836 7 Ahrens-Dieter loop 0.05259550 1.461 0.025 1.486 8 Ahrens-Dieter iteration 0.05209534 1.298 0.229 1.526 This is more in line with my post of the 22nd december. It also clearly show that the 64-bit version of R is quite a bit quicker in this case. There is a package on CRAN: SuppDists which provides the ziggurat method for generating from a normal distribution. Warning: it only runs correctly in a 32-bit environment. Results: RNGmethod ctype result user system elapsed 1 ziggurat loop 0.05240394 0.837 0.014 0.851 2 ziggurat iteration 0.05200224 0.541 0.362 0.902 Faster indeed. But the system overhead in the "iteration" (or vectorized) version is rather large. Berend --===============8517815604300164786==-- From talhayalta@gmail.com Thu Dec 24 05:29:16 2009 From: Talha Yalta To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 12:29:14 +0200 Message-ID: <5b1988aa0912240229k4ce5344dnad0aeb3597dd501c@mail.gmail.com> In-Reply-To: 4B332E45.3030008@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2578591013278785501==" --===============2578591013278785501== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit > It turns out that for the same reason the NumPy people also have not > used the ziggurat so far. Whereas Octave does use it according to its > documentation. Don't know whether they take into account Doornik's > caveat, but it doesn't sound like it and this seems to explain the speed > advantage over Ox (just like in the above new gretl numbers). > > What about introducing the (standard, non-Doornik) ziggurat as an > option, configurable through 'set'? There exists studies showing how bad things can happen when using a deficient RNG for a given purpose. Accuracy and reliability should always come first. While many programs have more than one RNG, I am not sure whether a more limited algorithm should be offered as an option. I know an expert (L'Ecuyer) saying that there is no reason to use a RNG if a better one is available. -- “Remember not only to say the right thing in the right place, but far more difficult still, to leave unsaid the wrong thing at the tempting moment.” - Benjamin Franklin (1706-1790) -- --===============2578591013278785501==-- From cottrell@wfu.edu Thu Dec 24 12:04:54 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 12:04:54 -0500 Message-ID: In-Reply-To: 4B332E45.3030008@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3256172480859052484==" --===============3256172480859052484== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thu, 24 Dec 2009, Sven Schreiber wrote: > Allin Cottrell schrieb: > > There is a possible catch [in the highspeed ziggurat code]: > > Doornik has an article (google: doornik ziggurat) arguing that > > the standard ziggurat method fails a test for high-dimensional > > randomness (and that one might expect it to fail), and he has > > a workaround which necessarily sacrifices some of the > > efficiency of ziggurat. (Unfortunately his code is free only > > for non-commercial use so it's incompatible with the GPL and > > we can't use it in gretl.) > > > > So far as I can tell Doornik's article hasn't been published and I > > can't find any response from Marsaglia, but I'm taking this > > seriously. Right now I'm running the L'Ecuyer "crush" test on the > > new gretl code -- should be finished within an hour or two! > > It turns out that for the same reason the NumPy people also have not > used the ziggurat so far. Whereas Octave does use it according to its > documentation. Don't know whether they take into account Doornik's > caveat, but it doesn't sound like it and this seems to explain the speed > advantage over Ox (just like in the above new gretl numbers). > > What about introducing the (standard, non-Doornik) ziggurat as an > option, configurable through 'set'? Well, Doornik's specific claim was that the standard Marsaglia/Tsang ziggurat fails the "collisions" test in the "crush" test suite. I've now run "crush" on the ziggurat code in gretl (taken from Jochen Voss, but using the Mersenne Twister as implemented in glib as the uniform input, rather than gsl's uniform RNG). It passes all the tests, including "collisions". We could add a "set" option, but first I think we'd better run both "crush" and "big crush" (many hours' worth) on both the ziggurat code and Box-Muller. Right now we don't really have any basis for thinking that Box-Muller is "safer". Allin. --===============3256172480859052484==-- From cottrell@wfu.edu Thu Dec 24 12:21:42 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 12:21:41 -0500 Message-ID: In-Reply-To: E0F775A5-D85A-474E-A581-B41912326E54@xs4all.nl MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9198734550443397842==" --===============9198734550443397842== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thu, 24 Dec 2009, Berend Hasselman wrote: > I discovered that the results of my previous post today were > obtained NOT with 32-bit R but with 64-bit R. I was running the > script within the R-bundle of the editor TextMate; it uses > 64-bit R and I don't know how to change that. Sorry about this. > > The correct 32-bit results are > > RNGmethod ctype result user system elapsed > 1 Inversion loop 0.05118006 2.081 0.012 2.093 Thanks, but doesn't R have an internal timer? Results obtained via the "time" command are not really comparable with the ones that Sven put up. Allin. --===============9198734550443397842==-- From talhayalta@gmail.com Thu Dec 24 12:42:51 2009 From: Talha Yalta To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 19:40:22 +0200 Message-ID: <5b1988aa0912240940o4e34c4eepb28d66d859e0d116@mail.gmail.com> In-Reply-To: Pine.A41.4.58.0912241152140.2715956@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4048257645688831960==" --===============4048257645688831960== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Thu, Dec 24, 2009 at 7:04 PM, Allin Cottrell wrote: > > On Thu, 24 Dec 2009, Sven Schreiber wrote: > >> Allin Cottrell schrieb: >> > There is a possible catch [in the highspeed ziggurat code]: >> > Doornik has an article (google: doornik ziggurat) arguing that >> > the standard ziggurat method fails a test for high-dimensional >> > randomness (and that one might expect it to fail), and he has >> > a workaround which necessarily sacrifices some of the >> > efficiency of ziggurat. (Unfortunately his code is free only >> > for non-commercial use so it's incompatible with the GPL and >> > we can't use it in gretl.) >> > >> > So far as I can tell Doornik's article hasn't been published and I >> > can't find any response from Marsaglia, but I'm taking this >> > seriously.  Right now I'm running the L'Ecuyer "crush" test on the >> > new gretl code -- should be finished within an hour or two! >> >> It turns out that for the same reason the NumPy people also have not >> used the ziggurat so far. Whereas Octave does use it according to its >> documentation. Don't know whether they take into account Doornik's >> caveat, but it doesn't sound like it and this seems to explain the speed >> advantage over Ox (just like in the above new gretl numbers). >> >> What about introducing the (standard, non-Doornik) ziggurat as an >> option, configurable through 'set'? > > Well, Doornik's specific claim was that the standard > Marsaglia/Tsang ziggurat fails the "collisions" test in the > "crush" test suite.  I've now run "crush" on the ziggurat code in > gretl (taken from Jochen Voss, but using the Mersenne Twister as > implemented in glib as the uniform input, rather than gsl's > uniform RNG).  It passes all the tests, including "collisions". > > We could add a "set" option, but first I think we'd better run > both "crush" and "big crush" (many hours' worth) on both the > ziggurat code and Box-Muller.  Right now we don't really have > any basis for thinking that Box-Muller is "safer". I think we would be safe to employ any of the two (or another one for that matter) as long as we can say that the RNG in gretl passes the big crush test in TestU01. Talha -- “Remember not only to say the right thing in the right place, but far more difficult still, to leave unsaid the wrong thing at the tempting moment.” - Benjamin Franklin (1706-1790) -- --===============4048257645688831960==-- From bhh@xs4all.nl Thu Dec 24 12:43:28 2009 From: Berend Hasselman To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 18:43:24 +0100 Message-ID: <07244A2D-C130-429D-8083-4FC3FE7158A3@xs4all.nl> In-Reply-To: Pine.A41.4.58.0912241219260.2715956@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3381133607954716425==" --===============3381133607954716425== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On 24-12-2009, at 18:21, Allin Cottrell wrote: >=20 > On Thu, 24 Dec 2009, Berend Hasselman wrote: >=20 >> I discovered that the results of my previous post today were >> obtained NOT with 32-bit R but with 64-bit R. I was running the >> script within the R-bundle of the editor TextMate; it uses >> 64-bit R and I don't know how to change that. Sorry about this. >>=20 >> The correct 32-bit results are >>=20 >> RNGmethod ctype result user system elapsed >> 1 Inversion loop 0.05118006 2.081 0.012 2.093 >=20 > Thanks, but doesn't R have an internal timer? Results obtained > via the "time" command are not really comparable with the ones > that Sven put up. I didn't use an external time command.=20 I used the R provided system.time( { R-expressions } ) function (in the base = package). >From the help entry for proc.time: The =E2=80=98user time=E2=80=99 is the CPU time charged for the execution of = user instructions of the calling process. The =E2=80=98system time=E2=80=99 i= s the CPU time charged for execution by the system on behalf of the calling p= rocess. I haven't found anything else. Berend --===============3381133607954716425==-- From cottrell@wfu.edu Thu Dec 24 13:43:26 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 13:43:26 -0500 Message-ID: In-Reply-To: 07244A2D-C130-429D-8083-4FC3FE7158A3@xs4all.nl MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8223624968257373103==" --===============8223624968257373103== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thu, 24 Dec 2009, Berend Hasselman wrote: > On 24-12-2009, at 18:21, Allin Cottrell wrote: > > > > > On Thu, 24 Dec 2009, Berend Hasselman wrote: > > > >> I discovered that the results of my previous post today were > >> obtained NOT with 32-bit R but with 64-bit R. I was running the > >> script within the R-bundle of the editor TextMate; it uses > >> 64-bit R and I don't know how to change that. Sorry about this. > >> > >> The correct 32-bit results are > >> > >> RNGmethod ctype result user system elapsed > >> 1 Inversion loop 0.05118006 2.081 0.012 2.093 > > > > Thanks, but doesn't R have an internal timer? Results obtained > > via the "time" command are not really comparable with the ones > > that Sven put up. > > I didn't use an external time command. > I used the R provided system.time... OK, sorry, it looked like output from the unix "time" program. I suppose, then, that the "elapsed" figure is the comparable one. Allin. --===============8223624968257373103==-- From cottrell@wfu.edu Thu Dec 24 13:44:45 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 13:44:45 -0500 Message-ID: In-Reply-To: 5b1988aa0912240940o4e34c4eepb28d66d859e0d116@mail.gmail.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7423489019195239607==" --===============7423489019195239607== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Thu, 24 Dec 2009, Talha Yalta wrote: > On Thu, Dec 24, 2009 at 7:04 PM, Allin Cottrell wrote: > > > > On Thu, 24 Dec 2009, Sven Schreiber wrote: > > > >> Allin Cottrell schrieb: > >> > There is a possible catch [in the highspeed ziggurat code]: > >> > Doornik has an article (google: doornik ziggurat) arguing that > >> > the standard ziggurat method fails a test for high-dimensional > >> > randomness (and that one might expect it to fail), and he has > >> > a workaround which necessarily sacrifices some of the > >> > efficiency of ziggurat. (Unfortunately his code is free only > >> > for non-commercial use so it's incompatible with the GPL and > >> > we can't use it in gretl.) > >> > > >> > So far as I can tell Doornik's article hasn't been published and I > >> > can't find any response from Marsaglia, but I'm taking this > >> > seriously.  Right now I'm running the L'Ecuyer "crush" test on the > >> > new gretl code -- should be finished within an hour or two! > >> > >> It turns out that for the same reason the NumPy people also have not > >> used the ziggurat so far. Whereas Octave does use it according to its > >> documentation. Don't know whether they take into account Doornik's > >> caveat, but it doesn't sound like it and this seems to explain the speed > >> advantage over Ox (just like in the above new gretl numbers). > >> > >> What about introducing the (standard, non-Doornik) ziggurat as an > >> option, configurable through 'set'? > > > > Well, Doornik's specific claim was that the standard > > Marsaglia/Tsang ziggurat fails the "collisions" test in the > > "crush" test suite.  I've now run "crush" on the ziggurat code in > > gretl (taken from Jochen Voss, but using the Mersenne Twister as > > implemented in glib as the uniform input, rather than gsl's > > uniform RNG).  It passes all the tests, including "collisions". > > > > We could add a "set" option, but first I think we'd better run > > both "crush" and "big crush" (many hours' worth) on both the > > ziggurat code and Box-Muller.  Right now we don't really have > > any basis for thinking that Box-Muller is "safer". > I think we would be safe to employ any of the two (or another one for > that matter) as long as we can say that the RNG in gretl passes the > big crush test in TestU01. OK, any volunteers to run "big crush" on CVS gretl? Allin. --===============7423489019195239607==-- From talhayalta@gmail.com Thu Dec 24 15:08:25 2009 From: Talha Yalta To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Thu, 24 Dec 2009 22:08:22 +0200 Message-ID: <5b1988aa0912241208k1fba7d2aqef9f32e34b37a50f@mail.gmail.com> In-Reply-To: Pine.A41.4.58.0912241343430.2654544@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0962331200795403656==" --===============0962331200795403656== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit >> > We could add a "set" option, but first I think we'd better run >> > both "crush" and "big crush" (many hours' worth) on both the >> > ziggurat code and Box-Muller.  Right now we don't really have >> > any basis for thinking that Box-Muller is "safer". >> I think we would be safe to employ any of the two (or another one for >> that matter) as long as we can say that the RNG in gretl passes the >> big crush test in TestU01. > > OK, any volunteers to run "big crush" on CVS gretl? I have experience testing various software (including gretl) using the earlier and now irrelevant DIEHARD test suite of randomness. TESTU01 is now the standard, however, AFAIK it requires the knowledge of programming in the C language. I am not sure how difficult it would be to program TESTU01 to test gretl on this front but I can promise to learn C and attempt to do this in the summer. Given how busy you are trying to address all sorts of points we keep raising, this is the least I can do. Talha -- “Remember not only to say the right thing in the right place, but far more difficult still, to leave unsaid the wrong thing at the tempting moment.” - Benjamin Franklin (1706-1790) -- --===============0962331200795403656==-- From cottrell@wfu.edu Sat Dec 26 06:03:29 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Sat, 26 Dec 2009 06:03:28 -0500 Message-ID: In-Reply-To: 5b1988aa0912241208k1fba7d2aqef9f32e34b37a50f@mail.gmail.com Content-Type: multipart/mixed; boundary="===============6990114248192802530==" --===============6990114248192802530== Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="glib.c" MIME-Version: 1.0 I2luY2x1ZGUgInVuaWYwMS5oIg0KI2luY2x1ZGUgImJiYXR0ZXJ5LmgiDQoNCiNpbmNsdWRlIDxn bGliLmg+DQojaW5jbHVkZSA8Z3JldGwvbGliZ3JldGwuaD4NCiNpbmNsdWRlIDxtYXRoLmg+DQoj aW5jbHVkZSAidGltZS5oIg0KDQpzdGF0aWMgR1JhbmQgKm15X3JhbmQ7DQoNCi8qIHBvc2l0aW9u IG9mIHJpZ2h0LW1vc3Qgc3RlcCAqLw0KI2RlZmluZSBQQVJBTV9SIDMuNDQ0Mjg2NDc2N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emlnX3JhbmRvbV9kb3Vi bGUpOw0KICAgIC8qIGNob29vc2UgdGhlIHRlc3QgYmF0dGVyeSBiZWxvdyAqLw0KICAgIGJiYXR0 ZXJ5X0JpZ0NydXNoKGdlbik7DQogICAgdW5pZjAxX0RlbGV0ZUV4dGVybkdlbjAxKGdlbik7IA0K DQogICAgcmV0dXJuIDA7DQp9DQo= --===============6990114248192802530==-- From annen@web-reg.de Sat Dec 26 08:41:24 2009 From: Kurt Annen To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] code fragments Date: Sat, 26 Dec 2009 14:41:13 +0100 Message-ID: <4B361279.9080404@web-reg.de> Content-Type: multipart/mixed; boundary="===============0620189698321775153==" --===============0620189698321775153== Content-Type: text/html Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.html" MIME-Version: 1.0 PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFs Ly9FTiI+CjxodG1sPgo8aGVhZD4KPC9oZWFkPgo8Ym9keSBiZ2NvbG9yPSIjZmZmZmZmIiB0ZXh0 PSIjMDAwMDAwIj4KaGksPGJyPgo8YnI+Cmkgd3JvdGUgYW4gZXZpZXdzIHRvIHhscyBpbXBvcnRl ciBpbiBhbnNpIGMgb25lIHllYXIgYWdvLiBzaW5jZSBpIGhhdmUKbm8gdGltZSB0byBhZGQgdGhl IGNvZGUgaW50byBncmV0bCwgaSB3b29sZCBnaXZlIHNvbWVvbmUgdGhpcyBjb2RlIHRvCmFkZCBp dCBpbiBncmV0bC48YnI+Cjxicj4KPGJyPgo8ZGl2IGNsYXNzPSJtb3otc2lnbmF0dXJlIj4tLSA8 YnI+CjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0idGV4dC9odG1sOyAi Pgo8bWV0YSBjb250ZW50PSJXb3JkLkRvY3VtZW50IiBuYW1lPSJQcm9nSWQiPgo8bWV0YSBjb250 ZW50PSJNU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vcard Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="annen.vcf" MIME-Version: 1.0 YmVnaW46dmNhcmQKZm46S3VydCBBbm5lbgpuOkFubmVuO0t1cnQKYWRyOjs7SW0gSGFzcGVsZmVs ZGUgMztIYW5ub3ZlcjtOaWVkZXJzYWNoc2VuOzMwMTczO0RldXRzY2hsYW5kCmVtYWlsO2ludGVy bmV0OmFubmVuQHdlYi1yZWcuZGUKdGVsO2hvbWU6KzQ5IDUxMSAzNyAwNiA2OCAxOQp0ZWw7Y2Vs bDorNDkgMTc5IDExIDQ5IDM2OQp2ZXJzaW9uOjIuMQplbmQ6dmNhcmQKCg== --===============0620189698321775153==-- From G.A.Hughes@ed.ac.uk Sat Dec 26 14:41:03 2009 From: Gordon Hughes To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Sat, 26 Dec 2009 19:41:23 +0000 Message-ID: In-Reply-To: mailman.9.1261846802.13388.gretl-devel@lists.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8007302358100447374==" --===============8007302358100447374== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I have a spare Ubuntu machine (not very fast - dual core 1.66 Ghz) that I can leave running on its own for 24 hours or longer without any problem - I use it for Monte Carlo runs under Stata. However, I simply don't have enough familiarity with either shell scripts or C compilation to convert your instructions into a functioning program. If you could give somewhat more detailed instructions, I would be happy to run the test program to the end. Gordon >As I mentioned, I ran the Crush suite on gretl without any >failures. I've now run most of Big Crush. I had to unplug my >laptop after about 14 hours, and got through 80 out of 106 tests, >again with no failures. The completed tests include all of the >"collisions" variants, on which Doornik said that standard >ziggurat failed. Obviously, though, it would be nice to run the >whole thing, which would require about 16 hours on my machine. > >I'm attaching the source for the test program I used. I built the >program with: > >CC = gcc -Wall -O2 >CFLAGS = `pkg-config --cflags glib-2.0 gretl` >LIBS = `pkg-config --libs glib-2.0 gretl` > >glibtest: glib.c > $(CC) $(CFLAGS) -o $@ $< -ltestu01 $(LIBS) > >Allin. --===============8007302358100447374==-- From svetosch@gmx.net Sun Dec 27 06:29:55 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] code fragments Date: Sun, 27 Dec 2009 12:29:33 +0100 Message-ID: <4B37451D.4020305@gmx.net> In-Reply-To: 4B361279.9080404@web-reg.de MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3954917137994076824==" --===============3954917137994076824== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Kurt, gretl already has the capability of opening eviews (and of course spreadsheet) files. A converter from eviews to excel surely is a useful thing, too, but not directly related to gretl AFAICS. Or am I missing something? thanks, sven Kurt Annen schrieb: > hi, > > i wrote an eviews to xls importer in ansi c one year ago. since i have > no time to add the code into gretl, i woold give someone this code to > add it in gretl. > > > -- > ------------------------------------------------------------------------ > > *Kurt Annen* > Diplom Volkswirt (Uni) > > Im Haspelfelde 3 > 30173 Hannover > > > > Phone > > > > +49 (0) 511 - 37066819 > > Mobile > > > > +49 (0) 179 - 1149369 > > E-Mail > > > > annen(a)web-reg.de > > Internet > > > > http://www.web-reg.de > > > > > > This transmission may contain information that is privileged, > confidential, legally privileged, and/or exempt from disclosure under > applicable law. If you are not the intended recipient, you are hereby > notified that any disclosure, copying, distribution, or use of the > information contained herein (including any reliance thereon) is > STRICTLY PROHIBITED. Although this transmission and any attachments are > believed to be free of any virus or other defect that might affect any > computer system into which it is received and opened, it is the > responsibility of the recipient to ensure that it is virus free and no > responsibility is accepted by Kurt Annen., its subsidiaries and > affiliates, as applicable, for any loss or damage arising in any way > from its use. If you received this transmission in error, please > immediately contact the sender and destroy the material in its entirety, > whether in electronic or hard copy format. Thank you. > > > > > > _______________________________________________ > Gretl-devel mailing list > Gretl-devel(a)lists.wfu.edu > http://lists.wfu.edu/mailman/listinfo/gretl-devel --===============3954917137994076824==-- From svetosch@gmx.net Sun Dec 27 11:01:29 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Sun, 27 Dec 2009 17:01:05 +0100 Message-ID: <4B3784C1.5000204@gmx.net> In-Reply-To: E1NOcVX-0007JS-Ic@relay05.mail.eu.clara.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3379425835407973878==" --===============3379425835407973878== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit *) build and install the test suite (./configure, make, install) http://www.iro.umontreal.ca/~simardr/testu01/install.html *) set paths ( likely is /usr/local, and maybe this isn't necessary...?) export LD_LIBRARY_PATH=/lib:${LD_LIBRARY_PATH} export LIBRARY_PATH=/lib:${LIBRARY_PATH} export C_INCLUDE_PATH=/include:${C_INCLUDE_PATH} *) copy Allin's instructions into a text file called "Makefile" *) copy Allin's .c file side by side with the Makefile *) in this directory, type 'make' in a shell -- you should get an executable file 'glibtest' However, when I run './glibtest' (glibtest built without error) I get the error: ./glibtest: error while loading shared libraries: libtestu01.so.0: cannot open shared object file: No such file or directory ...even though I had previously installed testu01?? BTW, I'm not an expert but it seems to me that it would be a waste if we all run this in parallel on the same platform (Linux on Core2Duo). If any parallel effort is done, it may be more useful to do it on various platforms and/or hardware, like Mac, or AMD, or whatever. thanks, sven Gordon Hughes schrieb: > I have a spare Ubuntu machine (not very fast - dual core 1.66 Ghz) > that I can leave running on its own for 24 hours or longer without > any problem - I use it for Monte Carlo runs under Stata. However, I > simply don't have enough familiarity with either shell scripts or C > compilation to convert your instructions into a functioning > program. If you could give somewhat more detailed instructions, I > would be happy to run the test program to the end. > > Gordon > > >> As I mentioned, I ran the Crush suite on gretl without any >> failures. I've now run most of Big Crush. I had to unplug my >> laptop after about 14 hours, and got through 80 out of 106 tests, >> again with no failures. The completed tests include all of the >> "collisions" variants, on which Doornik said that standard >> ziggurat failed. Obviously, though, it would be nice to run the >> whole thing, which would require about 16 hours on my machine. >> >> I'm attaching the source for the test program I used. I built the >> program with: >> >> CC = gcc -Wall -O2 >> CFLAGS = `pkg-config --cflags glib-2.0 gretl` >> LIBS = `pkg-config --libs glib-2.0 gretl` >> >> glibtest: glib.c >> $(CC) $(CFLAGS) -o $@ $< -ltestu01 $(LIBS) >> >> Allin. > > _______________________________________________ > Gretl-devel mailing list > Gretl-devel(a)lists.wfu.edu > http://lists.wfu.edu/mailman/listinfo/gretl-devel > --===============3379425835407973878==-- From henrique.coelho@gmail.com Sun Dec 27 12:05:09 2009 From: Henrique To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Sun, 27 Dec 2009 14:04:46 -0300 Message-ID: In-Reply-To: 4B3784C1.5000204@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0859155478034320994==" --===============0859155478034320994== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Em 27 de dezembro de 2009 Sven escreveu: > BTW, I'm not an expert but it seems to me that it would be a waste if we > all run this in parallel on the same platform (Linux on Core2Duo). If > any parallel effort is done, it may be more useful to do it on various > platforms and/or hardware, like Mac, or AMD, or whatever. I'm a Mac user (Core2Duo, 2.2 GHz, 4 GB RAM) and I would like to help but, unfortunately, I don't have enough programming knowledge. Best, Henrique C. de Andrade Doutorando em Economia Aplicada Universidade Federal do Rio Grande do Sul www.ufrgs.br/ppge --===============0859155478034320994==-- From G.A.Hughes@ed.ac.uk Sun Dec 27 14:36:49 2009 From: Gordon Hughes To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed (Sven Schreiber) Date: Sun, 27 Dec 2009 19:34:37 +0000 Message-ID: In-Reply-To: mailman.7.1261933201.23435.gretl-devel@lists.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6641824807546417335==" --===============6641824807546417335== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit OK, thank you for the help. Following your instructions, I have generated a working version of glibtest which is able to resolve the libraries, so I am not sure why your version failed to find them. I will leave glibtest running for as long as necessary to complete and report the results in due course. On your last point, the testu01 instructions say that the program will run under Windows or Linux but makes no reference to OS-X. Even under Windows it relies upon an emulation layer (Cygwin or equivalent), so I am not sure how much one would learn about the Windows behaviour of the programs rather than about the Linux emulation. I will leave that to someone else. What I can do is run testu01 in a Linux virtual machine on a Mac if anyone thinks that this would be useful. Gordon >*) build and install the test suite (./configure, make, install) >http://www.iro.umontreal.ca/~simardr/testu01/install.html > >*) set paths ( likely is /usr/local, and maybe this >isn't necessary...?) > >export LD_LIBRARY_PATH=/lib:${LD_LIBRARY_PATH} >export LIBRARY_PATH=/lib:${LIBRARY_PATH} >export C_INCLUDE_PATH=/include:${C_INCLUDE_PATH} > >*) copy Allin's instructions into a text file called "Makefile" > >*) copy Allin's .c file side by side with the Makefile > >*) in this directory, type 'make' in a shell -- you should get an >executable file 'glibtest' > >However, when I run './glibtest' (glibtest built without error) I get >the error: >./glibtest: error while loading shared libraries: libtestu01.so.0: >cannot open shared object file: No such file or directory > >...even though I had previously installed testu01?? > >BTW, I'm not an expert but it seems to me that it would be a waste if we >all run this in parallel on the same platform (Linux on Core2Duo). If >any parallel effort is done, it may be more useful to do it on various >platforms and/or hardware, like Mac, or AMD, or whatever. > >thanks, >sven --===============6641824807546417335==-- From svetosch@gmx.net Sun Dec 27 15:11:05 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed (Sven Schreiber) Date: Sun, 27 Dec 2009 21:10:41 +0100 Message-ID: <4B37BF41.3090905@gmx.net> In-Reply-To: E1NOyuz-0005MM-1h@relay00.mail.eu.clara.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3270199623159127345==" --===============3270199623159127345== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Gordon Hughes schrieb: > > I will leave glibtest running for as long as necessary to complete > and report the results in due course. ok great. > > On your last point, the testu01 instructions say that the program > will run under Windows or Linux but makes no reference to OS-X. Even > under Windows it relies upon an emulation layer (Cygwin or > equivalent), so I am not sure how much one would learn about the > Windows behaviour of the programs rather than about the Linux > emulation. I will leave that to someone else. What I can do is run > testu01 in a Linux virtual machine on a Mac if anyone thinks that > this would be useful. > Note I'm *not* claiming that it should be done on several platforms. I simply don't know if that's useful in the sense that I don't know if the test is theoretically platform-dependent. All I'm saying is that I'm pretty sure it's *not* very useful if the test is replicated on more or less identical setups. Having said that, I would normally expect the unixy OS X to be manageable if the source code for a posix-type system exists (as it does here). But let's just wait for your results and not get into a "big crushing" frenzy. thanks, sven --===============3270199623159127345==-- From cottrell@wfu.edu Mon Dec 28 10:32:30 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Mon, 28 Dec 2009 10:32:29 -0500 Message-ID: In-Reply-To: 4B3784C1.5000204@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5258005667719494718==" --===============5258005667719494718== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Sun, 27 Dec 2009, Sven Schreiber wrote in http://lists.wfu.edu/pipermail/gretl-devel/2009-December/002356.html > *) build and install the test suite (./configure, make, install) > http://www.iro.umontreal.ca/~simardr/testu01/install.html [etc.] These instructions are perfectly correct. > However, when I run './glibtest' (glibtest built without error) I get > the error: > ./glibtest: error while loading shared libraries: libtestu01.so.0: > cannot open shared object file: No such file or directory sudo ldconfig However, people might hold off for a bit with the crush tests. I think I now see what's going on. I'm no expert on RNGs, but here goes... 1) The main speed advantage from ziggurat is that (in the original Marsaglia/Tsang version) it requires the generation of only one random 32-bit integer per normal sample, where Box-Muller requires two. 2) However, Doornik points out that there's a problem with this, which emerges if you want to generate normally distributed "doubles" (64-bit floating point values -- the original ziggurat generated 32-bit "floats"). The trouble is that if you use just one set of 32 bits to select the ziggurat box or level and for the uniform value to be tested for acceptance at that level, you get a certain sort of subtle dependence, and the symptom is that the normal RNG fails Knuth's collisions test (on the regular crush suite as well as big crush). 3) I took Jochen Voss's ziggurat code and adapted it for gretl, and it passed all the tests. So at first I thought we'd somehow got around Doornik's problem (maybe by using a better RNG for the initial uniform input). 4) But then I took a closer look at the Voss code, and I see that it dodges the dependence problem by a means that Doornik mentions but does not recommend. Namely, from the initial 32-bit input it uses: 7 bits for the ziggurat level 1 bit for the sign 24 bits for the value to be tested There's no dependence problem because Voss uses non-overlapping bits for the box selector and the test value (and so one can quite confidently predict that this generator will pass the collisions test), but the drawback is that one can then generate "only" about 30 million distinct normal values. 5) To get better coverage of the real line one can use one and a quarter random ints per normal draw. For example, one can use 7 bits for selecting a box, one for the sign, and 30 for the test value, to get about 10^9 distinct normal values (with 2 bits of "wastage"). I've now implemented this in gretl and I'm running the crush suite right now. If it passes (in principle it should, but I might have screwed something up in regard to the quarter-ints), I'll commit it to CVS and then people can try attacking it with big crush. Allin. --===============5258005667719494718==-- From cottrell@wfu.edu Mon Dec 28 12:47:15 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Mon, 28 Dec 2009 12:47:14 -0500 Message-ID: In-Reply-To: Pine.A41.4.58.0912280956080.2064560@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6619187250019660156==" --===============6619187250019660156== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Mon, 28 Dec 2009, Allin Cottrell wrote: > I've now implemented [a ziggurat that covers the real line > better] in gretl and I'm running the crush suite right now. If > it passes ... I'll commit it to CVS and then people can try > attacking it with big crush. It passed crush, and it's in CVS. Allin. --===============6619187250019660156==-- From svetosch@gmx.net Tue Dec 29 06:11:03 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] simulation speed Date: Tue, 29 Dec 2009 12:10:39 +0100 Message-ID: <4B39E3AF.8050605@gmx.net> In-Reply-To: Pine.A41.4.58.0912281245300.2064560@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9171905087601425449==" --===============9171905087601425449== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Mon, 28 Dec 2009, Allin Cottrell wrote: > >> I've now implemented [a ziggurat that covers the real line >> better] in gretl and I'm running the crush suite right now. If >> it passes ... I'll commit it to CVS and then people can try >> attacking it with big crush. > > It passed crush, and it's in CVS. > old result gretl 1.8.6cvs: loop ca. 2.6 seconds vectorized ca. 2.0 seconds new result gretl 1.8.6cvs w/ modified ziggurat: loop ca. 1.6 seconds vectorized ca. 0.8 seconds (of course the precision of the timing decreases the less time it takes) I think this is a remarkable change. The vectorized speed is now on par with Ox (the above results weren't for gretlcli). What's more (assuming that the new method also passes Big Crush), the process of Allin incorporating the ziggurat method was lightning-fast -- Alan Isaac, if you're still on the NumPy list maybe Allin's implementation could be interesting for them. cheers, sven --===============9171905087601425449==-- From G.A.Hughes@ed.ac.uk Tue Dec 29 08:45:09 2009 From: Gordon Hughes To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] Subject: Re: simulation speed Date: Tue, 29 Dec 2009 13:44:50 +0000 Message-ID: In-Reply-To: mailman.9.1262019602.1350.gretl-devel@lists.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1382306701216906322==" --===============1382306701216906322== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I did not receive this message until the Big Crush test was well advanced, so I let it finish. It took almost 30 hours to run on the system that I described and reported that all of the tests were passed. I will rerun the test on the new CVS version when you are satisfied with it. Gordon >However, people might hold off for a bit with the crush tests. I >think I now see what's going on. I'm no expert on RNGs, but here >goes... > >1) The main speed advantage from ziggurat is that (in the original >Marsaglia/Tsang version) it requires the generation of only one >random 32-bit integer per normal sample, where Box-Muller requires >two. > >2) However, Doornik points out that there's a problem with this, >which emerges if you want to generate normally distributed >"doubles" (64-bit floating point values -- the original ziggurat >generated 32-bit "floats"). The trouble is that if you use just >one set of 32 bits to select the ziggurat box or level and for the >uniform value to be tested for acceptance at that level, you get a >certain sort of subtle dependence, and the symptom is that the >normal RNG fails Knuth's collisions test (on the regular crush >suite as well as big crush). > >3) I took Jochen Voss's ziggurat code and adapted it for gretl, >and it passed all the tests. So at first I thought we'd somehow >got around Doornik's problem (maybe by using a better RNG for the >initial uniform input). > >4) But then I took a closer look at the Voss code, and I see that >it dodges the dependence problem by a means that Doornik mentions >but does not recommend. Namely, from the initial 32-bit input it >uses: > >7 bits for the ziggurat level >1 bit for the sign >24 bits for the value to be tested > >There's no dependence problem because Voss uses non-overlapping >bits for the box selector and the test value (and so one can quite >confidently predict that this generator will pass the collisions >test), but the drawback is that one can then generate "only" about >30 million distinct normal values. > >5) To get better coverage of the real line one can use one and a >quarter random ints per normal draw. For example, one can use 7 >bits for selecting a box, one for the sign, and 30 for the test >value, to get about 10^9 distinct normal values (with 2 bits of >"wastage"). > >I've now implemented this in gretl and I'm running the crush suite >right now. If it passes (in principle it should, but I might have >screwed something up in regard to the quarter-ints), I'll commit >it to CVS and then people can try attacking it with big crush. > >Allin. > > > >------------------------------ > >_______________________________________________ >Gretl-devel mailing list >Gretl-devel(a)lists.wfu.edu >http://lists.wfu.edu/mailman/listinfo/gretl-devel > >End of Gretl-devel Digest, Vol 35, Issue 23 >******************************************* --===============1382306701216906322==-- From cottrell@wfu.edu Tue Dec 29 10:03:14 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Tue, 29 Dec 2009 10:03:13 -0500 Message-ID: In-Reply-To: E1NPcNi-00037q-Kn@relay06.mail.eu.clara.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3552414386486275023==" --===============3552414386486275023== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 29 Dec 2009, Gordon Hughes wrote: > I did not receive this message until the Big Crush test was well > advanced, so I let it finish. > > It took almost 30 hours to run on the system that I described and > reported that all of the tests were passed. I will rerun the test on > the new CVS version when you are satisfied with it. Thanks, Gordon. There's now a revised test program plus Makefile at http://www.wfu.edu/~cottrell/gretlrand/ And I've just committed some changes to CVS (these shouldn't affect the properties of the RNG, but better to ensure you're using the latest). For now, I've made the ziggurat the default normal RNG but have added a "set" switch to get the old behavior: set normal_rand box-muller This may be useful for regression testing: if you have old scripts with user-supplied random seeds, then the command above should give you the same random values that were generated previously. One more thing: I've run "crush" on two more systems: a Pentium D machine running Ubuntu and an iMac running OS X 10.4. All tests were passed. Allin Cottrell --===============3552414386486275023==-- From cottrell@wfu.edu Tue Dec 29 10:06:51 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Tue, 29 Dec 2009 10:06:50 -0500 Message-ID: In-Reply-To: Pine.A41.4.58.0912290954310.2736354@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5690944050820988456==" --===============5690944050820988456== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Tue, 29 Dec 2009, Allin Cottrell wrote: > One more thing: I've run "crush" on two more systems: a Pentium D > machine running Ubuntu and an iMac running OS X 10.4. All tests > were passed. It would be nice if someone could test on a 64-bit system. Allin --===============5690944050820988456==-- From svetosch@gmx.net Tue Dec 29 10:25:11 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Tue, 29 Dec 2009 16:24:36 +0100 Message-ID: <4B3A1F34.4030902@gmx.net> In-Reply-To: Pine.A41.4.58.0912291006050.2736354@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1569197023903937452==" --===============1569197023903937452== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Tue, 29 Dec 2009, Allin Cottrell wrote: > >> One more thing: I've run "crush" on two more systems: a Pentium D >> machine running Ubuntu and an iMac running OS X 10.4. All tests >> were passed. > > It would be nice if someone could test on a 64-bit system. > Does Mac OS 10.6 (Snow Leopard) qualify? If so, I guess I could do it. -sven --===============1569197023903937452==-- From bhh@xs4all.nl Tue Dec 29 10:59:20 2009 From: Berend Hasselman To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Tue, 29 Dec 2009 16:59:17 +0100 Message-ID: In-Reply-To: 4B3A1F34.4030902@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2599262526643149482==" --===============2599262526643149482== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 29-12-2009, at 16:24, Sven Schreiber wrote: > Allin Cottrell schrieb: >> On Tue, 29 Dec 2009, Allin Cottrell wrote: >> >>> One more thing: I've run "crush" on two more systems: a Pentium D >>> machine running Ubuntu and an iMac running OS X 10.4. All tests >>> were passed. >> >> It would be nice if someone could test on a 64-bit system. >> > > Does Mac OS 10.6 (Snow Leopard) qualify? If so, I guess I could do it. > In theory it should be possible. However the GTK framework is 32-bit. In order to make a 64-bit executable all libraries used must be 64-bit. Berend --===============2599262526643149482==-- From svetosch@gmx.net Tue Dec 29 11:16:11 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Tue, 29 Dec 2009 17:15:51 +0100 Message-ID: <4B3A2B37.8030805@gmx.net> In-Reply-To: DDB36EFD-84D1-417C-AE90-5756CE934182@xs4all.nl MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4673643237789271252==" --===============4673643237789271252== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Berend Hasselman schrieb: > On 29-12-2009, at 16:24, Sven Schreiber wrote: > >> Allin Cottrell schrieb: >>> On Tue, 29 Dec 2009, Allin Cottrell wrote: >>> >>>> One more thing: I've run "crush" on two more systems: a Pentium D >>>> machine running Ubuntu and an iMac running OS X 10.4. All tests >>>> were passed. >>> It would be nice if someone could test on a 64-bit system. >>> >> Does Mac OS 10.6 (Snow Leopard) qualify? If so, I guess I could do it. >> > > In theory it should be possible. > However the GTK framework is 32-bit. > In order to make a 64-bit executable all libraries used must be 64-bit. > hm, ok. so maybe it's easier to just download a 64bit Virtual Ubuntu machine and run the test on the VM? -sven --===============4673643237789271252==-- From bhh@xs4all.nl Tue Dec 29 12:01:51 2009 From: Berend Hasselman To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Tue, 29 Dec 2009 18:01:48 +0100 Message-ID: In-Reply-To: 4B3A2B37.8030805@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4688674170177310731==" --===============4688674170177310731== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 29-12-2009, at 17:15, Sven Schreiber wrote: >> >> In theory it should be possible. >> However the GTK framework is 32-bit. >> In order to make a 64-bit executable all libraries used must be 64-bit. >> > > hm, ok. so maybe it's easier to just download a 64bit Virtual Ubuntu > machine and run the test on the VM? > Probably. But your VM environment would have to support 64-bits. VirtualBox seems able to do that. I have no idea if it would work. I've neven thought of trying. Berend --===============4688674170177310731==-- From svetosch@gmx.net Wed Dec 30 17:59:28 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Wed, 30 Dec 2009 23:59:07 +0100 Message-ID: <4B3BDB3B.9030800@gmx.net> In-Reply-To: A30C99DF-6321-4B03-B83C-19E7034B0F47@xs4all.nl MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3013651126878990070==" --===============3013651126878990070== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Berend Hasselman schrieb: > On 29-12-2009, at 17:15, Sven Schreiber wrote: > >>> In theory it should be possible. >>> However the GTK framework is 32-bit. >>> In order to make a 64-bit executable all libraries used must be 64-bit. >>> >> hm, ok. so maybe it's easier to just download a 64bit Virtual Ubuntu >> machine and run the test on the VM? >> > > Probably. But your VM environment would have to support 64-bits. > VirtualBox seems able to do that. I have no idea if it would work. > I've neven thought of trying. > > Big Crush w/ libgretl is now running here on 64bit Ubuntu inside VirtualBox (host is a Mac Mini with Core2Duo and OS X 10.6). Let's see what happens but probably not this year anymore (GMT+1) ... cheers, sven --===============3013651126878990070==-- From cottrell@wfu.edu Wed Dec 30 19:15:37 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Wed, 30 Dec 2009 19:15:37 -0500 Message-ID: In-Reply-To: 4B3BDB3B.9030800@gmx.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4758528293148462719==" --===============4758528293148462719== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, 30 Dec 2009, Sven Schreiber wrote: > Berend Hasselman schrieb: > > On 29-12-2009, at 17:15, Sven Schreiber wrote: > > > >>> In theory it should be possible. > >>> However the GTK framework is 32-bit. > >>> In order to make a 64-bit executable all libraries used must be 64-bit. > >>> > >> hm, ok. so maybe it's easier to just download a 64bit Virtual Ubuntu > >> machine and run the test on the VM? > > > > Probably. But your VM environment would have to support 64-bits. > > VirtualBox seems able to do that. I have no idea if it would work. > > I've neven thought of trying. > > Big Crush w/ libgretl is now running here on 64bit Ubuntu inside > VirtualBox (host is a Mac Mini with Core2Duo and OS X 10.6). Let's see > what happens but probably not this year anymore (GMT+1) ... Great way to see in the New Year! Thanks, Sven. Allin. --===============4758528293148462719==-- From G.A.Hughes@ed.ac.uk Thu Dec 31 03:27:44 2009 From: Gordon Hughes To: gretl-devel@gretlml.univpm.it Subject: [Gretl-devel] Subject: Re: simulation speed Date: Thu, 31 Dec 2009 08:27:19 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4662963355933397068==" --===============4662963355933397068== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit A word of warning about running the BigCrush test. Looking through the results of the first run I noticed that some of the tests generate test statistics that would reject the relevant hypothesis at the 1% confidence level, even though all of the tests were reported as having passed (since the criterion is p in the range [0.001,0.999]). Since we are dealing with a random number generator it is possible that one run may lead to no failures but another may generate a number of failures. Hence I ran the same test a second time. The execution times were very similar (29h 40m vs 29h 41m). The second run reported a single failure - Test 89 PeriodsInStrings , r = 20 with a p-value of 6.4e-4. Hence, one should really run these tests several times to get a proper assessment of the frequency of failures - a bit tedious given the amount of time required but essential. Further, comparisons across operating systems or hardware shouldn't be based on a single run only. I am now running the revised version of glibtest with the Dec 29th version of glib.c and will report the results when they finish. However, I have one initial observation. Sven reported that the updated version of the ziggurat executes substantially faster than the earlier version. The early tests in the BigCrush suite give a different picture - the execution times are all slightly longer using the new gretl_one_snormal than using the previous ran_normal_ziggurat. Is this a consequence of the change needed to use one and a quarter random ints per normal draw, since the previous code in ran_normal_ziggurat seems to correspond to the Voss procedure? As a rough guess the increase in execution time is of the order of 5-10%. Gordon --===============4662963355933397068==-- From svetosch@gmx.net Thu Dec 31 06:59:44 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Thu, 31 Dec 2009 12:59:11 +0100 Message-ID: <4B3C920F.2070705@gmx.net> In-Reply-To: E1NQGNe-0002oV-1y@relay00.mail.eu.clara.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2939785092049888007==" --===============2939785092049888007== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Gordon Hughes schrieb: > finish. However, I have one initial observation. Sven reported that > the updated version of the ziggurat executes substantially faster > than the earlier version. Sorry that's not what I had meant. I was comparing the modified ziggurat with the algorithm that was in gretl before this whole discussion started. According to the Doornik paper a slight slowdown of the modified ziggurat with respect to the plain ziggurat is expected I think. cheers, sven --===============2939785092049888007==-- From svetosch@gmx.net Thu Dec 31 07:05:43 2009 From: Sven Schreiber To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Thu, 31 Dec 2009 13:05:24 +0100 Message-ID: <4B3C9384.5050706@gmx.net> In-Reply-To: Pine.A41.4.58.0912301913490.2744610@f1n11.sp2net.wfu.edu MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4660428975890821876==" --===============4660428975890821876== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Allin Cottrell schrieb: > On Wed, 30 Dec 2009, Sven Schreiber wrote: > >> Berend Hasselman schrieb: >>> On 29-12-2009, at 17:15, Sven Schreiber wrote: >>> >>>>> In theory it should be possible. >>>>> However the GTK framework is 32-bit. >>>>> In order to make a 64-bit executable all libraries used must be 64-bit. >>>>> >>>> hm, ok. so maybe it's easier to just download a 64bit Virtual Ubuntu >>>> machine and run the test on the VM? >>> Probably. But your VM environment would have to support 64-bits. >>> VirtualBox seems able to do that. I have no idea if it would work. >>> I've neven thought of trying. >> Big Crush w/ libgretl is now running here on 64bit Ubuntu inside >> VirtualBox (host is a Mac Mini with Core2Duo and OS X 10.6). Let's see >> what happens but probably not this year anymore (GMT+1) ... > > Great way to see in the New Year! Thanks, Sven. > Hm, sorry to say that the memory requirements of glibtest exceed the capacity of that computer. The VM was quickly starting to be swapping as hell, almost using no CPU anymore, just waiting for the hard disk. I was planning to upgrade the Ram anyway, but with the Mac Mini it's a bit tricky, so it'll have to wait a bit. Next week I can transfer the Ubuntu 64bit VM on my office computer and let it run there. happy new year's eve, sven --===============4660428975890821876==-- From cottrell@wfu.edu Thu Dec 31 08:19:06 2009 From: Allin Cottrell To: gretl-devel@gretlml.univpm.it Subject: Re: [Gretl-devel] Subject: Re: simulation speed Date: Thu, 31 Dec 2009 08:19:05 -0500 Message-ID: In-Reply-To: E1NQGNe-0002oV-1y@relay00.mail.eu.clara.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3477611196123447623==" --===============3477611196123447623== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Thu, 31 Dec 2009, Gordon Hughes wrote: > A word of warning about running the BigCrush test. Looking through > the results of the first run I noticed that some of the tests > generate test statistics that would reject the relevant hypothesis at > the 1% confidence level, even though all of the tests were reported > as having passed (since the criterion is p in the range > [0.001,0.999]). Since we are dealing with a random number generator > it is possible that one run may lead to no failures but another may > generate a number of failures. If all is well, one expects to see p-values randomly distributed on (0, 1): if you didn't get some values < .01 on a large set of tests that would itself be suspicious. It would require a modified test program, but in case one gets p-values that look "too small" on some tests, it's possible to rerun those tests in particular rather than redoing the whole thing. > Hence I ran the same test a second time. The execution times were > very similar (29h 40m vs 29h 41m). The second run reported a single > failure - Test 89 PeriodsInStrings , r = 20 with a p-value of > 6.4e-4. Personally I wouldn't be too worried about that -- it looks within the bounds of what you might expect. P-values of less than, say, 10^{-6} would be problematic. The failures that Doornik talks about are values < 10^{-300} and I've seen nothing like that with our code. > Sven reported that the updated version of the ziggurat executes > substantially faster than the earlier version. The early tests > in the BigCrush suite give a different picture - the execution > times are all slightly longer using the new gretl_one_snormal > than using the previous ran_normal_ziggurat. As Sven said later, this is expected. The new code is substantially faster than what we had before we started down the Ziggurat road; but it's necessarily a little slower than the Voss code, which uses 24-bit values. Allin. --===============3477611196123447623==--