[Gretl-devel] Re: problem building function packages with superfluous spaces in spec file

2024-04-16 Thread Sven Schreiber
Am 16.04.2024 um 20:40 schrieb Cottrell, Allin: On Sat, Apr 6, 2024 at 5:27 PM Sven Schreiber wrote: could it be that gretl chokes a little when in the .spec file of a function package the public functions are separated by more than one space? Working on the SVEC_GUI package, I see

[Gretl-devel] problem building function packages with superfluous spaces in spec file

2024-04-06 Thread Sven Schreiber
Hi, could it be that gretl chokes a little when in the .spec file of a function package the public functions are separated by more than one space? Working on the SVEC_GUI package, I see there was (has been forever?) a double blank in the line: public = GUI_SVEC GUI_plot_SVEC # line already

[Gretl-devel] matrix to scalar comparison operator

2024-04-05 Thread Sven Schreiber
Hi, consider the following operations/evaluations: ? = I(2) > 0 0 ? = I(2) >= 0 1 ? = I(2) > -1 1 It looks as if the non-dotted greater-(equal)-than operator between a matrix and a scalar behaves as if it checked every possible element-wise comparison to obtain the scalar result. In other

[Gretl-devel] Re: Dead link in gretl dependencies

2024-04-01 Thread Sven Schreiber
Am 19.03.2024 um 16:21 schrieb Federico Fiorani: Hi everyone, please note that the "readline" link here https://gretl.sourceforge.net/depend.html is dead I guess this whole page is seriously out of date. [Note to everybody: The delay in answering is due to mailing list technical troubles

[Gretl-devel] interaction of zoom and size buttons in plot windows

2024-04-01 Thread Sven Schreiber
Hi, this is a minor quirk, I guess: - In a plot window, apply a zoom selection (after right-clicking, for example). - Then click on the "bigger" button near the bottom-right corner -> the full frame is restored. Is this intended? - Even if the previous point is OK, click on the menu

[Gretl-devel] loop foreach and strings arrays: since when?

2024-03-14 Thread Sven Schreiber
Hi, I'm trying to find out since which gretl version it is possible to use a foreach loop with an array of strings. The official changelog only talks about the recent enabling of a nested array, but not of the original thing. Example: strings S = defarray("hey","ho") loop foreach s S    

[Gretl-devel] Re: User guide plotting chapter: outdated section

2024-03-06 Thread Sven Schreiber
Am 29.02.2024 um 13:09 schrieb Sven Schreiber: Am 29.02.2024 um 12:09 schrieb Riccardo (Jack) Lucchetti: On 29/02/2024 12:05, Sven Schreiber wrote: Hi, looking at the chapter "6 Graphs and plots", it seems to me that the sub-section "Publication-quality graphics: advanced o

[Gretl-devel] error message for GMM options --two-step and --iterate

2024-03-01 Thread Sven Schreiber
Hi, the two gmm options --two-step and --iterate and conceptually incompatible, and this fact has very recently been enforced in gretl; OK. Now when I still use the two of them together, for example in the code given in the ticket https://sourceforge.net/p/gretl/feature-requests/208/, then

[Gretl-devel] Re: User guide plotting chapter: outdated section

2024-02-29 Thread Sven Schreiber
Am 29.02.2024 um 12:09 schrieb Riccardo (Jack) Lucchetti: On 29/02/2024 12:05, Sven Schreiber wrote: Hi, looking at the chapter "6 Graphs and plots", it seems to me that the sub-section "Publication-quality graphics: advanced options" (within 6.1) is quite outdate

[Gretl-devel] Re: User guide plotting chapter: outdated section

2024-02-29 Thread Sven Schreiber
Am 29.02.2024 um 12:14 schrieb Artur T.: I recall our discussion. Perhaps we don't need to create another PDF, but instead, reference the wiki in the User's Guide, which will be populated with various examples. This wiki could function as a collaborative space where the barrier to adding an

[Gretl-devel] User guide plotting chapter: outdated section

2024-02-29 Thread Sven Schreiber
Hi, looking at the chapter "6 Graphs and plots", it seems to me that the sub-section "Publication-quality graphics: advanced options" (within 6.1) is quite outdated. It talks of sizes and terminals and so on which you haven't really had to touch at least for a couple of years. For PDF output

[Gretl-devel] Re: variable list (main) window not updated when list is returned

2024-02-28 Thread Sven Schreiber
Am 28.02.2024 um 00:52 schrieb Allin Cottrell: On Tue, 27 Feb 2024, Sven Schreiber wrote: And I called it with 'list L = putL()'. Afterwards I can do 'print s' and so on, but it's not in the GUI. I see what you mean. If you execute a list-returning script in the console the GUI

[Gretl-devel] variable list (main) window not updated when list is returned

