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

2024-02-27 Thread Allin Cottrell
On Tue, 27 Feb 2024, Sven Schreiber wrote: 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

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

2024-02-07 Thread Allin Cottrell
On Tue, 6 Feb 2024, Sven Schreiber wrote: 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

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

2024-02-07 Thread Allin Cottrell
U1 = {} matrix B1 = mols(Y, X, ) # GMM matrix B2 = zeros(k, n) matrix U2 = zeros(T, n) matrix W = I(n*k) gmm U2 = Y - X*B2 orthog U2 ; X weights W params B2 end gmm print B1 B2 eval max(abs(U1 - U2)) Allin Cottrell ___ Gretl-devel maili

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

2024-02-02 Thread Allin Cottrell
On Fri, 2 Feb 2024, Sven Schreiber wrote: 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 avai

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

2024-02-01 Thread Allin Cottrell
On Thu, 1 Feb 2024, Sven Schreiber wrote: 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: function void serc (const series s) # the 'const' here is important     if exists(s)     print

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

2024-01-24 Thread 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 with these steps: 1) launch GUI and run pansmpl.inp

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

2024-01-22 Thread Allin Cottrell
On Mon, 22 Jan 2024, Sven Schreiber wrote: Am 22.01.2024 um 19:26 schrieb Allin Cottrell: When you do a GUI data-save and the current dataset is sub-sampled, you get up to two option dialogs. First you're asked whether you want to restore the full dataset before saving. If you answer

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

2024-01-22 Thread Allin Cottrell
On Mon, 22 Jan 2024, Sven Schreiber wrote: 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

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

2024-01-22 Thread 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. 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

[Gretl-devel] Re: Variable naming bug

2024-01-21 Thread Allin Cottrell
On Mon, 22 Jan 2024, Sven Schreiber wrote: 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

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

2024-01-21 Thread 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 example, with a comment that includes "e

[Gretl-devel] Re: Variable naming bug

2024-01-21 Thread 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, "hey__ho". This is fixed in git. Snapshots w

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

2024-01-21 Thread Allin Cottrell
rst year and 12 for the second. Allin Cottrell ___ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it Website: https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/

[Gretl-devel] Re: Variable naming bug

2024-01-21 Thread Allin Cottrell
with a single underscore, e.g. "hey_ho" 4. Click on the accept button (= tick mark; you can also enter obs values if you like) 5. In the main window with the variable list, the new variable appears with a duplicated underscore, "hey__ho". This is fi

[Gretl-devel] order of string-value codes

2023-11-14 Thread Allin Cottrell
; eval strvals(income2) print income income2 -o # should be identical print "string values of working:" eval strvals(working) working2 = strorder(working, defarray("no", "yes")) print "string values of working2:" eval strvals(working2) print

[Gretl-devel] Re: Binary Logit with string series

2023-11-13 Thread Allin Cottrell
On Mon, 13 Nov 2023, Artur T. wrote: Hi all, I just stumbled over the following challenge. In the first example, I run a binary logit with a numeric (discrete) encoded variable "dirnum". In the second example, the dependent is string-valued series "dirstr" with only two distinct values

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

2023-11-02 Thread 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 this is an oversight and not intended. It's not intended as

[Gretl-devel] Re: regls internal error

2023-10-24 Thread Allin Cottrell
On Tue, 24 Oct 2023, Sven Schreiber wrote: 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

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

2023-07-14 Thread Allin Cottrell
On Fri, 14 Jul 2023, Sven Schreiber wrote: Am 14.07.2023 um 19:07 schrieb Allin Cottrell: ... * But also in the GUI we'd like to produce the most explicit possible error message, so the (duplicated) check involves an extra, expensive step. We check explicitly for the pathology whereby

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

2023-07-14 Thread Allin Cottrell
On Fri, 14 Jul 2023, Sven Schreiber wrote: 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,

[Gretl-devel] Re: crash when trying to look at package code

2023-05-14 Thread Allin Cottrell
On Sun, 14 May 2023, Sven Schreiber wrote: Am 14.05.2023 um 16:07 schrieb Cottrell, Allin: I can confirm that, and I'm seeing this: ' matrices c...' *** buffer overflow detected ***: terminated Aborted (core dumped) It's due to the massively long statements defining arrays of

[Gretl-devel] Re: forecasting range with regls (GUI)

2023-05-06 Thread Allin Cottrell
On Fri, 5 May 2023, Sven Schreiber wrote: Hi, the following seems like a slight glitch: For illustration (only), I'm using the data4-10.gdt example dataset. Sample is set to 1-48. I'm running a plain Lasso with regls in the GUI, ADMEXP being the dep. var. Then I click (in the result window)

[Gretl-devel] Re: issues with panel sample adjustment in the GUI

