Freedom251 › Statistical Analysis Software
gretl

What gretl is
gretl is a free, open-source desktop package for econometric analysis, available for Linux, macOS, and Windows. It includes statistical tests and regression models, with estimators such as least squares, maximum likelihood, GMM, LASSO, Ridge, and elastic net. Time-series methods cover ARIMA, GARCH-type models, VARs, VECMs, unit-root and cointegration tests, and the Kalman filter. It also supports panel-data estimators and limited dependent-variable models, including probit and dynamic panel approaches based on GMM. Users can write scripts in its hansl language and export models as LaTeX tables or equations. Import formats include CSV, Excel, Gnumeric, OpenDocument, Stata, SPSS, EViews, JMulTi, RATS 4, and PC-Give, along with gretl's own formats. Data and results can be exchanged with GNU R, GNU Octave, Python, Julia, Ox, and Stata. The package also supports machine learning through LIBSVM and mixed time-series frequencies through MIDAS. It is licensed under the GNU GPL, which permits redistribution and modification. Its maker notes its statistical-method coverage is less comprehensive than GNU R's.
Who it suits
gretl suits users who want desktop econometric analysis, scripting, and a broad set of regression and time-series methods. It may be less suitable for users who need the more comprehensive statistical-method coverage attributed to GNU R.
What it does well
- Free and open source under the GNU GPL
- Available on Linux, macOS, and Windows
- Includes hansl scripting and LaTeX model output
- Imports many spreadsheet and econometrics formats
- Exchanges data and results with several tools
What to know first
- Statistical-method coverage is less comprehensive than GNU R's
- No free trial
Limits
gretl is free and open source, with no paid plan listed. The maker says its statistical-method coverage is less comprehensive than GNU R's.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| gretl | Free, open-source software · redistribution and modification under the GNU GPL | Free |
As gretl.sourceforge.net lists them, read 3 Oct 2026. The maker's own page has the final word.
Getting started
- Visit the gretl website.
- Download the desktop package for Linux, macOS, or Windows.
- On macOS, select the package for your system; separate Apple Silicon and Intel packages are offered.
- Import data in a supported format or use gretl's own formats.
- Use hansl for scripting, and export model output as LaTeX if needed.
Overview
gretl is a desktop econometrics package for analysts, students, and researchers who want dedicated regression and time-series methods on Linux, macOS, or Windows. Its specialist toolkit and scripting make it a capable no-cost option, but users seeking the broadest statistical-method coverage should consider GNU R instead.
Key features
Its estimator range runs from least squares and maximum likelihood to GMM, system methods, and regularized least squares such as LASSO, Ridge, and elastic net. That breadth suits applied econometric work, including models that benefit from regularization, without making the package a general substitute for every statistical environment.
Time-series analysis includes ARIMA, GARCH-type models, VARs and VECMs, unit-root and cointegration tests, and the Kalman filter. For panel data and limited dependent variables, gretl supports instrumental-variable and probit models, as well as dynamic panel models based on GMM. Statistical tests and Bayesian analysis are supported too.
The integrated hansl scripting language supports repeatable analysis, and models can be output as LaTeX tables or equations. Import covers XML, CSV, Excel, Gnumeric, OpenDocument, Stata, SPSS, EViews, JMulTi, RATS 4, PC-Give, and gretl's own formats. Data and results can also be exchanged with GNU R, GNU Octave, Python, Julia, Ox, and Stata; MPI parallelization is supported. LIBSVM-based machine learning and mixed-frequency time-series analysis via MIDAS add further options, though the package's overall method coverage remains less comprehensive than GNU R's.
Pricing
gretl costs nothing. The free, open-source software may be redistributed and modified under the GNU General Public License, so there is no paid tier to weigh against a capped free edition. It is a strong fit when a zero-cost econometrics tool is the requirement; there is no free trial because the software itself is free.
Platforms
gretl is desktop software for Linux, macOS, and Windows. The macOS download page offers a version for macOS 10.9 or higher, with separate Apple Silicon packages for macOS 11 or higher and Intel Mac packages. This broad desktop coverage is useful for mixed-platform teams, but it does not offer a browser-based option.
Who it's for
Choose gretl if your work centers on econometrics—particularly regression, time series, or panel data—and you value scriptable analyses, extensive import formats, and exchange with other analytical tools. It is less suited to someone whose priority is the widest possible range of statistical methods, since the maker describes its coverage as narrower than GNU R's.
Pros and cons
- Pros: Its dedicated estimator and time-series range covers many standard econometric tasks, from GMM and regularized regression to cointegration testing and the Kalman filter.
- Pros: hansl scripting, LaTeX model output, broad data imports, and exchange with six named analytical environments support reproducible work and integration into existing workflows.
- Pros: The GPL license permits redistribution and modification, and the software runs on all three major desktop operating systems.
- Cons: Its method coverage is explicitly less comprehensive than GNU R's, which matters for users who need a broader statistical toolkit.
- Cons: It is desktop-only, so browser access is not an option.
Alternatives
Statistical Analysis Software is the broader category to explore when you want to compare tools beyond econometrics.
- jamovi is a better fit for browser-based access and point-and-click analyses powered by R; its free Guest plan includes the full module library.
- JASP is another free desktop option for Linux, macOS, and Windows, provided your system is 64-bit and has at least 4 GB of RAM and 4 GB of free disk space.
- EViews is an alternative for macOS or Windows users considering an academic single-user license at $700 a month, which requires current academic affiliation.
- PAST may suit users who want spreadsheet-style data entry alongside univariate and multivariate statistics and graphical analysis.
- StatsDirect is another free option, with no license fees or restrictions on uses.
- LatentGOLD is an alternative to consider if you need its model-specific approach.
- BlueSky Statistics is another free-forever comprehensive statistics and data science application for macOS and Windows.
- Stata is another option for Linux, macOS, and Windows users comparing statistical software.
Verdict
For econometricians, students, and researchers who need substantial regression and time-series methods without a license cost, gretl is a practical choice. Its specialist breadth, scripting, and open-source license are compelling; look elsewhere if you need more comprehensive statistical coverage or browser-based access.
Verdict
gretl provides econometric modeling and scripting across the major desktop platforms at no cost. Its method coverage is extensive, though the maker explicitly notes it is less comprehensive than GNU R's.
Questions
Is gretl free?
Yes. The listed plan is free, and gretl is distributed under the GNU GPL.
Which operating systems does gretl support?
It is available for Linux, macOS, and Windows. The macOS download page offers packages for macOS 10.9 or higher, with separate Apple Silicon packages for macOS 11 or higher and Intel packages.
Can gretl exchange data with other software?
Yes. It lists data and results exchange with GNU R, GNU Octave, Python, Julia, Ox, and Stata.
Can I use gretl for time-series analysis?
Yes. Its methods include ARIMA, GARCH-type models, VARs, VECMs, unit-root and cointegration tests, and the Kalman filter.
Is gretl open source?
Yes. The GNU GPL permits users to redistribute and modify the software.
Does gretl offer a free trial?
No free trial is listed; gretl itself is free software.
Facts from gretl's own pages
- Bayesian analysis
- Yes · gretl.sourceforge.net, 20 Sept 2026
- Data formats
- Supported formats include CSV, Excel, Gnumeric, Open Document, Stata, SPSS, EViews, JMulTi, RATS 4 and PC-Give files, as well as gretl's own formats. · gretl.sourceforge.net, 3 Oct 2026
- Data import formats
- XML, CSV, Excel, Gnumeric, OpenDocument, Stata, SPSS, EViews, JMulTi, RATS 4 and PC-Give · gretl.sourceforge.net, 20 Sept 2026
- Deployment
- desktop · gretl.sourceforge.net, 20 Sept 2026
- Estimators
- It includes least squares, maximum likelihood, GMM, single-equation and system methods, and regularized least squares methods including LASSO, Ridge and elastic net. · gretl.sourceforge.net, 3 Oct 2026
- Free plan
- Yes · gretl.sourceforge.net, 20 Sept 2026
- Integrations
- The site lists data and results exchange with GNU R, GNU Octave, Python, Julia, Ox and Stata, plus parallelization via MPI. · gretl.sourceforge.net, 3 Oct 2026
- Intended users
- The maker describes gretl as a free, user-friendly and sophisticated econometrics package, and notes that its statistical-method coverage is less comprehensive than GNU R's. · gretl.sourceforge.net, 3 Oct 2026
- Machine learning
- The site states that gretl supports machine learning via LIBSVM and mixed time-series frequencies via MIDAS. · gretl.sourceforge.net, 3 Oct 2026
- macOS requirements
- The macOS download page offers gretl for macOS 10.9 or higher, with separate packages listed for Apple Silicon on macOS 11 or higher and for Intel Macs. · gretl.sourceforge.net, 3 Oct 2026
- Other models
- It supports limited dependent-variable models and panel-data estimators, including instrumental variables, probit and dynamic panel models based on GMM. · gretl.sourceforge.net, 3 Oct 2026
- Platforms
- The download page links to packages for Windows and macOS, and Debian and Fedora packages for Linux; it also provides source packages for compiling. · gretl.sourceforge.net, 3 Oct 2026
- Purpose
- gretl is a cross-platform software package for econometric analysis, written in C. · gretl.sourceforge.net, 3 Oct 2026
- Regression models
- Yes · gretl.sourceforge.net, 20 Sept 2026
- Scripting and output
- gretl has an integrated scripting language called hansl and can output models as LaTeX files in tabular or equation format. · gretl.sourceforge.net, 3 Oct 2026
- Scripting support
- Yes · gretl.sourceforge.net, 20 Sept 2026
- Security and license
- The maker describes gretl as free, open-source software that may be redistributed and modified under the GNU General Public License. · gretl.sourceforge.net, 3 Oct 2026
- Statistical tests
- Yes · gretl.sourceforge.net, 20 Sept 2026
- Support
- Users can seek help through the gretl-users mailing list and submit bug reports and feature requests through the SourceForge Tracker system. · gretl.sourceforge.net, 3 Oct 2026
- Time series
- Time-series methods include ARIMA, GARCH-type models, VARs and VECMs, unit-root and cointegration tests, and the Kalman filter. · gretl.sourceforge.net, 3 Oct 2026
Where gretl stands on Freedom251
- Statistical Analysis Software#9 of 106