2024-02-27 Thread Sven Schreiber
Hi, I have this reproducible behavior: Have an active dataset (e.g., australia.gdt), call a user-defined function that produces a list (and assign the return value); the new series from the created list do not show up in the GUI variable list. But they're there and can be accessed through

[Gretl-devel] typename() with non-existent input

2024-02-17 Thread Sven Schreiber
Hello, the help text for the (relatively recent) typename() function says:  "If the argument does not identify an object the string null is returned." - But I'm actually getting an error instead of a string output, like with all other functions (apart from exists()). Is the help text outdated

[Gretl-devel] 'hausman' a reserved word?

2024-02-10 Thread Sven Schreiber
Hi everybody, I've stumbled over the issue that I cannot copy the Hausman test results into a matrix called 'hausman'. Example: open denmark tsls LRM 0 LRY ; 0 LRY(-1) LRY(-2) eval $hausman matrix hoho = $hausman    # works matrix sargan = $sargan # works matrix hausman = $hausman    #

[Gretl-devel] usage of the term "variable" in messages (was: Re: Re: "local" series not deleteable)

2024-02-08 Thread Sven Schreiber
Am 07.02.2024 um 18:26 schrieb Sven Schreiber: Am 07.02.2024 um 17:45 schrieb Allin Cottrell: The error message is actually "You cannot delete series in this context". Deleting series is always something to be wary of, since it can invalidate existing lists, either directly or

[Gretl-devel] 'workspace' in the main git tree?

2024-02-08 Thread Sven Schreiber
Hi, I see that now there's an (empty) dir named "workspace" in the gretl git source tree. Is this fallout from moving the unit tests into the tree, or is it intended? thanks sven ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To

[Gretl-devel] Re: "local" series not deleteable

2024-02-07 Thread Sven Schreiber
Am 07.02.2024 um 17:45 schrieb Allin Cottrell: On Tue, 6 Feb 2024, Sven Schreiber wrote: The doc says that "delete" is only problematic in a loop, not in a function per se -- but true enough, if I add the --force switch to the delete command, then it does not complain a

[Gretl-devel] Re: extensions to the "gmm" command

2024-02-07 Thread Sven Schreiber
Am 07.02.2024 um 16:30 schrieb Allin Cottrell: A couple of extensions to the "gmm" command are now in git (snapshots will follow). 1) The doc for the "orthog" keyword (which defines an orthogonality condition) states that the terms on the left and right of the semicolon can be scalars,

[Gretl-devel] "local" series not deleteable

2024-02-06 Thread Sven Schreiber
Hi all, I'm not sure I understand the rationale for the error I'm getting: open denmark function void sercheck(void)     series hey = normal()     print hey     delete hey    # error "cannot delete variable in this context" end function sercheck() The doc says that "delete" is only

[Gretl-devel] Re: determining the members' types in a bundle

2024-02-06 Thread Sven Schreiber
Am 29.01.2024 um 00:03 schrieb Sven Schreiber: Hi, I needed to check whether a bundle contains a certain gretl object type, so I put together a fairly general but straightforward function that counts all the various types. Comments welcome; in particular whether this should go

[Gretl-devel] Re: bug with "const" in function

2024-02-02 Thread Sven Schreiber
Am 02.02.2024 um 15:12 schrieb Allin Cottrell: Right, but that happens automatically within any given gretl process, regardless of whether any series, or list of series, is passed to the called function. As a trivial illustration: In the MPI context the dataset (if present) is not

[Gretl-devel] Re: bug with "const" in function

2024-02-02 Thread Sven Schreiber
Am 02.02.2024 um 01:42 schrieb Allin Cottrell: However, that treatment of the "const" modifier cannot work when the series passed is the one named "const" (with ID number 0). That series is supposed to be automatically available at all levels of function execution, Well, but only if the

[Gretl-devel] bug with "const" in function

2024-02-01 Thread Sven Schreiber
Hi, this is a bug that is probably triggered only in unusual circumstances, but it happened to me in a kind-of real world function development scenario: clear function void serc (const series s) # the 'const' here is important     if exists(s)     print "to be"     else     eval

[Gretl-devel] Re: bcheck() with empty optional input

2024-01-30 Thread Sven Schreiber
Am 29.01.2024 um 21:19 schrieb Cottrell, Allin: On Sun, Jan 28, 2024 at 8:17 AM Sven Schreiber wrote: The point is that the main purpose of bcheck is to handle a bundle with options supplied by the user (here: "b"). So if the user is happy with the defaults and doesn't supply suc

[Gretl-devel] determining the members' types in a bundle

2024-01-28 Thread Sven Schreiber
Hi, I needed to check whether a bundle contains a certain gretl object type, so I put together a fairly general but straightforward function that counts all the various types. Comments welcome; in particular whether this should go into the "extra" addon. Also, do you like the return format