2023-04-27 Thread Allin Cottrell
On Thu, 27 Apr 2023, Sven Schreiber wrote: Hi, I'm observing something strange working with the grunfeld.gdt sample datafile in the GUI. This is with the latest Windows snapshot. The dataset has units 1 to 10, and time periods 1935 through 1954, so T = 20 (fully balanced). I go to Sample

[Gretl-devel] Re: [EXTERNAL] Re: contributed package DP: problem in Windows GUI (and a crash along the way)

2022-11-08 Thread Allin Cottrell
On Tue, 8 Nov 2022, Sven Schreiber wrote: Am 07.11.2022 um 18:18 schrieb Summers, Peter: Hi all, FWIW on Windows 10 Enterprise with Gretl 2022c, "pkg install DP.gfn" works fine from the console, as does "include DP.gfn". But I'm also not seeing it in my local listing. Thanks for checking,

[Gretl-devel] gretl git and snapshots

2022-08-23 Thread Allin Cottrell
My apologies if you get this message more than once, but there's a somewhat unusual situation in gretl development right now. We've introduced a number of quite ambitious changes since the 2022b release, and despite our best efforts at testing these seem to carry some risk (including the risk

[Gretl-devel] Re: qrdecomp with column pivoting?

2022-06-07 Thread Allin Cottrell
On Tue, 7 Jun 2022, Sven Schreiber wrote: Am 06.06.2022 um 18:55 schrieb Cottrell, Allin: Meanwhile (in git), you can now call QR with pivoting, the trigger being a non-null third (matrix-pointer) argument. For m < n (more rows) this seems to crash gretl. (I don't need it, but I kind of

[Gretl-devel] Re: qrdecomp with column pivoting?

2022-06-04 Thread Allin Cottrell
On Sat, 4 Jun 2022, Sven Schreiber wrote: Am 03.06.2022 um 22:46 schrieb Cottrell, Allin: Note: we currently assess rank using regular QR, by counting the R elements greater than some specified "tiny" value. Aha? The doc for "rank" says: "numerically computed via the singular value

[Gretl-devel] heads-up: cnameset() and rnameset()

2022-05-20 Thread Allin Cottrell
This is most likely relevant for authors of function packages, but may affect some other gretl users. The function cnameset() sets column names for a specified matrix, and rnameset() sets row names. The help for these functions says that you should supply a number of names equal to the column

[Gretl-devel] Re: dbnomics-related segfault

2022-04-27 Thread Allin Cottrell
On Wed, 27 Apr 2022, Riccardo (Jack) Lucchetti wrote: > > Hi all, > > with current git, the following script > > > clear > open dbnomics > data Eurostat/namq_10_gdp/Q.CLV05_MEUR.SCA.B1G.EA > data OECD/MEI/EA19.LRHUADTT.ST.Q > > > triggers a segfault. I just pushed to git what I believe is a

[Gretl-devel] Re: SIGSEGV

2022-04-27 Thread Allin Cottrell
On Wed, 27 Apr 2022, Sven Schreiber wrote: Am 27.04.2022 um 10:52 schrieb Marcin Błażejowski: Hi, simple script: eval varname({2}) # works [Given an active dataset, so to replicate need to do 'open denmark' or something similar.] eval varname({2, 3}) # we get SIGSEGV I can confirm the

[Gretl-devel] Re: build problem on current git

2022-04-10 Thread Allin Cottrell
On Sun, 10 Apr 2022, Sven Schreiber wrote: I'm trying to build freshly pulled gretl git, but I'm getting the following reproducible error: /bin/sh: 1: cannot create .deps/arma.d: Directory nonexistent make[1]: *** [Makefile:268: arma.lo] Fehler 2 I'm building in a separate directory (outside

[Gretl-devel] Re: problem with "stack"

2022-04-08 Thread Allin Cottrell
On Fri, 8 Apr 2022, Summers, Peter wrote: I'm getting some unexpected behavior with the stack() command. The attached spreadsheet has data structured as in the "by variable" example on p. 23 of the user's guide. I followed the sample script as on p. 24, except I opened the file as .xlsx and

[Gretl-devel] Re: Crash with cmod() or Im()

2022-04-08 Thread Allin Cottrell
On Fri, 8 Apr 2022, Sven Schreiber wrote: Hi, I wanted to check whether the cmod() function is marked as deprecated (see ticket https://sourceforge.net/p/gretl/todo/66/), but instead I ran into a crash. Just try to run the following line (without unsaved data, of course): ? eval cmod(Im(2.0))

[Gretl-devel] Re: Indexing by 'end'

2022-03-31 Thread Allin Cottrell
On Thu, 31 Mar 2022, Allin Cottrell wrote: On Wed, 30 Mar 2022, Artur T. wrote: Am 29.03.22 um 19:52 schrieb Allin Cottrell: On Tue, 29 Mar 2022, atecon wrote: Am 29.03.2022 12:24 schrieb Marcin Błażejowski: Weird or not, it's now fixed in git. Hi Allin, I updated our test suit

[Gretl-devel] Re: Indexing by 'end'

2022-03-31 Thread Allin Cottrell
On Wed, 30 Mar 2022, Artur T. wrote: Am 29.03.22 um 19:52 schrieb Allin Cottrell: On Tue, 29 Mar 2022, atecon wrote: Am 29.03.2022 12:24 schrieb Marcin Błażejowski: Weird or not, it's now fixed in git. Hi Allin, I updated our test suit on this topic and got the following interesting

[Gretl-devel] Re: crash (was Re: Re: small doc issue: genr markers)

2022-03-31 Thread Allin Cottrell
On Thu, 31 Mar 2022, Sven Schreiber wrote: > Am 30.03.2022 um 23:31 schrieb Sven Schreiber: > > > > Whoops, hit the send button prematurely. I'm afraid the example will > > have to wait a bit, I'm not finding a good dataset example so easily. > > > While trying to create an example, I came across

[Gretl-devel] Re: Indexing by 'end'

2022-03-29 Thread Allin Cottrell
On Tue, 29 Mar 2022, atecon wrote: Am 29.03.2022 12:24 schrieb Marcin Błażejowski: Hi, simple example: set verbose off n = 3 # Works m = unvech(seq(1,n)') eval m[end,end] # Works m = seq(1,n)' eval m[end,end] # Does not work m = seq(1,n) eval m[end,end] The weird thing is that it

[Gretl-devel] Re: gretl crash

2022-03-14 Thread Allin Cottrell
On Mon, 14 Mar 2022, Ignacio Diaz-Emparanza wrote: > > Well, ... I don't know if this may help much. I reinstalled gretl from git > > and tried to run the script, this is the output in the terminal: > > > > The R library path '/usr/lib/libR.so' seems to be a symlink > >  resolved to

[Gretl-devel] Re: gretl crash

2022-03-13 Thread Allin Cottrell
On Sun, 13 Mar 2022, Ignacio Diaz-Emparanza wrote: Hi, the changes you (Allin) made to gretl in git seem not to work. If I don't set the environment variable up, I continue to obtain the crash. This is the output of valgrind (I assume you only need the last part) [...] Thanks, Ignacio,

[Gretl-devel] Re: gretl crash

2022-03-12 Thread Allin Cottrell
On Sat, 12 Mar 2022, Riccardo (Jack) Lucchetti wrote: On Fri, 11 Mar 2022, Allin Cottrell wrote: If someone could give me the exact steps to run gretl with "gdb" I can try to do it. Thanks, Ignacio. Here are the steps: [...] valgrind can be another option for tracing the pro

[Gretl-devel] Re: difficult quiz to get an account for uploading packages

2022-03-11 Thread Allin Cottrell
On Wed, 9 Mar 2022, Sven Schreiber wrote: Am 08.03.2022 um 23:15 schrieb Allin Cottrell: 3) After a slight delay (supposed to be <= 5 minutes) the Ancona robot picks up the request and sends email to the applicant, of the following form: From the real-world case that I've heard of, I th

[Gretl-devel] Re: gretl crash

2022-03-11 Thread Allin Cottrell
On Thu, 10 Mar 2022, Ignacio Diaz-Emparanza wrote: El 4/3/22 a las 0:00, gretl-devel-requ...@gretlml.univpm.it escribió: On Tue, 1 Mar 2022, Allin Cottrell wrote: I think I see what's happening. On my system I have the environment variable R_HOME set to "/opt/R/lib64/R". I guess in

[Gretl-devel] Re: difficult quiz to get an account for uploading packages

2022-03-08 Thread Allin Cottrell
On Mon, 7 Mar 2022, Sven Schreiber wrote: Am 07.03.2022 um 17:36 schrieb Daniel Ventosa-Santaulària: Hi Sven, Once I obtained the new account, I easily uploaded the updated version of the function [...] Glad to hear it! Maybe I should try myself to create a new dummy account in order to

[Gretl-devel] Re: problems with sleep()

2022-03-04 Thread Allin Cottrell
On Fri, 4 Mar 2022, Riccardo (Jack) Lucchetti wrote: I just pushed to git a micro-fix to avoid the sleep() function freezing gretl. Try for example sleep(-1) sleep(0.1) now it's fixed (the first case is equivalent to sleep(0)). Hmm, I'd be more inclined to flag an error if the argument

[Gretl-devel] Re: difficult quiz to get an account for uploading packages

2022-03-04 Thread Allin Cottrell
On Fri, 4 Mar 2022, Sven Schreiber wrote: I've just noticed the current state of the procedure how to obtain a login to upload a contributed package (as an author). This quiz strikes me as prohibitive: "The midasreg command was introduced in"... Seriously? I would fail bitterly, thank God I

[Gretl-devel] Re: gretl crash

2022-03-03 Thread Allin Cottrell
On Tue, 1 Mar 2022, Allin Cottrell wrote: I think I see what's happening. On my system I have the environment variable R_HOME set to "/opt/R/lib64/R". I guess in your case that variable is not set. So I suspect the following: if you pass the actual path to libR.so, gretl can i

[Gretl-devel] Re: messed-up panel subsampling (including a crash, it seems)

2022-03-02 Thread Allin Cottrell
On Wed, 2 Mar 2022, Sven Schreiber wrote: Am 01.03.2022 um 21:21 schrieb Allin Cottrell: The problem exposed by check2() lies in libgretl's automatic compounding of a "--unit" style restriction with a regular --restrict. It works fine if you compound them manually in a single comman

[Gretl-devel] Re: messed-up panel subsampling (including a crash, it seems)

2022-03-01 Thread Allin Cottrell
On Tue, 1 Mar 2022, Sven Schreiber wrote: unfortunately the panel subsampling business doesn't seem to be fully resolved. I'm struggling to understand where exactly the apparent bug is located or if there are perhaps more than one, so let's go step by step. 1) First, consider the attached

[Gretl-devel] Re: gretl crash

2022-03-01 Thread Allin Cottrell
On Tue, 1 Mar 2022, Ignacio Diaz-Emparanza wrote: Reporting about the gretl crash: 1) I changed "Use local setting for decimal point" to "on" in my laptop (Ubuntu 20.04 and gretl built on 2022-02-25). StrucTs script worked without problem. 2) Now I changed "Use local setting for decimal

