The GNU Regression, Econometric and Time-Series Library (gretl) is a software package for econometric analysis. It has a graphical user interface and can be used together with X-12-ARIMA, TRAMO/SEATS, and R.
The package consists of libgretl (a shared library) which provides various functions relating to econometric estimation, a command-line client program, and a graphical user interface built using GTK+.
Gretl offers an intuitive user interface; it is very easy to get up and running with econometric analysis.
Libgretl is based on ESL, a standalone console based econometrics program.
Key Features
- Easy, intuitive interface.
- Wide variety of estimators: least squares, maximum likelihood, GMM; single-equation and system methods.
- Time series methods: ARMA, GARCH, VARs and VECMs, unit-root and cointegration tests, etc.
- Output models as LaTeX files, in tabular or equation format.
- Limited dependent variables: logit, probit, tobit, sample selection, interval regression, models for count and duration data, etc.
- Integrated scripting language: enter commands either via the gui or via script.
- Command loop structure for Monte Carlo simulations and iterative estimation procedures.
- GUI controller for fine-tuning gnuplot graphs.
- Links to R, Octave and Ox for further data analysis. gretl offers the ability to save the current data set in a format suitable for analysis using R; to launch an R session with the current gretl data set automatically loaded into R’s workspace; to embed R scripts within gretl scripts; and, more.
- An expanding range of contributed function packages, written in hansl.
- MIDAS support.
- Reads own format XML data files, Comma Separated Values files (CSV), Excel and Gnumeric worksheets, Stata .dta files, Eviews workfiles, JMulTi data files, own format binary databases, RATS 4 databases, and PC-Give databases.
- Translations: French, Italian, Spanish, Polish, German, Basque, Catalan, Galician, Portuguese, Russian, Ukrainian, Turkish, Czech, Traditional Chinese, Albanian, Bulgarian, Greek, Japanese and Romanian as well as English.
- Cross-platform support: Linux, Mac OS X, and Windows operating systems.
Website: gretl.sourceforge.net
Support: Manual, Mailing Lists
Developer: Allin Cottrell, Riccardo Lucchetti
License: GNU General Public License v2.0

gretl is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Econometric Software | |
|---|---|
| R | Statistical computation and graphics system |
| gretl | Regression, Econometric and Time-Series Library |
| Grocer | Econometric toolbox for Scilab, software similar to Gauss and Matlab |
| GeoDa | Exploratory data analysis and spatial regression |
| gbutils | Set of command line utilities for the manipulation and statistical analysis of data |
| Draco | Econometrics and statistics package |
| Minsky | System dynamics program with additional features for economics |
Read our verdict in the software roundup.
| Statistical Analysis Tools | |
|---|---|
| RStudio | Professional software for R with code editor, debugging & visualization tools |
| R | Environment for statistical computing and graphics |
| gretl | Regression, Econometric and Time-Series Library |
| ROOT | Solves the data analysis challenges of high-energy physics |
| SOFA Statistics | Extremely user-friendly statistics, analysis and reporting package |
| PSPP | Free replacement of the proprietary program, SPSS |
| JASP | Statistical package for both Bayesian and Frequentist statistical methods |
| jamovi | Real-time statistical spreadsheet |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

