[Gretl-devel] Re: problem with omit --auto=BIC

2025-07-28 Thread Sven Schreiber
Am 28.07.2025 um 14:23 schrieb Allin Cottrell: On Sun, 27 Jul 2025, Sven Schreiber wrote: Thanks, Allin! I tested with the latest snapshot and everything seems fine now! Ah, glad to hear it. I've now committed a second round of corrections for add/omit with the --auto flag, this ti

[Gretl-devel] Re: problem with omit --auto=BIC

2025-07-27 Thread Sven Schreiber
Am 25.07.2025 um 21:30 schrieb Cottrell, Allin: It's more specific than I indicated: things go wrong as soon as a lagged regressor /that is not the last regressor at the time/, gets omitted. The regressors will have been reordered, if necessary, at the start of the backward stepwise procedure

[Gretl-devel] Re: problem with omit --auto=BIC

2025-07-25 Thread Sven Schreiber
Am 25.07.2025 um 19:27 schrieb Allin Cottrell: It's something to do with lags. With time-series data and a specification that includes lags (like yours), SSR goes NaN and therefore BIC goes NaN when a regressor that's a lag is omitted. I think it's more subtle - I have variations here where

[Gretl-devel] Re: problem with omit --auto=BIC

2025-07-25 Thread Sven Schreiber
Am 25.07.2025 um 17:28 schrieb Cottrell, Allin: On Fri, Jul 25, 2025 at 10:22 AM Sven Schreiber wrote: Ah, OK, from the output (included at the end) I got the clue that actually the used code is in plugin/stepwise.c instead. (I had discarded that possibility because that file at the top has

[Gretl-devel] Re: problem with omit --auto=BIC

2025-07-25 Thread Sven Schreiber
Am 25.07.2025 um 16:48 schrieb Cottrell, Allin: On Fri, Jul 25, 2025 at 9:53 AM Sven Schreiber wrote: I can understand why one wants to focus on a candidate variable in each round, but doesn't that contradict the documentation of omit --auto: 'The “best” candidate at each step is

[Gretl-devel] Re: problem with omit --auto=BIC

2025-07-25 Thread Sven Schreiber
Am 25.07.2025 um 15:53 schrieb Sven Schreiber: Am 25.07.2025 um 13:08 schrieb Cottrell, Allin: On Fri, Jul 25, 2025 at 7:03 AM Sven Schreiber wrote: Will do -- but in the meantime, is my assumption correct that the constant should not automatically be removed by the algorithm? Yes, that&#

[Gretl-devel] Re: problem with omit --auto=BIC

2025-07-25 Thread Sven Schreiber
Am 25.07.2025 um 13:08 schrieb Cottrell, Allin: On Fri, Jul 25, 2025 at 7:03 AM Sven Schreiber wrote: Will do -- but in the meantime, is my assumption correct that the constant should not automatically be removed by the algorithm? Yes, that's right. I'm looking at some related c

[Gretl-devel] Re: problem with omit --auto=BIC

2025-07-25 Thread Sven Schreiber
Am 25.07.2025 um 12:43 schrieb Cottrell, Allin: On Thu, Jul 24, 2025 at 4:31 PM Sven Schreiber wrote: doesn't seem to make sense. I thought that the constant is always kept, at least per default? ... Maybe this information already helps a little to diagnose the problem. Not much, I

[Gretl-devel] problem with omit --auto=BIC

2025-07-24 Thread Sven Schreiber
Hi, with a recent snapshot I'm seeing weird behavior when playing around with the relatively new auto-omit option through BIC. Sorry, I cannot provide a self-contained example with public data yet. This is with 7-days-daily data. First, what I'm seeing is that with --auto=BIC the constant te

[Gretl-devel] plots, mouse zooming

2025-07-24 Thread Sven Schreiber
Hi, I was wondering if it could be possible without too much effort to enable mouse-wheel-based scrolling or zooming as described here: http://gnuplot.info/docs_6.1/loc14336.html I know that in a gretl-controlled plot one can already select "zoom..." and then define a rectangle with the mous

[Gretl-devel] Re: dbnomics w/o open dataset

2025-07-22 Thread Sven Schreiber
Am 08.04.2025 um 13:53 schrieb Sven Schreiber: just a quick note: running an dbnomics query ("data ...") without an active dataset doesn't result in an error (should it?), but it seems to confuse gretl afterwards. This thread is a little old, but just for the record. In the l

[Gretl-devel] Re: saving and loading user-defined functions

2025-07-22 Thread Sven Schreiber
Am 07.07.2025 um 17:14 schrieb Allin Cottrell: A small novelty in git which may be of use to developers: you can now use the "store" command, with a new --functions option, to save function definitions as XML. Material saved in this way can then be loaded using "include" on the XML file. ...

[Gretl-devel] windows dark theme: problem with icon view

2025-07-19 Thread Sven Schreiber
Hi, here's a theming problem with Windows-10-dark: The window with the icon view keeps its white background (I guess it shouldn't), but the font is then also white (as it should), so the icon names are invisible. Not sure whether it's something that would have to be adjusted in the gtk.css s