[Gretl-devel] Re: Why?

2022-02-28 Thread Allin Cottrell
On Mon, 28 Feb 2022, Marcin Błażejowski wrote: Hi, why below script works fine for integers \in [2,53] and does not work for interegers >= 54? That's because in a 64-bit floating-point value 11 bits are reserved for the exponent, leaving only 53 for the mantissa. Integers up to 2^53 can

[Gretl-devel] Re: gretl crash

2022-02-24 Thread Allin Cottrell
On Thu, 24 Feb 2022, Ignacio Diaz-Emparanza wrote: > I'm getting a reproducible crash when trying to run on my desktop (Ubuntu > linux 20.04 and gretl built yesterday from git)the following script(which is > as is in the "Hansl Primer" guide): > > > > open bjg.gdt > foreign language=R

[Gretl-devel] Re: psdroot() error message

2022-02-23 Thread Allin Cottrell
yOn Wed, 23 Feb 2022, Sven Schreiber wrote: Am 22.02.2022 um 15:38 schrieb Sven Schreiber: Am 13.02.2022 um 14:12 schrieb Sven Schreiber: Hi, according to the doc for psdroot(): "If the input matrix is not square an error is flagged". This is true but the error message is a very generic

[Gretl-devel] Re: seasonal adjustment: gretl + X13 compared with JDemetra(+)

