some weeks ago I've started to switch to the sublime editor
(https://www.sublimetext.com/) for writing gretl code.
Even though I like the simplicity of the gretl editor and its features
such as syntax highlighting and auto-itendation, it lacks some features
of modern IDEs such as "goto-anything", "goto-definition", custom
keybindings, fancy themes, git-implementation, snippets etc. which make
life much easier when working on larger projects. Don't get me wrong,
the gretl editor is great but was _never_ supposed to become a proper
software-development IDE but rather has another focus which is totally fine.
So I started to write the "Hansl-Gretl-Language" package for sublime
which includes the following features:
- 3 gretl build-systems (client mode, batch mode, and REPL mode) for
executing hansl code by means of sublime (plots are also working!)
- completion of gretl commands, accessors and keywords
- some snippet examples for speeding up coding
The project still has the following (known) issues:
- no auto-itendation (still have to figure out how this works)
- issues with some corner-cases which are not syntax-highlighted (regex
can become so hard!)
The package can be downloaded through sublimes package control system,
and can be found here:
If somebody wants to participate on this project, check out the code on
my github repository:
For those interesting in the sublime editor, check out "OdatNurd"'s
brilliant tutorials on youtube:
Enjoy the package,
I would like to announce that the gretl wiki is back up and running at:
For security reasons (and previous experience) only registered users can
modify the wiki and self-registration is no longer possible. So, if you
want to be added, please write to me privately or reply to this email.
Information on how to be registered and using the wiki can be found here:
At the moment the wiki administrators are me and Cristián Arturo Ducoing
If you have any suggestions or requests, you are welcome to contact us.
I've recently checked and updated the various "optional extras"
available for gretl on Mac. Here's the current status.
In https://sourceforge.net/projects/gretl/files/x13as/ you can find
which can be installed from within gretl with the command
pkg install <package-file>
In https://sourceforge.net/projects/gretl/files/tramo/ you can find
which can also be installed via "pkg install".
In https://sourceforge.net/projects/gretl/files/mpi we have
These cannot be installed via "pkg install" but there are instructions
in the README in the mpi directory, and also in the current MPI guide:
HOWEVER, please note that a little hack is required to get MPI 4.1.5
working on arm64 with gretl 2023b (or earlier). After installing the
package into your root directory, navigate (in a Terminal window) to
the "/opt" directory and create a symlink:
sudo ln -s openmpi openmpi-4.1
After this the command "ls -l" should show, inter alia,
openmpi-4.1 -> openmpi
This hack is not needed for the July 31 snapshot or later.
do you know a site where you can free download high frequency financial
data (like 5-minute price)?
I need it to calculate the daily realized volatility, to be used to
evaluate the goodness of a stochastic volatility model.
RU e Prof.Agg. di Statistica Economica
Università del Piemonte Orientale
Dip. di Giurisprudenza e Scienze Politiche,
Economiche e Sociali (DIGSPES)
This is a follow-up to the Mac part of my post titled "X-13ARIMA
updates for Windows and Mac". The new Mac package is now called
x13as-mac-arm64.tar.gz and it works like the Intel version, in that it
can be installed from the gretl console via the command
pkg install x13as-mac-arm64.tar.gz
I'm still not sure if it will work on Big Sur or Monterey (my only
testing was on Ventura) so I'd be interested to hear any comments on
Am 21.07.2023 um 07:11 schrieb RICCARDO LUCCHETTI:
> From: Rajveer Samuel Rawlin <samuelrr(a)yahoo.com>
> Sent: 21 July 2023 05:37
> To: Gretl list; Allin Cottrell
> Subject: [Gretl-users] Re: X-13ARIMA updates for Windows and Mac
> When I generate a forecast using VECM, unable to see the forecast errors (RMSE, MAPE etc), can you provide some insight on this?
In the future, please don't reply to an existing thread's message, but
instead start a new thread. I have change the subject line a little
because of that.
In any case, I also see the results in the GUI program (like Jack showed
with a script). I can only speculate that you didn't spot them because
they are at the bottom of the output.
If that's not the problem, then you would have to be more specific about
what exactly you are doing.
There are some new files available for download at
that may be of interest to people running Windows or Mac. In brief,
the updates are
* For 64-bit Windows, there's now an X-13ARIMA zip archive in
addition to the installer exe file. Could be useful for those who
don't have permission to run installers.
* For Mac, there's now a version of X-13ARIMA for gretl compiled for
"Apple Silicon" (arm64).
* Windows (64-bit): we offer a zip archive named
x-13arima-win64.zip. Inside the zipfile there's an "x-13arima"
folder containing x13as.exe and a "docs" folder with two PDFs from
the census bureau site.
You can unzip this anywhere suitable on your computer, but you'll
have to go to Tools > Preferences > General, select the Programs
tab, and either type in or browse for the correct location of
* Mac (M1 or M2): There's now a gzipped tar file called
x-13arima_apple_arm64.tar.gz. Inside it there's a folder named
x-13arima with sub-folders bin and lib. The bin folder contains the
x13as executable. The recommended location for exploding the archive
is /usr/local. That is, in a terminal window you might do
sudo tar xvf /path/to/x-13arima_apple_arm64.tar.gz
where "/path/to" would likely be "~/Downloads". Then you should go
to Tools > Preferences > General in gretl, select the Programs tab,
and enter (for example)
for the x13 path.
This is tested on macOS 13 (Ventura); hopfully it may also work on
macOS 11 (Big Sur) and 12 (Monterey) but we can't say for sure.
If the new Mac version seems to be working OK for most people, we'll
produce a "pkg" file to make the installation a bit easier.
Department of Economics
Wake Forest University
We've just noticed a problem with the add-on package for using
X-13ARIMA with gretl on Linux. The x13as executable was failing to
produce ARIMA roots, so the arima command with option --x-12-arima was
not working. This is now fixed in an updated version of the package
x13as-linux-64.tar.gz, which can be found at
We've checked x13as_install-64.exe for Windows, and it does not have
Department of Economics
Wake Forest University