[Gretl-devel] Re: $jvbeta with restrictions

2024-01-28 Thread Sven Schreiber
Am 28.01.2024 um 15:12 schrieb Cottrell, Allin: On Sat, Jan 27, 2024 at 6:44 PM Sven Schreiber wrote: this is about VECM details at the scripting level. Consider the example at the bottom of this message. Typically $jvbeta (or equivalently $system.vecm_info.Bvar) has as many rows/cols

[Gretl-devel] bcheck() with empty optional input

2024-01-28 Thread Sven Schreiber
Hi function writers, there's a slight problem with the bcheck() function, see this example: function void bcheckcheck (bundle b[null])     bundle targ = _()     eval bcheck(, b) # error: 2nd arg is empty end function bcheckcheck() The point is that the main purpose of bcheck is to handle

[Gretl-devel] $jvbeta with restrictions

2024-01-27 Thread Sven Schreiber
Hi, this is about VECM details at the scripting level. Consider the example at the bottom of this message. Typically $jvbeta (or equivalently $system.vecm_info.Bvar) has as many rows/cols as the number of free long-run parameters. However, this seems to change when additional

[Gretl-devel] Re: corrgm, pergm, qlrtest, xcorrgm, and --outbuf

2024-01-25 Thread Sven Schreiber
Am 25.01.2024 um 20:01 schrieb Cottrell, Allin: On Wed, Dec 20, 2023 at 4:28 PM Sven Schreiber wrote: this is in the batch mode context, executing a hansl script. A problem with 'corrgm' is that it only produces a real plot (not a textplot) when the --plot=display option is given

[Gretl-devel] Re: panel sample restriction weirdness with dummy

2024-01-24 Thread Sven Schreiber
Am 24.01.2024 um 21:17 schrieb Allin Cottrell: On Mon, 22 Jan 2024, Sven Schreiber wrote: I've stumbled over a certain behavior with panel data handling, which could perhaps be a bug. Yes, there was a bug. After going over all that Sven reported I was able to replicate the problem

[Gretl-devel] Re: Creation of a Pull Request (Merge Request)

2024-01-22 Thread Sven Schreiber
Am 23.01.2024 um 00:29 schrieb Hélio Guilherme: Dear Professors :) a.k.a. Gretl development team. At request from Artut Tarassow, I have prepared a GitHub Actions configuration, that gets the tests from another repository at Sourceforge, named *workspace*, starts a Ubuntu virtual machine,

[Gretl-devel] Re: panel sample restriction weirdness with dummy

2024-01-22 Thread Sven Schreiber
Am 22.01.2024 um 22:01 schrieb Allin Cottrell: On Mon, 22 Jan 2024, Sven Schreiber wrote: Well, I couldn't remember exactly, so I repeated this part of the steps, and I remembered correctly, namely that I most definitely did not get a second dialog window. After saying No to the first

[Gretl-devel] Re: panel sample restriction weirdness with dummy