2022-02-05 Thread Allin Cottrell
On Sat, 5 Feb 2022, Sven Schreiber wrote: Am 04.02.2022 um 19:37 schrieb Allin Cottrell: Thanks, I've now installed RJDemetra (RJD for short) and can confirm the results you posted. In the cases where there's noticeable disagreement (RSA3, RSA5c) the programs are either arriving

[Gretl-devel] Re: seasonal adjustment: gretl + X13 compared with JDemetra(+)

2022-02-04 Thread Allin Cottrell
On Fri, 4 Feb 2022, Sven Schreiber wrote: Am 03.02.2022 um 23:26 schrieb Allin Cottrell: Could you perhaps post the RJdemetra results somewhere so other could examine the differences? Thanks. It's not a big file, so I'm attaching the data in the hope that it goes through. Thanks, I've now

[Gretl-devel] Re: seasonal adjustment: gretl + X13 compared with JDemetra(+)

2022-02-03 Thread Allin Cottrell
On Thu, 3 Feb 2022, Sven Schreiber wrote: Hi everybody, let me open a new thread with an informative title although in principle this could be seen as a continuation of the previous one named "basic questions/comments on X13". (But first of all let me repeat the question, is there a special

[Gretl-devel] Re: Building and installing addons

2022-02-03 Thread Allin Cottrell
On Thu, 3 Feb 2022, Riccardo (Jack) Lucchetti wrote: On Thu, 3 Feb 2022, Johannes Lips wrote: On 13/01/2022 03:09, Allin Cottrell wrote: On Wed, 12 Jan 2022, Allin Cottrell wrote: On Wed, 12 Jan 2022, Johannes Lips wrote: I couldn't install the dbnomics function package from gretl. When

[Gretl-devel] Re: swallowed-console feature not in changelog

2022-01-19 Thread Allin Cottrell
On Wed, 19 Jan 2022, Sven Schreiber wrote: > Hi, just noticed that the fairly big new feature of the "swallowed" > console (being in one joint window with the main window) isn't in the > changelog on the web. Did we ever announce it or make it known? What was > the first version to have it?

[Gretl-devel] Re: weird problem with smpl --replace --restrict

2022-01-19 Thread Allin Cottrell
On Wed, 19 Jan 2022, Sven Schreiber wrote: Am 18.01.2022 um 17:58 schrieb Allin Cottrell: Here's my simple case. Can you see what extra stuff you need to introduce to provoke the problem? OK, thanks, this is helpful. I managed to provoke the same error message that I had before (no obs would

[Gretl-devel] Re: weird problem with smpl --replace --restrict

2022-01-18 Thread Allin Cottrell
On Tue, 18 Jan 2022, Sven Schreiber wrote: > Am 18.01.2022 um 03:18 schrieb Cottrell, Allin: > > I tried a simple example following your description and it worked > > fine. We'll need to see what's the active ingredient in your case. > > Thanks, Allin. I was going to say my suspicion is that it's

[Gretl-devel] Re: dbnomics: Dataset duplication in window lists

2022-01-13 Thread Allin Cottrell
On Thu, 13 Jan 2022, Sven Schreiber wrote: Am 13.01.2022 um 02:07 schrieb Allin Cottrell: On Wed, 12 Jan 2022, Sven Schreiber wrote: I'm noticing that some datasets are apparently duplicated or even quadrupled: - BBK01: appears 4 times - BBNZ1 (National Accounts...): appears twice

[Gretl-devel] Re: Building and installing addons

2022-01-12 Thread Allin Cottrell
On Wed, 12 Jan 2022, Allin Cottrell wrote: On Wed, 12 Jan 2022, Johannes Lips wrote: I couldn't install the dbnomics function package from gretl. When accessing File - Databases - DB.NOMICS I get the error message in the terminal: load function package: failed on /usr/share/gretl/functions

[Gretl-devel] Re: dbnomics: Dataset duplication in window lists

2022-01-12 Thread Allin Cottrell
On Wed, 12 Jan 2022, Sven Schreiber wrote: I'm looking at the Bundesbank (BUBA) datasets through gretl's DB.NOMICS addon. (Snapshot from two weeks ago.) I'm noticing that some datasets are apparently duplicated or even quadrupled: - BBK01: appears 4 times - BBNZ1 (National Accounts...):

[Gretl-devel] Re: Building and installing addons

2022-01-12 Thread Allin Cottrell
On Wed, 12 Jan 2022, Johannes Lips wrote: On 12/01/2022 20:45, Allin Cottrell wrote: On Wed, 12 Jan 2022, Johannes Lips wrote: Hi all, when trying to replicate the issue Sven faced in another thread. I came across the issue that currently the shipped addons are not built and installed

[Gretl-devel] Re: Building and installing addons

2022-01-12 Thread Allin Cottrell
On Wed, 12 Jan 2022, Johannes Lips wrote: > Hi all, > > when trying to replicate the issue Sven faced in another thread. I came across > the issue that currently the shipped addons are not built and installed in > fedora. > I am using the gretl spec file, which can be found at [1]. > I tried

[Gretl-devel] Re: dbnomics: Dataset duplication in window lists

2022-01-12 Thread Allin Cottrell
On Wed, 12 Jan 2022, Johannes Lips wrote: > On 12/01/2022 17:33, Sven Schreiber wrote: > > Hi, > > I'm looking at the Bundesbank (BUBA) datasets through gretl's DB.NOMICS > > addon. (Snapshot from two weeks ago.) > Hi Sven, > > this should be ok, because the BBK01 is a generic prefix used for

[Gretl-devel] Re: dbnomics: Dataset duplication in window lists

2022-01-12 Thread Allin Cottrell
On Wed, 12 Jan 2022, Sven Schreiber wrote: > Am 12.01.2022 um 17:33 schrieb Sven Schreiber: > > Hi, > > I'm looking at the Bundesbank (BUBA) datasets through gretl's DB.NOMICS > > addon. (Snapshot from two weeks ago.) > > Another remark on what this snapshot report, although not related to >

[Gretl-devel] Re: dbnomics: Dataset duplication in window lists

2022-01-12 Thread Allin Cottrell
On Wed, 12 Jan 2022, Sven Schreiber wrote: > Hi, > I'm looking at the Bundesbank (BUBA) datasets through gretl's DB.NOMICS > addon. (Snapshot from two weeks ago.) > > I'm noticing that some datasets are apparently duplicated or even > quadrupled: > - BBK01: appears 4 times > - BBNZ1 (National

[Gretl-devel] Re: probable bug with lost panel time

2022-01-08 Thread Allin Cottrell
On Fri, 7 Jan 2022, Allin Cottrell wrote: On Fri, 7 Jan 2022, Sven Schreiber wrote: Am 07.01.2022 um 03:41 schrieb Allin Cottrell: On Thu, 6 Jan 2022, Sven Schreiber wrote: it looks as if the panel-time information in the current dataset is lost when: 1) a user-written hansl function