[Gretl-devel] Re: gretl-devel@gretlml.univpm.it

2025-06-17 Thread Sven Schreiber
Am 17.06.2025 um 09:13 schrieb Edward Ugarte: # === Preparación de datos === ... Hi Eward, did you get Jack's response after your earlier message from May 13th? He pointed out how a contributed function package needs to be prepared and uploaded to the package server for moderation. (This ma

[Gretl-devel] Panel time subsampling glitch

2025-06-16 Thread Sven Schreiber
Hi, reproducible example of the error I'm getting when I try to specify the month elements with single digits in the panel context (only): # plain monthly time series for comparison open hamilton smpl 1975:1 1980:6 # works with single-digit month numbers # artificial monthly panel T = 24 N

[Gretl-devel] Re: [Gretl-users] gretl 2025b released

2025-06-15 Thread Sven Schreiber
[moved to devel] Am 05.06.2025 um 18:40 schrieb Allin Cottrell: Windows users: Note that there's now an ARM64 package available: https://gretl.sourceforge.net/win32/ Thanks, Allin. I will close the corresponding ticket on the tracker in a minute. Some more or less cosmetic remarks on the W

[Gretl-devel] Re: append in the GUI fails silently

2025-05-21 Thread Sven Schreiber
Am 20.05.2025 um 22:34 schrieb Cottrell, Allin: On Tue, May 20, 2025 at 3:54 PM Cottrell, Allin wrote: On Tue, May 20, 2025 at 3:03 PM Sven Schreiber wrote: I had the following case: appending an (treated as undated) dataset to another one (also nominally undated). To cut the long story

[Gretl-devel] append in the GUI fails silently

2025-05-20 Thread Sven Schreiber
Hi, I had the following case: appending an (treated as undated) dataset to another one (also nominally undated). To cut the long story short, I had extra series in the "outer" dataset. In the console, gretl gave the error message "alignment of new series unclear" or so. However, in the GUI, t

[Gretl-devel] Re: New Sampling Package for Gretl

2025-05-20 Thread Sven Schreiber
Dear Edward, it sounded as if your package was finished and ready for submission, but I believe it hasn't happened yet. If you have the packaged gfn file,  you can go to the menu File/Function packages/Upload package... You will need to register on the package server to complete the process (t

[Gretl-devel] regls_coeff_plot (Re: Re: regls and...)

2025-05-06 Thread Sven Schreiber
Am 16.04.2025 um 16:08 schrieb Cottrell, Allin: On Wed, Apr 16, 2025 at 8:16 AM Sven Schreiber wrote: Thanks, I'm attaching an example adapted from multiprint.inp which provokes the error here for me. It seems to be related to cross-validation. Thanks for the example. The problem was spe

[Gretl-devel] Re: gnuplot cmd refuses to deal with single obs

2025-05-04 Thread Sven Schreiber
Am 03.05.2025 um 22:05 schrieb Cottrell, Allin: On Sat, May 3, 2025 at 10:00 AM Sven Schreiber wrote: follow-up, the behavior is not restricted no matrix input; example: open AWM smpl 1980:1 1980:1 gnuplot GCR --time-series # same error (missing values) Does anybody have an idea for a

[Gretl-devel] Re: gnuplot cmd refuses to deal with single obs

2025-05-03 Thread Sven Schreiber
Am 02.05.2025 um 00:15 schrieb Sven Schreiber: Hi, gnuplot complains about missing values when only  a single obs (row) is provided, at least in matrix format. Example: follow-up, the behavior is not restricted no matrix input; example: open AWM smpl 1980:1 1980:1 gnuplot GCR --time

[Gretl-devel] gnuplot cmd refuses to deal with single obs

2025-05-01 Thread Sven Schreiber
Hi, gnuplot complains about missing values when only  a single obs (row) is provided, at least in matrix format. Example: m1 = {1,2,3} m2 = {1,2,2} m = m1 | m2 gnuplot --matrix=m --output=display gnuplot --matrix=m1 --output=display # fails I would expect that with a single obs the plot

[Gretl-devel] crash with a malformed gfn file

2025-04-27 Thread Sven Schreiber
Hi, when opening a potential new version of somebody's package as a gfn file, gretl crashed on me (repeatedly) when trying to view the code. Accessing the help text worked, though. Running the sample script yielded a data error. I imagine the gfn is faulty (might not have been created with gr

[Gretl-devel] Re: regls (...)