2024-01-22 Thread Sven Schreiber
Am 22.01.2024 um 19:26 schrieb Allin Cottrell: On Mon, 22 Jan 2024, Sven Schreiber wrote: * When you saved the restricted dataset, did you use the "store" command or the GUI? And if the latter, did you take the option (it's offered in a dialog) of reducing the dataset in memory to

[Gretl-devel] Re: panel sample restriction weirdness with dummy

2024-01-22 Thread Sven Schreiber
Am 22.01.2024 um 15:03 schrieb Allin Cottrell: On Mon, 22 Jan 2024, Sven Schreiber wrote: The dataset is monthly in the time dimension and recognized as such by gretl, n=1..435 and t=2023:01..2023:12. (N*T = 5220) Missings are present somewhere in most of the included variables

[Gretl-devel] Re: Variable naming bug

2024-01-21 Thread Sven Schreiber
Am 22.01.2024 um 01:05 schrieb Allin Cottrell: On Sun, 21 Jan 2024, Sven Schreiber wrote: Am 21.01.2024 um 23:17 schrieb Allin Cottrell: On Sun, 21 Jan 2024, Sven Schreiber wrote: 5. In the main window with the variable list, the new variable appears with a duplicated underscore, "he

[Gretl-devel] Re: (recession) bars in plots broken with annual data?

2024-01-21 Thread Sven Schreiber
Am 22.01.2024 um 01:10 schrieb Allin Cottrell: On Sun, 21 Jan 2024, Sven Schreiber wrote: Am 21.01.2024 um 23:26 schrieb Allin Cottrell: If you try adding bars via the GUI plot dialog and select "Other" (to skip NBER recessions), then click "See example", you get an exa

[Gretl-devel] panel sample restriction weirdness with dummy

2024-01-21 Thread Sven Schreiber
Hi again, I've stumbled over a certain behavior with panel data handling, which could perhaps be a bug. However, it turned out that when I closed and restarted gretl, the problem went away. It looks as if it could be relevant that the panel datafile is a subset that was saved as a gdt file

[Gretl-devel] Re: (recession) bars in plots broken with annual data?

2024-01-21 Thread Sven Schreiber
Am 21.01.2024 um 23:26 schrieb Allin Cottrell: If you try adding bars via the GUI plot dialog and select "Other" (to skip NBER recessions), then click "See example", you get an example, with a comment that includes "each non-comment line must contain two space-separated dates in the format

[Gretl-devel] Re: Variable naming bug

2024-01-21 Thread Sven Schreiber
Am 21.01.2024 um 23:17 schrieb Allin Cottrell: On Sun, 21 Jan 2024, Sven Schreiber wrote: 5. In the main window with the variable list, the new variable appears with a duplicated underscore, "hey__ho". This is fixed in git. Snapshots will follow. Thanks, Allin. I briefly c

[Gretl-devel] (recession) bars in plots broken with annual data?

2024-01-21 Thread Sven Schreiber
Hello once more, I was trying to get some shaded bars similar to recession bars with the usual plotting GUI apparatus, but in the context of annual data. I created pure text files with pairs of dates (years) as instructed; the contents is like this: 2015 2016 2018 2019 2021 2022 Gretl did

[Gretl-devel] Variable naming bug

2024-01-21 Thread Sven Schreiber
Hi, here are my steps to reproduce the bug: 0. have a dataset open 1. choose Data / Edit values 2. Click on the "add" (= "+") button, choose "add variable" 3. You get a window to enter the new name; enter something with a single underscore, e.g. "hey_ho" 4. Click on the accept button (=

[Gretl-devel] Re: Since when (gretl version) is pass-through of null arguments supported?

2024-01-15 Thread Sven Schreiber
Am 15.01.2024 um 19:19 schrieb Cottrell, Allin: On Sun, Jan 14, 2024 at 3:22 AM Sven Schreiber wrote: However, before the year 2023 (I think) the example above would yield an error, because inside the f1 function the object b wouldn't be defined and couldn't be directly passed on to f2. I

[Gretl-devel] Since when (gretl version) is pass-through of null arguments supported?

2024-01-14 Thread Sven Schreiber
Hi function writing experts, in the context of writing (or moderating) function packages I'm wondering when exactly has it become possible to pass through a null argument to a called sub-function? Here's what I mean (adapted from an example by Allin): function scalar f2 (bundle b[null])   

[Gretl-devel] glue together (or tabify) function and command reference windows?

2024-01-13 Thread Sven Schreiber
Hi everybody, in the quest for shrinking the number of separate gretl windows floating around the desktop, it was said that concrete ideas are wanted. So here's a fairly concrete one: Why not combine the windows with the built-in help (documentation) for commands and functions? I'm talking

[Gretl-devel] corrgm, pergm, qlrtest, xcorrgm, and --outbuf

2023-12-20 Thread Sven Schreiber
Hi everybody, this is in the batch mode context, executing a hansl script. A problem with 'corrgm' is that it only produces a real plot (not a textplot) when the --plot=display option is given; but this is incompatible with the --outbuf option. If you suppress --plot=display, then you get a

[Gretl-devel] Re: For-loop over a 'bundled' string array

2023-12-20 Thread Sven Schreiber
Am 20.12.2023 um 09:41 schrieb Artur T.: Hi all, Let's say we have a string array 'input'. The first example shows that the for-loop can be used for printing each element of the array. However, as the 2nd example shows, if the string array is stored in bundle B this does not seem to work

[Gretl-devel] the --outbuf option

2023-12-19 Thread Sven Schreiber
Hi everybody, since 2023b the 'gnuplot' command has an --outbuf option, which is duly documented. Then I was reminded (or found out) that it also works for the 'freq' command. (This question is related to the ticket https://sourceforge.net/p/gretl/feature-requests/191/.) The background is

[Gretl-devel] Re: question about plotting input from string buffers

2023-12-16 Thread Sven Schreiber
Am 17.12.2023 um 01:01 schrieb Cottrell, Allin: On Sat, Dec 16, 2023 at 6:40 PM Sven Schreiber wrote: open denmark string s gnuplot LRM --time-series --outbuf=s { set title 'My Title';} # works gnuplot --inbuf=s --output=display { set title 'My Title';} # fails Two questions: - The first

[Gretl-devel] question about plotting input from string buffers

2023-12-16 Thread Sven Schreiber
Hi, not sure whether the observed behavior (with gretl 2023c) with the following script is expected: open denmark string s gnuplot LRM --time-series --outbuf=s { set title 'My Title';} # works gnuplot --inbuf=s --output=display  { set title 'My Title';} # fails Two questions: - The

[Gretl-devel] Re: has_string_table for copied series

2023-12-14 Thread Sven Schreiber
Am 14.12.2023 um 16:32 schrieb Artur T.: series z = factor  # just a copy eval getinfo(factor)  # has_string_table = 1 eval getinfo(z)  # has_string_table = 0 While for series 'factor' has_string_table = 1, it is zero for the copy series 'z'. Is this as expected? Yes, as explained in the

[Gretl-devel] Re: to all translators

2023-11-26 Thread Sven Schreiber
Am 20.11.2023 um 15:24 schrieb Sven Schreiber: Dear fellow translators, I'm sorry if this is a duplicate message, but the next gretl release --most probably the final one for this year-- isn't too far away. So if you (like me) are not updating the translations super-regularly, now might

[Gretl-devel] Re: latest snapshot release candidate?

2023-11-26 Thread Sven Schreiber
Am 26.11.2023 um 21:13 schrieb Sven Schreiber: Hi Allin, I see there's a recent snapshot from Nov 24th. Is that supposed to be the latest snapshot before the next release, i.e. a kind of release candidate? P.S.: The color tool work that you added in August doesn't seem to look up

[Gretl-devel] latest snapshot release candidate?

2023-11-26 Thread Sven Schreiber
Hi Allin, I see there's a recent snapshot from Nov 24th. Is that supposed to be the latest snapshot before the next release, i.e. a kind of release candidate? thanks sven ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe

[Gretl-devel] Re: wrong hansl syntax in gnuplot doc

2023-11-21 Thread Sven Schreiber
Am 02.11.2023 um 12:12 schrieb Sven Schreiber: while working on the wiki blog entry, I've noticed that with respect to the new multiple-bands syntax, there's a mistake in the documentation for gnuplot; it contains the line: bundles bb = array(b1, b2) This should be 'defarray' instead

[Gretl-devel] to all translators

2023-11-20 Thread Sven Schreiber
Dear fellow translators, I'm sorry if this is a duplicate message, but the next gretl release --most probably the final one for this year-- isn't too far away. So if you (like me) are not updating the translations super-regularly, now might be a good time, so that the translated strings make

[Gretl-devel] Re: X13 and Tramo-Seats running problems

2023-11-08 Thread Sven Schreiber
Am 08.11.2023 um 17:47 schrieb Sven Schreiber: Am 08.11.2023 um 17:37 schrieb francesca di iorio: I am writing to report that my students are having considerable difficulty running X13 and tramo-seats for gretl with Windows11. In particular, several of them are reporting the attached error

[Gretl-devel] Re: X13 and Tramo-Seats running problems

2023-11-08 Thread Sven Schreiber
Am 08.11.2023 um 17:37 schrieb francesca di iorio: Dear all, I am writing to report that my students are having considerable difficulty running X13 and tramo-seats for gretl with Windows11. In particular, several of them are reporting the attached error codes. In principle the error

[Gretl-devel] regls version?

2023-11-06 Thread Sven Schreiber
Hi, there have been some (minor) changes to the regls code in git in October, but the spec file is unchanged, stating v0.9 from May. Is this intended? thanks sven ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe send an

[Gretl-devel] Re: clustered standard errors, 'period' keyword, driscoll_kraay

2023-11-02 Thread Sven Schreiber
Am 02.11.2023 um 14:26 schrieb Sven Schreiber: Ahhh OK, now I understand. Sorry, one more stupid question: The new cluster option is not accessible in the GUI, right? thanks sven ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it

[Gretl-devel] Re: clustered standard errors, 'period' keyword, driscoll_kraay

2023-11-02 Thread Sven Schreiber
Am 02.11.2023 um 14:23 schrieb Cottrell, Allin: On Thu, Nov 2, 2023 at 9:03 AM Sven Schreiber wrote: Am 02.11.2023 um 13:51 schrieb Allin Cottrell: See the "set" doc for the current status: options are "arellano", "pcse" and "scc". Ex

[Gretl-devel] Re: clustered standard errors, 'period' keyword, driscoll_kraay

2023-11-02 Thread Sven Schreiber
Am 02.11.2023 um 13:51 schrieb Allin Cottrell: On Thu, 2 Nov 2023, Sven Schreiber wrote: in short: --cluster=period works as announced, but with two-way clustering --cluster=period,unit doesn't work, one has to create a series mimicking the period (e.g., genr time). I guess

[Gretl-devel] clustered standard errors, 'period' keyword, driscoll_kraay

2023-11-02 Thread Sven Schreiber
Hi, in short: --cluster=period works as announced, but with two-way clustering --cluster=period,unit doesn't work, one has to create a series mimicking the period (e.g., genr time). I guess this is an oversight and not intended. Also, Allin, off-list you said that "set panel_robust

[Gretl-devel] wrong hansl syntax in gnuplot doc

2023-11-02 Thread Sven Schreiber
Hi, while working on the wiki blog entry, I've noticed that with respect to the new multiple-bands syntax, there's a mistake in the documentation for gnuplot; it contains the line: bundles bb = array(b1, b2) This should be 'defarray' instead of 'array'. I can apply the trivial fix myself,

[Gretl-devel] Re: Nix package manager a deployment option?

2023-10-31 Thread Sven Schreiber
Am 31.10.2023 um 16:40 schrieb Hélio Guilherme: Just my opinion. I am very conservative about package formats, or managers. I hate snap, and flatpack is second in the list. There is also AppImage, and I don't like it either.. From my limited experience, I'm not too enthusiastic about Snap,

[Gretl-devel] Nix package manager a deployment option?

2023-10-31 Thread Sven Schreiber
Hi, some time ago there were some discussions on whether a Flatpak-style release of gretl versions might make sense and/or be worth the effort. Now I've read about another tool: Nix, https://nixos.org/ I don't have any experience with that, but they support Linux and MacOS, the latter is

[Gretl-devel] was: Re: [Gretl-users] Re: Fwd: Norm of gradient in mle command

2023-10-27 Thread Sven Schreiber
Am 27.10.2023 um 16:08 schrieb Cottrell, Allin: On Fri, Oct 27, 2023 at 2:48 AM Riccardo (Jack) Lucchetti wrote: Call b the parameter vector and g the gradient vector, both with n elements. Then the norm is computed as gradnorm = sqrt(abs(b'g)/n) I don't remember where this formula came

[Gretl-devel] Re: regls internal error

2023-10-24 Thread Sven Schreiber
Am 23.10.2023 um 23:34 schrieb Cottrell, Allin: On Mon, Oct 23, 2023 at 2:39 PM Sven Schreiber wrote: Not a big deal, but I guess nevertheless some more internal validity or soundness checks are needed. Thanks for the report. That error indicates that sy, the return value from sdc() is NA

[Gretl-devel] Re: command log and regls

2023-10-23 Thread Sven Schreiber
Am 23.10.2023 um 20:05 schrieb Cottrell, Allin: On Mon, Oct 23, 2023 at 12:10 PM Sven Schreiber wrote: Hi all, it seems that a regls (Lasso & co.) estimate that is performed through the GUI does not show up in the command log. I can understand the internal technical reasons for that, b

[Gretl-devel] regls internal error

2023-10-23 Thread Sven Schreiber
Hi, this is what I got when I tried to run a totally non-serious arbitrary specification with regls, where (as it turned out) many (all?) variables had lots of missings or even only a single valid value: unbestimmte 'if'-Bedingung > if sy == 0 *** Fehler in Funktion s_standardize, Zeile 3 >

[Gretl-devel] command log and regls

2023-10-23 Thread Sven Schreiber
Hi all, it seems that a regls (Lasso & co.) estimate that is performed through the GUI does not show up in the command log. I can understand the internal technical reasons for that, but I wonder if that's the unavoidable state of affairs, or whether it's wanted that way. thanks sven

[Gretl-devel] Package GUI strings / translation

2023-10-05 Thread Sven Schreiber
Hi, for quite a long time we've had the "mish-mash" situation that the GUI strings of contributed function packages are partially translated; that is, if the original English string matches something in core gretl, then it's translated - at least that's how I understand it. The problem is

[Gretl-devel] embedded console as default

2023-09-20 Thread Sven Schreiber
Hi again, I've been using the "embedded console" feature setting for quite a while now, and like it a lot. When installing gretl on a new system together with a colleague, I was reminded that the console is not embedded by default. So the first impression when starting up gretl (at least on

[Gretl-devel] GUI: sorting possibility, visual indication

2023-09-20 Thread Sven Schreiber
Hi, I'd like to ask why in the GUI main window the sorting "arrows" in the columns are only shown after the user has already sorted stuff. I understand that the arrow gives an indication of the current sorting criterion (which column, and up or down); as shown in the attached screenshot

[Gretl-devel] Re: function call within loop fails

2023-07-28 Thread Sven Schreiber
Am 26.07.2023 um 18:46 schrieb Artur T.: Hi Allin, Thanks for the quick fix which works fine here on my machine. Also, thanks, Sven, for confirming the  bug. I think the good news is that it's not a brand-new bug/regression introduced with 2023b. If we survived at least two releases with

[Gretl-devel] Re: function call within loop fails

2023-07-26 Thread Sven Schreiber
Am 26.07.2023 um 15:00 schrieb Artur T.: Hi folks, > > using latest git under Ubuntu yields a weird error with a loop. The > following definitely used to work in the past but fails now with an > "Data error". > > The function get_dynamical_features() simply constructs a list of > lags of some

[Gretl-devel] Re: MPI (Re: [Gretl-users] Re: gretl 2023b released)

2023-07-25 Thread Sven Schreiber
Am 25.07.2023 um 01:09 schrieb Cottrell, Allin: On Mon, Jul 24, 2023 at 4:34 PM Sven Schreiber wrote: [moving this to gretl-devel] Am 21.07.2023 um 20:49 schrieb Cottrell, Allin: While I haven't tested very rigorously (and don't really understand how this would work), it seems this has

[Gretl-devel] MPI (Re: [Gretl-users] Re: gretl 2023b released)

2023-07-24 Thread Sven Schreiber
[moving this to gretl-devel] Am 21.07.2023 um 20:49 schrieb Cottrell, Allin: Ah, no, you still have to install MS-MPI (the DLLs and executables). What I updated was the support files involved in the gretl build: headers and the "import library". While I haven't tested very rigorously (and

[Gretl-devel] latest conference missing on the homepage

2023-07-22 Thread Sven Schreiber
Hi, just a quick observation: the latest mentioned conference on the main page is still London virtual in 2021. cheers sven ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe send an email to

[Gretl-devel] Re: gretl crash with omitted arg in hansl function

2023-07-19 Thread Sven Schreiber
Am 10.07.2023 um 19:18 schrieb Sven Schreiber: I'm seeing the following reproducible crash on Windows 10 on a snapshot from May. (Later I will test on a newer snapshot, but maybe someone can reproduce this.) Here's a pretty minimal example: function matrix f (string name[null])     print

[Gretl-devel] strange (buggy) if-result with NA

2023-07-19 Thread Sven Schreiber
Hi, this is with a July-3rd snapshot, and what strikes me as quite strange behavior: nulldata 20 series check = 0 check[1] = NA check[10] = 1 loop tau = 1..$nobs     eval check[tau]    # first with NA as expected     if check[tau] == 1     print tau    # expect only 10, get 1 and 10    

[Gretl-devel] panel restriction trouble

2023-07-15 Thread Sven Schreiber
Hello panel devotees, I believe I'm seeing a bug in cumulated sample restrictions in the panel context. Before I can set up a minimal example, let me describe hopefully in enough detail what I'm doing, what's failing, which workaround exists, and so on. I can't supply the dataset (yet)

[Gretl-devel] search anomalies in a script window on Windows

2023-07-15 Thread Sven Schreiber
Hi, I have a concrete example about how repeated searching in a script window shows strange behavior at least on Windows (perhaps because of GTK2?). Let's consider the code view of the ParMA package in the GUI program. This has 2095 lines, and let me search for the word "gnuplot". This

[Gretl-devel] Re: problem with large gdtb panel datafile and index variables

2023-07-15 Thread Sven Schreiber
Am 14.07.2023 um 22:05 schrieb Allin Cottrell: Actually, I think it's worth fixing, even if partially, now. First, I've come to understand a point that I wasn't clear on before, namely that the expensive GUI-specific check is only about more explicit error-reporting; it won't catch any

[Gretl-devel] Re: problem with large gdtb panel datafile and index variables

2023-07-14 Thread Sven Schreiber
Am 14.07.2023 um 19:07 schrieb Allin Cottrell: On Fri, 14 Jul 2023, Sven Schreiber wrote: Am 14.07.2023 um 17:34 schrieb Cottrell, Allin: I tried mocking up a fairly hefty panel (though no doubt a good deal smaller than yours) and I got a pause of several seconds between steps 3 and 4

[Gretl-devel] Re: problem with large gdtb panel datafile and index variables

2023-07-14 Thread Sven Schreiber
Am 14.07.2023 um 17:34 schrieb Cottrell, Allin: On Fri, Jul 14, 2023 at 8:59 AM Sven Schreiber wrote: I'm seeing a problem handling a fairly large panel dataset in the GUI. It started with a ~200MB binary gdtb file that was a recognized panel, with index variables "iso" (time,

[Gretl-devel] problem with large gdtb panel datafile and index variables

2023-07-14 Thread Sven Schreiber
Hello once more, I'm seeing a problem handling a fairly large panel dataset in the GUI. It started with a ~200MB binary gdtb file that was a recognized panel, with index variables "iso" (time, iso dates) and "STATIONS_ID". This had lots of unneeded obs with mostly missings, so I saved a

[Gretl-devel] strange error window after Enter on the console

2023-07-14 Thread Sven Schreiber
Hi, I'm attaching an error window screenshot I'm getting with the July 3rd snapshot on Win11. This happens  when hitting Enter (Return) on the (swallowed) console without any other input character. When I re-start gretl and immediately hit Return in the empty console, I'm getting a similar

[Gretl-devel] coint2 leftover?

2023-07-14 Thread Sven Schreiber
Hi, I've noticed in gui/gretlmain.xml that in some "action" field for the menus it still says "coint2". I know coint2 is still an accepted alias for the "johansen" command name introduced two years ago, but perhaps this should be changed to "johansen" as well? Not sure about the internals.

[Gretl-devel] Re: gretl 2023b coming up

2023-07-14 Thread Sven Schreiber
Am 13.07.2023 um 11:03 schrieb Riccardo (Jack) Lucchetti: On Wed, 12 Jul 2023, Cottrell, Allin wrote: The 4 columns now give: addon name, installed version, version on server, and comment. The comment variants are: * If the two version numbers are the same: "Up to date" * If the installed

[Gretl-devel] Re: PRE-RELEASE: Testscripts fail

2023-07-12 Thread Sven Schreiber
Am 12.07.2023 um 14:05 schrieb Cottrell, Allin: On Wed, Jul 12, 2023 at 2:53 AM Riccardo (Jack) Lucchetti wrote: On Wed, 12 Jul 2023, Artur T. wrote: Hi, Given Allin's announcement that a new version will be released soon, I ran the test scripts. 1. For the following script the assertion

[Gretl-devel] misleading error message when loading a package

2023-07-12 Thread Sven Schreiber
Hi, running Artur's fsboost package I first got the following error message: gretl-Version 2023b-git Aktuelle Sitzung: 2023-07-12 09:15 Fehler beim Laden von fsboost.gfn     # ... general error Fehler beim Öffnen des Ordners »C:\Users\Sven Schreiber\Documents\gretl\functions«: No such file

[Gretl-devel] Re: gretl 2023b coming up

2023-07-11 Thread Sven Schreiber
Am 11.07.2023 um 16:17 schrieb Cottrell, Allin: My current plan is to release gretl 2023b a week from today (July 18). So this would be a good time to update translations. Also if people have sets of test scripts it would be a good time to run them and report any problems. Thanks, Allin. The

[Gretl-devel] Re: more stuff in .gitignore ?

2023-07-11 Thread Sven Schreiber
Am 11.07.2023 um 14:17 schrieb Cottrell, Allin: On Tue, Jul 11, 2023 at 8:11 AM Sven Schreiber wrote: in my copies/clones of the git repo I'm getting a lot of untracked files which sometimes is a bit annoying. Some of them may have to do with un-recommended builds in the source tree

[Gretl-devel] more stuff in .gitignore ?

2023-07-11 Thread Sven Schreiber
Hi, in my copies/clones of the git repo I'm getting a lot of untracked files which sometimes is a bit annoying. Some of them may have to do with un-recommended builds in the source tree, but others are perhaps more pervasive. I'm not too familiar with the git rules for the .gitignore files:

[Gretl-devel] gretl crash with omitted arg in hansl function

2023-07-10 Thread Sven Schreiber
Hi, I'm seeing the following reproducible crash on Windows 10 on a snapshot from May. (Later I will test on a newer snapshot, but maybe someone can reproduce this.) Here's a pretty minimal example: function matrix f (string name[null])     print "hello"     return I(2) end function f()

[Gretl-devel] the "redhat" dir in the source tree

2023-07-10 Thread Sven Schreiber
Hi, a totally non-urgent question: Is the "redhat" directory in the source still needed? It only seems to contain the gretl.spec.in -- that alone of course doesn't say that it's unnecessary, but the latest change there seems to be from 2015. And looking into that short file, the duplication

[Gretl-devel] Re: install failure on virtual Ubuntu on Windows/WSL(g)

2023-07-10 Thread Sven Schreiber
Am 10.07.2023 um 13:17 schrieb Cottrell, Allin: On Mon, Jul 10, 2023 at 5:40 AM Sven Schreiber wrote: ... Any ideas how to work around this problem? Some switches at the configure stage? I'd try passing --disable-xdg to configure. Thanks, Allin, installation was successful now. Then I had

[Gretl-devel] install failure on virtual Ubuntu on Windows/WSL(g)

2023-07-10 Thread Sven Schreiber
Hi, I'm facing a problem in ubuntu 22.04 which runs in the Windows Subsystem for Linux, with support for graphical apps (version 2, WSLg), in Windows 11. The build runs fine, but at the "sudo make install" stage I'm getting: xdg-desktop-menu install gretl.desktop --novendor xdg-desktop-menu:

[Gretl-devel] Re: outdated online manuals

2023-06-18 Thread Sven Schreiber
Am 18.06.2023 um 19:02 schrieb Cottrell, Allin: On Sun, Jun 18, 2023 at 11:56 AM Sven Schreiber wrote: That's true. But then there still is the problem I described, namely that the installed snapshot would have access to the current manual versions (in C:\Program Files\gretl\doc

  1   2   3   4   5   6   7   8   9   10   >