[Gretl-devel] Re: probable bug with lost panel time

2022-01-07 Thread Allin Cottrell
On Fri, 7 Jan 2022, Sven Schreiber wrote: Am 07.01.2022 um 03:41 schrieb Allin Cottrell: On Thu, 6 Jan 2022, Sven Schreiber wrote: it looks as if the panel-time information in the current dataset is lost when: 1) a user-written hansl function is executed which internally plays around

[Gretl-devel] Re: probable bug with lost panel time

2022-01-06 Thread Allin Cottrell
On Thu, 6 Jan 2022, Sven Schreiber wrote: Hi, it looks as if the panel-time information in the current dataset is lost when: 1) a user-written hansl function is executed which internally plays around with and repeatedly resets the sample 2) before calling that function, the current panel

[Gretl-devel] Re: bug with fcast

2022-01-06 Thread Allin Cottrell
On Thu, 6 Jan 2022, Sven Schreiber wrote: > Am 06.01.2022 um 18:06 schrieb Allin Cottrell: > > On Thu, 6 Jan 2022, Sven Schreiber wrote: > > > Would the fix also cover the other issue that jack mentioned, that > > > $system.coeff is wrong? > > After lookin

[Gretl-devel] Re: bug with fcast

2022-01-06 Thread Allin Cottrell
On Thu, 6 Jan 2022, Sven Schreiber wrote: > Am 05.01.2022 um 23:30 schrieb Allin Cottrell: > > On Tue, 4 Jan 2022, ESTEVEZ NUÑEZ JUAN CARLOS wrote: > > > > > Hi Jack, > > > Your code shows any error message with the Windows-32 zip version > > > until 20