2025-04-17 Thread Sven Schreiber
Am 17.04.2025 um 17:15 schrieb Cottrell, Allin: Yes, it seems clear that BIC is not an effective criterion in the fat case. The trouble is that as a saturated model is approached the SSR will continue to decline somewhat, increasing the log-likelihood, while the penalty 'k' in the BIC formula (wh

[Gretl-devel] Re: regls (...)

2025-04-17 Thread Sven Schreiber
Am 16.04.2025 um 17:33 schrieb Sven Schreiber: I've been puzzled by real-world applications with lots of potential regressors and how the optimization of the lambda sequence turns out, especially with the BIC. Gretl seems to tell me quite often that the optimal model is one where t

[Gretl-devel] Re: regls (...)

2025-04-16 Thread Sven Schreiber
OK, here's another regls question, and again nothing to do with missings anymore -- I thought I re-interpret this thread as being regls-related in general today. I've been puzzled by real-world applications with lots of potential regressors and how the optimization of the lambda sequence turns

[Gretl-devel] Re: regls and missings in the middle

2025-04-16 Thread Sven Schreiber
Am 16.04.2025 um 16:05 schrieb Cottrell, Allin: On Wed, Apr 16, 2025 at 8:29 AM Sven Schreiber wrote: Am 16.04.2025 um 13:43 schrieb Cottrell, Allin: Please provide a minimal example. The regls addon includes code to detect and avoid missing values, as follows: ... This seems to work in most

[Gretl-devel] Re: regls and missings in the middle

2025-04-16 Thread Sven Schreiber
Am 16.04.2025 um 13:43 schrieb Cottrell, Allin: Please provide a minimal example. The regls addon includes code to detect and avoid missing values, as follows: ... This seems to work in most cases so I think there must be something unusual going on. Yeah, right now I cannot replicate it anymore

[Gretl-devel] Re: regls and missings in the middle

2025-04-16 Thread Sven Schreiber
Am 16.04.2025 um 14:09 schrieb Cottrell, Allin: On Tue, Apr 15, 2025 at 10:09 AM Sven Schreiber wrote: Another regls (regls_multiprint) problem [...] lfrac R^2sum(|b|) df criterion 1.0 0.0.00 0 Uneindeutiger Matrixindex

[Gretl-devel] Re: regls and missings in the middle

2025-04-15 Thread Sven Schreiber
Am 15.04.2025 um 15:25 schrieb Sven Schreiber: it looks as if regls (Lasso...) isn't checking for missings that happen somewhere in the middle of the data. Implicitly this is acknowledged by comments in the example code snippets in the regls help document ("without missing values...

[Gretl-devel] regls and missings in the middle

2025-04-15 Thread Sven Schreiber
Hi all, it looks as if regls (Lasso...) isn't checking for missings that happen somewhere in the middle of the data. Implicitly this is acknowledged by comments in the example code snippets in the regls help document ("without missing values..." etc.). I just saw some internal data errors hap

[Gretl-devel] Re: weird list creation behavior in package GUI (model window context)

2025-04-10 Thread Sven Schreiber
Am 07.04.2025 um 22:35 schrieb Allin Cottrell: On Mon, 7 Apr 2025, Sven Schreiber wrote: OK, but two questions remaining: 1) See my other email some minutes ago: the listmaker example with list "L = m.xlist - m.instlist" seems to do just that, no? No, that's just a matter

[Gretl-devel] dbnomics w/o open dataset

2025-04-08 Thread Sven Schreiber
Hi all, just a quick note: running an dbnomics query ("data ...") without an active dataset doesn't result in an error (should it?), but it seems to confuse gretl afterwards. cheers sven ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it

[Gretl-devel] Re: weird list creation behavior in package GUI (model window context)

2025-04-07 Thread Sven Schreiber
Am 07.04.2025 um 20:21 schrieb Cottrell, Allin: Here's a further response to Sven after doing some more investigation. It's unlikely to be of interest to anyone who's not in the business of writing packaged functions that key off models represented in windows in the gretl GUI. The key question i

[Gretl-devel] Re: weird list creation behavior in package GUI (model window context)

2025-04-07 Thread Sven Schreiber
Am 07.04.2025 um 16:53 schrieb Allin Cottrell: Now here's the dataset context in the example Sven describes. * The "denmark" dataset contains the four series LRM, LRY, IBO and IDE, with IDs 1 to 4. * A regression of the form "ols LRM const IBO LRM(-1 to -2)" is run, which results in the add

[Gretl-devel] a very basic test of gretl4py

2025-04-07 Thread Sven Schreiber
Hi all, especially Marcin of course, I just wanted to report how the setup of gretl4py worked for me in practice, nothing special. This is an old computer (Sandybridge 4-core) running Windows 10. So first I did a fresh install of the latest Miniconda variant of the Anaconda Python distributi

[Gretl-devel] weird list creation behavior in package GUI (model window context)

