Overview and Origins

gretl (the name stands for GNU Regression, Econometrics, and Time-series Library) is a cross-platform, open-source application created by Allin Cottrell, Riccardo Lucchetti and the wider gretl development community. Written in C, the program is distributed under the GNU General Public License, which permits redistribution and modification so long as the GPL terms are observed.

Core Estimation and Modeling Tools

gretl provides a wide array of estimation methods and model types suited to applied econometrics and statistical work.

  • Time-series methods: ARIMA, univariate GARCH-family models, Kalman filtering, structural VARs and VECMs, plus unit-root and cointegration testing.
  • Single-equation and system estimators: generalized method of moments (GMM), ordinary least squares, maximum likelihood, and system estimation techniques.
  • Model output can be exported in publication-friendly formats such as LaTeX and displayed as equations or tables for reports.

Models for Limited Outcomes and Panel Data

The package includes specialized procedures for nonstandard dependent variables and for datasets that combine cross-sectional and time-series dimensions.

  • Binary and truncated outcomes: logit, probit, tobit, interval regression, and sample-selection models.
  • Count and duration data methods for modeling event-counts or time-to-event outcomes.
  • Panel-data functionality: fixed and random effects, instrumental variables, and dynamic panel estimators based on GMM to handle cross-sectional units observed over time.

Extensibility: Scripting and Add-ons

gretl is built to be extended by users and contributors, making it easy to add bespoke routines or share helpful functions.

  • hansl scripting language: a native interpreted language (Hansl’s A Neat Scripting Language) that supports matrices as primitive types, conditionals, loops and complex data structures for automating repetitive work.
  • Community packages and contributed functions: many extras are written in hansl or provided as add-ons that expand gretl’s capabilities beyond the core distribution.

Interoperability and Visualization

The software is designed to work smoothly with other tools and to generate publication-ready graphics.

  • Parallel processing and specialized libraries: support for MPI-based parallelization, MIDAS mixed-frequency methods, and integration with LIBSVM for support-vector-machine routines.
  • Data exchange and language bridges: convenient interfaces allow results and data to be shared with GNU R, Julia, Octave, Ox, Python, and Stata.
  • Plotting and GUI tools: a graphical interface that can produce fine-tuned Gnuplot charts and make interactive exploration of results straightforward.

Who Benefits from Using gretl

gretl is aimed at statisticians, applied econometricians, researchers and students who need an accessible, well-documented, and extensible tool for empirical analysis. Its combination of built-in estimators, time-series procedures, panel-data methods, scripting, and cross-tool compatibility makes it suitable for teaching, research projects, and routine data analysis tasks.

Technical

Title
Gretl
Requirements
  • Windows
  • Mac
Language
No language has been specified.
Available languages
License
  • Free
Latest update
2025-11-04
Author
Gretl

Gretl for other platforms

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This App
Login To Rate This App

User Reviews

Be the first to post a review of Gretl!