[Gretl-devel] Re: bug with fcast

2022-01-05 Thread Allin Cottrell
On Tue, 4 Jan 2022, ESTEVEZ NUÑEZ JUAN CARLOS wrote: Hi Jack, Your code shows any error message with the Windows-32 zip version until 2018/05/11, but it fails with 2018/08/11 zip version, and following. Maybe some was made meanwhile that causes it. Thanks for this observation! I'm working

[Gretl-devel] Re: stale URL string

2021-12-27 Thread Allin Cottrell
On Mon, 27 Dec 2021, Sven Schreiber wrote: Am 27.12.2021 um 22:17 schrieb Sven Schreiber: In the dialog for uploading new function packages I've noticed the following URL string which I think is outdated: "http://gretl.ecn.wfu.edu/cgi-bin/apply; Accordingly, the web page button on that

[Gretl-devel] new feature for string-valued series

2021-12-09 Thread Allin Cottrell
Let me point out a new feature in git and snapshots: you can now create a string-valued series directly from an array of strings, subject to the requirement that the length of the array matches either the length of the dataset or the current sample range. Here are two examples: #

[Gretl-devel] Re: drop not working in the "swallowed" console area

2021-12-07 Thread Allin Cottrell
On Thu, 2 Dec 2021, Sven Schreiber wrote: (on Windows at least) I'm observing that dragging a gretl file (gdt, inp) onto the gretl window doesn't work if it's on the embedded/swallowed console area. This isn't a big deal... There's no sense in dropping a file onto the console area, is there?

[Gretl-devel] Re: little problem with saved sessions and local decimal separator settings

2021-11-25 Thread Allin Cottrell
On Thu, 25 Nov 2021, Sven Schreiber wrote: working with the local decimal comma, I saved a session file. Then I changed the settings to not use the decimal comma, and restarted gretl. I reloaded the saved session, and then in the settings dialog I saw a comma for example in the numeric field

[Gretl-devel] Re: basic questions/comments on X13

2021-11-23 Thread Allin Cottrell
On Tue, 23 Nov 2021, Riccardo (Jack) Lucchetti wrote: On Tue, 23 Nov 2021, Sven Schreiber wrote: Am 23.11.2021 um 12:16 schrieb Sven Schreiber: I mean primarily RSA0...RSA5. If deseas() accepts an options bundle, putting together the bundles for those presets would be mostly trivial.