2025-04-06 Thread Sven Schreiber
ystery with bundled series and lists? And concretely, how can I successfully remove from $model.xlist the lag terms in this context without doing black magic? This is with gretl 2025a on Windows 11. thanks a lot for reading until the end sven Sven Schreiber 1.2 2025-04-05 Extensions for

[Gretl-devel] Re: new euro area AWM data

2025-03-31 Thread Sven Schreiber
Am 31.03.2025 um 09:09 schrieb Riccardo (Jack) Lucchetti: On 28/03/2025 18:10, Sven Schreiber wrote: with a little delay I've become aware of some work that updates the good old area-wide model dataset. In gretl we currently ship AWM, AWM17, and AWM18, and then it wasn't updated anym

[Gretl-devel] new euro area AWM data

2025-03-28 Thread Sven Schreiber
Hi everybody, with a little delay I've become aware of some work that updates the good old area-wide model dataset. In gretl we currently ship AWM, AWM17, and AWM18, and then it wasn't updated anymore at the source. Now there's ˙Ipek and Kısacıko˘glu who offer new data, see https://mahmuts.bi

[Gretl-devel] Re: different eigenvalue error handling for non-numeric input

2025-03-26 Thread Sven Schreiber
Am 26.03.2025 um 09:00 schrieb Riccardo (Jack) Lucchetti: On 25/03/2025 21:11, Cottrell, Allin wrote: On Tue, Mar 25, 2025 at 10:52 AM Riccardo (Jack) Lucchetti wrote: On 25/03/2025 15:46, Sven Schreiber wrote: So we have everything: a hard-stopping error, some IEEE code (?), and a gretl

[Gretl-devel] Re: different eigenvalue error handling for non-numeric input

2025-03-25 Thread Sven Schreiber
Am 25.03.2025 um 15:52 schrieb Riccardo (Jack) Lucchetti: On 25/03/2025 15:46, Sven Schreiber wrote: ? matrix hello = {1/0} # to get invalid input ? = eigensym(hello) Not a Number geschah bei Berechnung ? = eigen(hello)    1.#INF ? = svd(hello)   nan So we have everything: a

[Gretl-devel] different eigenvalue error handling for non-numeric input

2025-03-25 Thread Sven Schreiber
Hi, consider this with gretl 2025a: ? matrix hello = {1/0} # to get invalid input ? = eigensym(hello) Not a Number geschah bei Berechnung ? = eigen(hello)   1.#INF ? = svd(hello) nan So we have everything: a hard-stopping error, some IEEE code (?), and a gretl code. Plus, wit

[Gretl-devel] Re: cnameset glitch?

2025-03-22 Thread Sven Schreiber
Am 22.03.2025 um 19:18 schrieb Cottrell, Allin: On Wed, Mar 19, 2025 at 8:29 PM Sven Schreiber wrote: matrix mtemp = ones(12) ~ seq(1,12)' # two columns cnameset(mtemp, "") # works cnameset(mtemp, " ") # works cnameset(mtemp, defarray(" ",&qu

[Gretl-devel] cnameset glitch?

2025-03-19 Thread Sven Schreiber
Hi, I'm wondering about the following behavior: matrix mtemp = ones(12) ~ seq(1,12)' # two columns cnameset(mtemp, "")  # works cnameset(mtemp, " ") # works cnameset(mtemp, defarray(" "," ")) # works cnameset(mtemp, defarray("","")) # gives error: Missing string in cnameset I believe that

[Gretl-devel] string not marked for translation

2025-03-13 Thread Sven Schreiber
Hi, I believe that there's a non-translated string for the panel dataset status line: in gui/menustate.c line 1076:    s = g_strdup_printf("Panel: units %d:%d, time %s:%s",     u1, u2, st1, st2); Too late for 2025a I guess, but not a problem, of course. cheers sven

[Gretl-devel] "--bands" gnuplot option not explicitly listed in ref

2025-03-12 Thread Sven Schreiber
Hi, the plural "--bands" option for multiple bands in the gnuplot command is explained in the help text there, but quite hidden. And the option does not appear in the list of options, only the old singular "--band" does. So I'd suggest to add that plural option there. Perhaps it is also time

[Gretl-devel] Re: clean-up of the "Cheat sheet" guide chapter

2025-02-27 Thread Sven Schreiber
Am 14.02.2025 um 15:52 schrieb Sven Schreiber: Am 13.02.2025 um 19:41 schrieb Allin Cottrell: ... That's now fixed, but there's more to say about it when we get a chance. OK, looking forward to it. ... The little "cheatsheet reform" of this thread is now in git, hopefully

[Gretl-devel] Re: levels forecast of log model

2025-02-27 Thread Sven Schreiber
Am 26.02.2025 um 18:49 schrieb Sven Schreiber: Am 11.01.2025 um 15:48 schrieb Riccardo (Jack) Lucchetti: On 05/01/2025 14:58, Sven Schreiber wrote: Hi all, this is the announced follow-up post about the message on the users list regarding transforming log predictions to levels. Perhaps it

[Gretl-devel] Re: levels forecast of log model

2025-02-26 Thread Sven Schreiber
Am 11.01.2025 um 15:48 schrieb Riccardo (Jack) Lucchetti: On 05/01/2025 14:58, Sven Schreiber wrote: Hi all, this is the announced follow-up post about the message on the users list regarding transforming log predictions to levels. Perhaps it might be an idea to have a little function

[Gretl-devel] Re: remaining auto-translated argument labels in contributed packages

2025-02-26 Thread Sven Schreiber
Am 21.01.2025 um 21:39 schrieb Sven Schreiber: Hi, this concerns the language "mish-mash" in the GUI dialog windows of contributed function packages, when running in a local language (non-English). Since contributed packages are not / cannot be translated like native gretl, la

[Gretl-devel] "empty" keyword

2025-02-25 Thread Sven Schreiber
Hi all, since "empty" has been a keyword for a while (as in: 'bundle B = empty'), I'm wondering when it was introduced? I cannot find it in the changelog. thanks sven ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe send

[Gretl-devel] Re: $portmanteau accessor after VAR hidden

2025-02-24 Thread Sven Schreiber
Am 14.02.2025 um 16:12 schrieb Sven Schreiber: ... eval $pmanteau[3:4] # not in $system? Any important reason why it's not really made public, or just an oversight? Or should the content rather be moved into the $system bundle altogether? It ($pmanteau, that is) is public now. c

[Gretl-devel] Re: some explanation of hyp2f1() needed

2025-02-20 Thread Sven Schreiber
Thanks, Jack. -s Am 19.02.2025 um 23:35 schrieb Riccardo (Jack) Lucchetti: On 14/02/2025 17:06, Sven Schreiber wrote: Hi again, I think the built-in hyp2f1() function needs some more documentation in the function reference, where it basically just says that it's the Gauss hypergeom

[Gretl-devel] Re: on the LaTeX "listings" package and hansl

2025-02-17 Thread Sven Schreiber
Am 05.02.2025 um 12:53 schrieb Sven Schreiber:  I guess I will file a bug report with Miktex about that. Done (on github); let's see what happens there. The default formatting choices surely can be improved, to be honest; especially in the black&white (non-color) variant. Some updat

[Gretl-devel] Re: some explanation of hyp2f1() needed

2025-02-14 Thread Sven Schreiber
Am 14.02.2025 um 17:55 schrieb Riccardo (Jack) Lucchetti: On 14/02/2025 17:06, Sven Schreiber wrote: I think the built-in hyp2f1() function needs some more documentation in the function reference, where it basically just says that it's the Gauss hypergeometric function with four arguments

[Gretl-devel] some explanation of hyp2f1() needed

2025-02-14 Thread Sven Schreiber
Hi again, I think the built-in hyp2f1() function needs some more documentation in the function reference, where it basically just says that it's the Gauss hypergeometric function with four arguments, and that the fourth argument should be real-valued. For example, on Wikipedia (https://en.w

[Gretl-devel] Re: $portmanteau accessor after VAR hidden

2025-02-14 Thread Sven Schreiber
Am 14.02.2025 um 16:12 schrieb Sven Schreiber: I just realized that the $portmanteau accessor ... eval $pmanteau[1] Sorry for any confusion, the given script was tested and works, showing that the accessor is named $pmanteau and _not_ $portmanteau as insinuated in the subject line

[Gretl-devel] $portmanteau accessor after VAR hidden

2025-02-14 Thread Sven Schreiber
Hi all, I just realized that the $portmanteau accessor which is available after a VAR does not appear in the function/accessor reference. It's a 4-element vector with the test result that is also printed out regularly. Usage example, which also shows that some but not all of the information

[Gretl-devel] Re: clean-up of the "Cheat sheet" guide chapter

2025-02-14 Thread Sven Schreiber
Am 13.02.2025 um 19:41 schrieb Allin Cottrell: On Wed, 12 Feb 2025, Sven Schreiber wrote: Here's a tested variant of what I meant: open grunfeld # how many periods (here: years) to average newfreq = 4 # a dummy for endpoints series endpoint = (time % newfreq == 0) # 'time&#

[Gretl-devel] Re: clean-up of the "Cheat sheet" guide chapter

2025-02-13 Thread Sven Schreiber
Am 12.02.2025 um 17:49 schrieb Sven Schreiber: OK, so here's something much more straightforward IMHO to calculate a per-hour volatility, using the aggregate function: nulldata 720 setobs 60 1:1 --time-series # 60 minutes per hour series x = normal() matrix v = aggregate(x, $obsmajor

[Gretl-devel] Re: clean-up of the "Cheat sheet" guide chapter