[Gretl-devel] Re: basic questions/comments on X13

2021-11-23 Thread Allin Cottrell
On Tue, 23 Nov 2021, Sven Schreiber wrote: Am 20.11.2021 um 23:34 schrieb Allin Cottrell: It would be quite easy to add an optional bundle-of-options argument to deseas(), to give as much control over the processing as is offered by the GUI interface (perhaps more, if anyone's so motivated

[Gretl-devel] Re: delimiter for data files in text format

2021-11-21 Thread Allin Cottrell
On Sat, 20 Nov 2021, Riccardo (Jack) Lucchetti wrote: On Fri, 19 Nov 2021, Cottrell, Allin wrote: Well, my reluctance was based on the supposition that in maybe 99+% of cases libgretl would know what separator to use better than most users. I've now added '|' as one of the options libgretl

[Gretl-devel] Re: problem with "make pdfdocs" on git

2021-11-21 Thread Allin Cottrell
On Sun, 21 Nov 2021, Sven Schreiber wrote: Am 21.11.2021 um 21:15 schrieb Cottrell, Allin: On Sun, Nov 21, 2021 at 9:01 AM Sven Schreiber wrote: This really seems to be a problem of the virtual machine context and/or the underlying file system. Probably the underlying file system (lacking

[Gretl-devel] Re: basic questions/comments on X13

2021-11-20 Thread Allin Cottrell
On Sat, 20 Nov 2021, Sven Schreiber wrote: Am 19.11.2021 um 16:11 schrieb Allin Cottrell: You have the deseas() function, but it doesn't offer much control. Thanks, Allin, for reminding us (me) of this function, which wasn't really on my radar. Two comments about the doc: - This is another

[Gretl-devel] Re: problem with "make pdfdocs" on git

2021-11-20 Thread Allin Cottrell
On Sat, 20 Nov 2021, Sven Schreiber wrote: I'm encountering the following problem (after doing make clean, configure, and make successfully) with "make pdfdocs". This is on current git, or actually, the file doc/tex/pkgbook.tex is also changed here and not yet pushed, but it doesn't look as if

[Gretl-devel] Re: basic questions/comments on X13

2021-11-19 Thread Allin Cottrell
On Thu, 18 Nov 2021, Sven Schreiber wrote: > Am 16.11.2021 um 18:25 schrieb Riccardo (Jack) Lucchetti: > > > > What we do is provide a transparent interface to the corresponding > > binaries (and IMO we're quite good at that). / > > OK, back to the original question: Do I understand correctly

[Gretl-devel] Re: crash with dbnomics GUI (on Windows)

2021-11-12 Thread Allin Cottrell
On Fri, 12 Nov 2021, Sven Schreiber wrote: > Hi, > > I just saw a reproducible crash here: > > Snapshot Nov 2nd, open dbnomics from the menus, double-click on > Destatis, move forward one or two pages (click right arrow), enter a > search term in the text field (like "gross fixed capital"),

[Gretl-devel] Re: set use_dcmt only inside mpi block?

2021-11-05 Thread Allin Cottrell
On Fri, 5 Nov 2021, Sven Schreiber wrote: Am 05.11.2021 um 17:37 schrieb Cottrell, Allin: On Fri, Nov 5, 2021 at 11:57 AM Sven Schreiber wrote: Hm, even trying Listing 1 from the gretl + MPI guide (wrapped inside an mpi block) fails for me on the latest snapshot, whereas it runs OK (only) if

[Gretl-devel] Re: MPI bootstrap failures depending on number of iterations

2021-11-03 Thread Allin Cottrell
On Thu, 4 Nov 2021, Sven Schreiber wrote: Am 03.11.2021 um 17:32 schrieb Riccardo (Jack) Lucchetti: On Wed, 3 Nov 2021, Sven Schreiber wrote: I'm struggling with a hard-to-pinpoint problem involving MPI - this is in relation to the johansensmall package and a pending update. [...] Could it

[Gretl-devel] Re: "markers" command

2021-11-01 Thread Allin Cottrell
On Mon, 1 Nov 2021, Riccardo (Jack) Lucchetti wrote: Currently, we can write the observation markers to a file or to an array, but we can only read the markers from a file. Of course, one can always write an array to a file and proceed from there, but it'd be easier if we had a --from-array

[Gretl-devel] Re: Current state with distance()

2021-10-30 Thread Allin Cottrell
On Sat, 30 Oct 2021, Artur T. wrote: Of course, the order does not matter. However, that's why I asked whether there exists a de facto standard. I simply tried to show what sklearn (a de facto standard for data science) returns. By the way, the "Distances" package for Julia behaves like

[Gretl-devel] Re: Current state with distance()

2021-10-30 Thread Allin Cottrell
On Sat, 30 Oct 2021, Allin Cottrell wrote: [D]o we really want to make the return value in the X,Y case a matrix rather than a vector? I'm not sure that's very helpful, but if we stay with a matrix result I think Artur is right: in a matrix operation where the left-hand operand is m x n

[Gretl-devel] Re: Current state with distance()

2021-10-30 Thread Allin Cottrell
On Sat, 30 Oct 2021, Riccardo (Jack) Lucchetti wrote: On Sat, 30 Oct 2021, Artur T. wrote: Am 30.10.21 um 11:58 schrieb Riccardo (Jack) Lucchetti: On Sat, 30 Oct 2021, Artur T. wrote: But in fact I think that when argument 3 is non-null, having a matrix as output is preferable aafter all.

[Gretl-devel] Re: Edge cases for "end" operator

2021-10-26 Thread Allin Cottrell
On Tue, 26 Oct 2021, Allin Cottrell wrote: On Tue, 26 Oct 2021, Artur T. wrote: I found some edge cases for which the current behavior may be discussed: Thanks for this. The "end" keyword is not implemented for series. Seems to me it's arguably both redundant and ambiguous: it

[Gretl-devel] Re: Edge cases for "end" operator

2021-10-26 Thread Allin Cottrell
On Tue, 26 Oct 2021, Artur T. wrote: Hi all, I wrote some unit-tests for the recent "end" operator. See here: https://sourceforge.net/p/gretl/workspace/ci/09881e0435c18730b1a8b54210dc23f463e245fc/ I found some edge cases for which the current behavior may be discussed: clear set verbose

[Gretl-devel] Re: weird function arg bug

2021-10-24 Thread Allin Cottrell
On Sun, 24 Oct 2021, Allin Cottrell wrote: To be clear, it's not a problem if the [right-hand side of a statement including assignment to a list on the left] is a single-member list, only if it's a series as such. Sorry, not clear enough: I meant that it's a problem only if the series

[Gretl-devel] Re: weird function arg bug

2021-10-24 Thread Allin Cottrell
On Sun, 24 Oct 2021, Sven Schreiber wrote: Am 24.10.2021 um 21:40 schrieb Allin Cottrell: On Sun, 24 Oct 2021, Sven Schreiber wrote: heylist(diff(LRM))    # works! list oi = heylist(diff(LRM))    # fails Specifically, the second case fails with the error message: "he

[Gretl-devel] Re: weird function arg bug

2021-10-24 Thread Allin Cottrell
On Sun, 24 Oct 2021, Sven Schreiber wrote: function list heylist (const series x) print "aha" list out = x return out end function open denmark heylist(diff(LRM)) # works! list oi = heylist(diff(LRM))# fails Specifically, the second case fails with the error

[Gretl-devel] Re: quiet option issues with 'append' and 'store'

2021-10-24 Thread Allin Cottrell
On Sun, 24 Oct 2021, Sven Schreiber wrote: Hi, I'm noticing the following. First: open australia append denmark --quiet # still get message! ... despite the doc saying that the quiet option should lead to no printout. True, the doc is not accurate on that point. Nonetheless, printing a

[Gretl-devel] Re: $sysinfo.os vs. $windows (and Mac?)

2021-10-24 Thread Allin Cottrell
On Sun, 24 Oct 2021, Sven Schreiber wrote: Am 23.10.2021 um 22:19 schrieb Allin Cottrell: On Sat, 23 Oct 2021, Sven Schreiber wrote: Am 23.10.2021 um 21:59 schrieb Allin Cottrell: My take on this is that it's very unlikely that anyone wants to branch in a script based on "osx&qu

[Gretl-devel] Re: $sysinfo.os vs. $windows (and Mac?)

2021-10-23 Thread Allin Cottrell
On Sat, 23 Oct 2021, Sven Schreiber wrote: Am 23.10.2021 um 21:59 schrieb Allin Cottrell: My take on this is that it's very unlikely that anyone wants to branch in a script based on "osx" versus "linux" since they're both at core unix variants. So we should be safe just

[Gretl-devel] Re: $sysinfo.os vs. $windows (and Mac?)

2021-10-23 Thread Allin Cottrell
On Sat, 23 Oct 2021, Sven Schreiber wrote: Hi all, the doc says that $sysinfo.os gives "linux", "osx", "windows" or other as a piece of introspection. An older accessor is $windows, which returns 0 or 1. So the $windows accessor appears redundant and doesn't cover the Mac - should it perhaps

  1   2   3   4   5   6   7   8   9   10   >