2025-02-12 Thread Sven Schreiber
Am 11.11.2024 um 03:04 schrieb Cottrell, Allin: On Sun, Nov 10, 2024 at 1:27 PM Sven Schreiber wrote: I'm currently looking at ch. 21 of the guide, "Cheat sheet". I'd propose the following cleanups (which I could apply if people agree): Following-up on this earlier li

[Gretl-devel] Re: foreign block and string-valued series

2025-02-10 Thread Sven Schreiber
Am 06.02.2025 um 14:37 schrieb Cottrell, Allin: Yes, it's intended that string values are transferred when series data are passed from gretl to R. What sort of "hiccups" are you seeing on the R side? Never mind, it was just that I missed that the "country" variable was string-valued in the fir

[Gretl-devel] on the LaTeX "listings" package and hansl

2025-02-05 Thread Sven Schreiber
Dear all, here's just a little information and update about how "listings" for LaTeX works with hansl. The background is that a couple of years ago Jack and I had been in contact with the maintainer and provided some more input. (A long time ago I believe it was Ignacio who had initially mana

[Gretl-devel] Re: foreign block and string-valued series

2025-02-03 Thread Sven Schreiber
Am 27.01.2025 um 00:20 schrieb Cottrell, Allin: On Sun, Jan 26, 2025 at 12:43 PM Sven Schreiber wrote: in applied work with a 'foreign' block where data is sent to R, I had the case of a string-valued series which was transferred as strings and then caused hiccups on the R side. I

[Gretl-devel] on the max. iteration settings

2025-01-27 Thread Sven Schreiber
Hi, this is the companion message to the iteration settings question raised by Artur. I thought the following questions don't make too much sense on the users list. We have "set gmm_maxiter " for GMM, we're talking of something equivalent for 3SLS in the system context, and in section 26.1 o

[Gretl-devel] foreign block and string-valued series

2025-01-26 Thread Sven Schreiber
Hi, in applied work with a 'foreign' block where data is sent to R, I had the case of a string-valued series which was transferred as strings and then caused hiccups on the R side. I solved the problem by copying on the gretl side the series to another one, which then --as described in the gu

[Gretl-devel] remaining auto-translated argument labels in contributed packages

2025-01-21 Thread Sven Schreiber
Hi, this concerns the language "mish-mash" in the GUI dialog windows of contributed function packages, when running in a local language (non-English). Since contributed packages are not / cannot be translated like native gretl, last year we decided to try to avoid this in the sense that gretl

[Gretl-devel] Re: levels forecast of log model

2025-01-05 Thread Sven Schreiber
Am 05.01.2025 um 14:58 schrieb Sven Schreiber: As an example, take the following estimate and the calculations that only depend on the $model bundle that should be available for a function package inside the model window: series exp_@lyname = exp(lyhat) + exp(s^2) # would have to be the

[Gretl-devel] levels forecast of log model

2025-01-05 Thread Sven Schreiber
Hi all, this is the announced follow-up post about the message on the users list regarding transforming log predictions to levels. Perhaps it might be an idea to have a little function package that offers this in the context of an estimated single-equation model. As an example, take the foll

[Gretl-devel] Re: data artefact for added obs

2025-01-03 Thread Sven Schreiber
Am 03.01.2025 um 14:48 schrieb Cottrell, Allin: On Fri, Jan 3, 2025 at 6:16 AM Sven Schreiber wrote: Am 02.01.2025 um 22:43 schrieb Cottrell, Allin: On Thu, Jan 2, 2025 at 12:40 PM Riccardo (Jack) Lucchetti wrote: at line 1121 by moving the call to "maybe_extend_dummies(dset, oldn)&qu

[Gretl-devel] Re: data artefact for added obs

2025-01-03 Thread Sven Schreiber
Am 02.01.2025 um 22:43 schrieb Cottrell, Allin: On Thu, Jan 2, 2025 at 12:40 PM Riccardo (Jack) Lucchetti wrote: One of the things I'd do (but wouldn't fix the problem you spotted) is to change the code block maybe_extend_dummies(dset, oldn); if (dataset_is_time_series(dset)

[Gretl-devel] Re: data artefact for added obs

2025-01-02 Thread Sven Schreiber
Am 19.12.2024 um 20:13 schrieb Sven Schreiber: Hi all, I just observed the following unwanted behavior; this is with gretl 2024d, but probably not brand new: - I have a short yearly dataset spanning 2013-2023. (Confidential, cannot share it here.) - There are 14 time series in it, and

[Gretl-devel] Re: blanks in function arg bounds

2024-12-20 Thread Sven Schreiber
Am 08.12.2024 um 20:39 schrieb Sven Schreiber: Hi, is it expected that whitespace is not allowed in the following context? function void f1(int n[0:2:1])     print n end function function void f2(int n[0 : 2 : 1]) # syntax error Just for the record: yes, it's expected given the wa

[Gretl-devel] data artefact for added obs

2024-12-19 Thread Sven Schreiber
Hi all, I just observed the following unwanted behavior; this is with gretl 2024d, but probably not brand new: - I have a short yearly dataset spanning 2013-2023. (Confidential, cannot share it here.) - There are 14 time series in it, and somewhere in the middle is a binary dummy, although

[Gretl-devel] blanks in function arg bounds

2024-12-08 Thread Sven Schreiber
Hi, is it expected that whitespace is not allowed in the following context? function void f1(int n[0:2:1])     print n end function function void f2(int n[0 : 2 : 1]) # syntax error     print n end function f1() f2() thanks sven ___ Gretl-devel

[Gretl-devel] completely unimportant ambiguity

2024-11-27 Thread Sven Schreiber
Hi all, OK so this isn't really a serious point, but when looking at old loop code it occurred to me that the short switch "-q" (standing in for --quiet) is ambiguous. Consider this: q = 1 loop i = 1 .. 3 -q # up to 3 and quiet or up to 2 (3-1)?     print i endloop Again, now that we've

[Gretl-devel] recently little plotting delays on Windows?

2024-11-15 Thread Sven Schreiber
Hi all, I just want to share an observation of the past few weeks and would like to ask if it's just me. Subjectively it seems to me that there is a little delay when asking gretl to plot something; this is on Windows 10 and 11, and relatively recent hardware. The delay isn't very long, I gue

[Gretl-devel] Re: PCA with missing values

2024-11-14 Thread Sven Schreiber
Am 14.11.2024 um 12:13 schrieb Artur T.: Am 14.11.24 um 11:57 schrieb Riccardo (Jack) Lucchetti: For some work I'm doing, I need to apply PCA to data containing missing values. So I dug up some old code that I had around, which implements Stock and Watson's EM algorithm (detailed in the 2002

[Gretl-devel] clean-up of the "Cheat sheet" guide chapter

2024-11-10 Thread Sven Schreiber
Hello everybody, I'm currently looking at ch. 21 of the guide, "Cheat sheet". I'd propose the following cleanups (which I could apply if people agree): section 21.1: - Time averaging of panel datasets: I think it would be nice to use a real-world dataset such as grunfeld.gdt instead of havin

[Gretl-devel] Re: surprising type change

2024-11-06 Thread Sven Schreiber
Am 05.11.2024 um 17:06 schrieb Cottrell, Allin: Hmm, the fact that we don't auto-convert a 1x1 matrix to scalar in your second case, but we do when the matrix figures as an argument to defbundle() / _() seems like a nasty inconsistency. In git I've cancelled that conversion. I think this should b

[Gretl-devel] Re: sourceforge downloads

2024-11-06 Thread Sven Schreiber
Am 06.11.2024 um 16:44 schrieb Riccardo (Jack) Lucchetti: On 06/11/2024 15:04, Sven Schreiber wrote: I'm using the SF website (like normal users do), and I'm not aware where you can adjust any mirrors. The download page contains a "Problems downloading?" button (as per

[Gretl-devel] latest Windows snapshot failing

2024-11-06 Thread Sven Schreiber
Hi, the sample script of my package PTconf (current version 1.2) runs fine on 2024c and on a snapshot from Oct 25th, but is failing with an error on yesterday's snapshot. (error with new starting obs) Maybe the recent work on subsampling didn't quite get there yet? thanks sven _

[Gretl-devel] Re: sourceforge downloads

2024-11-06 Thread Sven Schreiber
Am 06.11.2024 um 14:24 schrieb Hélio Guilherme: Well, we should have already set up a release of packages at GitHub. It could be an alternative. You can prepare, actually maybe only Artur Tarasow, a manual release at the Project: https://github.com/gretl-project/gretl I'm not sure what the st

[Gretl-devel] sourceforge downloads

2024-11-06 Thread Sven Schreiber
Hello everybody, for me the download speed for the Win installers from sourceforge is horrible again, it's taking ages. I'm on Wifi, but we're talking of effective speeds of 200KB/sec. Of course other stuff like antivirus software could play a role, but it's not the first time, so are you see

[Gretl-devel] Re: sourceforge downloads

2024-11-06 Thread Sven Schreiber
Am 06.11.2024 um 14:10 schrieb Riccardo (Jack) Lucchetti: On 06/11/2024 12:23, Sven Schreiber wrote: Hello everybody, for me the download speed for the Win installers from sourceforge is horrible again, it's taking ages. I'm on Wifi, but we're talking of effective speeds o

[Gretl-devel] Re: surprising type change

2024-11-04 Thread Sven Schreiber
Am 05.11.2024 um 01:12 schrieb Cottrell, Allin: On Mon, Nov 4, 2024 at 6:39 PM Sven Schreiber wrote: What exactly caused you to struggle? It's expected behavior in gretl that a 1 x 1 matrix "decays" to a scalar outside of "genr" unless you prevent that, but the idea

[Gretl-devel] Re: surprising type change

2024-11-04 Thread Sven Schreiber
Am 05.11.2024 um 00:38 schrieb Sven Schreiber: matrix m = {0.5} eval typename(m)    # matrix b = _(hu=m) eval typename(b.hu)    # scalar So the mere copy of the object changes its type here. (Also happens outside of a bundle, but there you can force the type more easily.) OK, so the only

[Gretl-devel] surprising type change

2024-11-04 Thread Sven Schreiber
Hi, I have been struggling with this unexpected behavior: matrix m = {0.5} eval typename(m)    # matrix b = _(hu=m) eval typename(b.hu)    # scalar So the mere copy of the object changes its type here. (Also happens outside of a bundle, but there you can force the type more easily.) I don

[Gretl-devel] Re: Formated print of string arrays

2024-11-01 Thread Sven Schreiber
Am 01.11.2024 um 11:18 schrieb Artur T.: Dear all, Is it possible to use formatted printing for string arrays? If so, how? If now, why? Why not? I guess nobody implemented it... Sorry, bad joke. But seriously, what do you want to achieve exactly? Get rid of the line numbers perhaps? Does t

[Gretl-devel] interaction effects with only series (no lists)

2024-10-30 Thread Sven Schreiber
Hi everybody, in chapter 15 of the user guide under "Generating lists of transformed variables" there is an explanation of how to use the "^" operator to create a list of interaction effects. This is nice, but to the average user it might be surprising to read in the footnote "this construct d

[Gretl-devel] dummify() function vs. dummify command

2024-10-30 Thread Sven Schreiber
Hi, I'm a little confused about the "dummify" situation: In the _function_ reference, it says that dummify() takes a series argument, which should be discrete. Fine. Then in the _command_ reference the input to the dummify command is a list, which is also fine - basically, the command automat

[Gretl-devel] Re: various contributed packages with messed-up help text formatting

2024-10-29 Thread Sven Schreiber
Am 26.10.2024 um 01:09 schrieb Allin Cottrell: On Sat, 26 Oct 2024, Sven Schreiber wrote: Thanks, Allin, it's looking good on the few examples I've checked. Can you enumerate your list of the 10 packages? Maybe we should write to the authors to avoid confusion. OK, here are the 1

[Gretl-devel] Re: request/idea: defining new matrix literally

2024-10-29 Thread Sven Schreiber
Am 22.10.2024 um 19:46 schrieb Sven Schreiber: I think it could be useful to offer a fourth way of defining a new matrix in the GUI. Currently we have three options in the matrix-definition dialog: ... I would hope that since both of these formats are already used, it wouldn't be

[Gretl-devel] Re: various contributed packages with messed-up help text formatting

2024-10-25 Thread Sven Schreiber
Am 25.10.2024 um 21:37 schrieb Cottrell, Allin: On Wed, Oct 23, 2024 at 4:45 PM Sven Schreiber wrote: I'm wondering whether in recent months / years there has been a change in gretl behavior which causes problems with the formatting and/or display of the help text of function packages. Y

[Gretl-devel] various contributed packages with messed-up help text formatting

2024-10-23 Thread Sven Schreiber
Hi, I'm wondering whether in recent months / years there has been a change in gretl behavior which causes problems with the formatting and/or display of the help text of function packages. For example, about three weeks ago I noticed such a problem with the ModRS_test package, and I contacte

[Gretl-devel] problem with double-passing of series into function

2024-10-23 Thread Sven Schreiber
Hi, I'm sorry I didn't notice this before the release (this is with 2024c): function void checklist (const list L, const series b)     list all = L b end function function void checklist2 (const list L, series b)     # this works     # only difference is that the series b is not "const"    

[Gretl-devel] request/idea: defining new matrix literally

2024-10-22 Thread Sven Schreiber
Hi, I think it could be useful to offer a fourth way of defining a new matrix in the GUI. Currently we have three options in the matrix-definition dialog: 1) create from series 2) use a formula 3) enter numbers, giving first the wanted rows and cols and the initial fill value. This third

[Gretl-devel] Re: translation questions

2024-10-18 Thread Sven Schreiber
Am 16.10.2024 um 14:28 schrieb Allin Cottrell: Allin again: "Byval" appears as the first column heading when you save the $result matrix following "summary --by=". No, it's not an English word but I t hink its meaning should be clear in context. OK, thanks. Here's an example with the cps9

[Gretl-devel] Re: translation questions

2024-10-16 Thread Sven Schreiber
Am 15.10.2024 um 20:22 schrieb Cottrell, Allin: On Tue, Oct 15, 2024 at 12:51 PM Sven Schreiber wrote: - actually, a typo in the English original: "Save return value (optional, clear box for no assigment):" (missing n) Oops. But if we correct the English now then any current transla

  1   2   3   4   5   6   7   8   9   10   >