gretl function packages

Select a filter:

Please note, the recommended way of installing these packages is via gretl: look under the menu item Tools/Function packages/On server.

Shown below are contributed function packages; in addition there are several official addons available for gretl.

Name Author Version Date Description
1

addlist.gfn

Allin Cottrell

2.0

2020-08-15

Sequential addition of variables to a model

2

ADFGLSTest.gfn

Oleh Komashko

0.055

2015-04-12

ADF-GLS test with interpolated p-values

3

ADMBP.zip [doc]

Artur Tarassow

0.96

2018-05-03

ARDL Dynamic Multiplier Bootstrap Package

4

almonreg.zip [doc]

Allin Cottrell

0.4

2015-02-09

PDL (Almon lag) model

5

arima_sim.gfn

Oleh Komashko

0.23

2018-11-12

simulation of arima(p, d, q; P, D, Q) trajectories

6

armax.gfn

Yi-Nung Yang

0.101

2017-09-22

Automatically determine and show the best ARMAX model based on either the AIC, BIC, or HQC criterion.

7

ARMA_IRF.gfn

Riccardo "Jack" Lucchetti

1.0

2020-04-27

IRF for univariate ARMA models

8

assertion.gfn

Artur Tarassow

1.0

2020-08-22

Assert functions for verifying expectations and values in gretl tests

9

auto_arima.gfn

Artur Tarassow

0.7

2020-09-03

Return best ARIMA model according to information criteria value

10

a_eff.gfn

Oleh Komashko

0.82

2018-10-28

advanced treatment of marginal effects and elasticities

11

BACE.zip [doc]

Marcin Błażejowski, Jacek Kwiatkowski

1.1

2018-08-31

This package provides BACE (Bayesian Averaging of Classical Estimates) procedure.

12

bandplot.gfn

Allin Cottrell

0.3

2015-07-11

Confidence band plot

13

bartlett.gfn

Marcos Larios Santa Rosa

0.3

2017-07-02

Bartlett's test for Homogeneity of Variance

14

BMA.zip [doc]

Marcin Błażejowski, Jacek Kwiatkowski

2.01

2017-06-29

Bayesian Model Averaging for the linear regression models with jointness measures

15

BMST.gfn

Artur Tarassow

2.0

2020-09-10

Binary (logit + probit) model specification tests

16

BNdecomp.gfn

Riccardo "Jack" Lucchetti

2.0

2015-03-03

Beveridge-Nelson Decomposition

17

BoxCoxFuncForm.gfn

Sven Schreiber and Jürgen Malitte

0.3

2018-10-16

Best-fitting functional form

18

Box_Cox_Value.gfn

Pedro Isaac Chávez López

1.01

2014-05-13

Obtain the lambda value of a Box-Cox Transformation

19

BreitungCandelonTest.gfn

Sven Schreiber

2.5

2018-05-29

Breitung-Candelon test of frequency-wise Granger (non-) causality

20

Brown.gfn

Ignacio Diaz-Emparanza

1.5

2015-02-18

Brown linear and quadratic trend models

21

buys_ballot.gfn

Ignacio Diaz-Emparanza, Riccardo

2.0

2018-02-15

Plots for seasonal time series

22

calendar_utils.gfn

Artur Tarassow

0.2

2020-10-16

Collection of useful date time related tools

23

Canova_Hansen.zip [doc]

Ignacio Diaz-Emparanza, Mª Paz Moral

1.21

2018-03-21

Seasonal stability tests

24

carr.gfn

Yi-Nung Yang

0.8

2017-10-07

CARR models: ECARR and WCARR by Ray Y. Chou (2005, JCMB)

25

CategoryEncoders.gfn

Artur Tarassow

0.31

2020-01-12

Encoder based on categorical variables

26

cffilt.gfn

Riccardo Jack Lucchetti

1.01

2017-12-02

Christiano-Fitzgerald asymmetric filter

27

cmatrix.zip [doc]

Riccardo "Jack" Lucchetti and Allin Cottrell

1.0

2018-12-23

support for complex matrices

28

coint2rec.gfn

Andreas Noack Jensen and Sven Schreiber

1.3

2019-02-27

Cointegration stability tests (Hansen & Johansen)

29

cointARDL.zip [doc]

Artur Tarassow

0.7

2018-12-26

Bootstrap single-eq. cointegration tests

30

cointpanel.gfn

Sven Schreiber

0.1

2019-05-27

Panel cointegration tests (Kao)

31

color_xy.gfn

Riccardo "Jack" Lucchetti

1.0

2019-04-30

color xy plot for time series

32

CommonTrendsTest.gfn

Sven Schreiber

0.9

2019-03-01

Multivariate test for common stochastic trends

33

corresp.gfn

Riccardo "Jack" Lucchetti

0.32

2017-06-20

Simple Correspondence Analysis

34

CSDpanel.zip [doc]

Sven Schreiber and Jörg Breitung

0.2

2020-07-04

cross-section dependence in panels (test/estimate)

35

CUB.zip [doc]

Francesca Di Iorio, Rosaria Simone and Riccardo "Jack" Lucchetti

1.0

2019-11-04

Uniform-Binomial mixture model for ordinal data

36

CvDataSplitter.gfn

Artur Tarassow

0.1

2019-03-31

Compile cross-validation datasets

37

dcm.zip [doc]

Oleh Komashko and Riccardo "Jack" Lucchetti

0.9

2019-04-18

Discrete choice models

38

delayspectral.gfn

Sven Schreiber

1.0

2019-03-23

Calculates signal delays in frequency domain and their uncertainty

39

DFM.zip [doc]

Ioannis A. Venetis and Riccardo "Jack" Lucchetti

0.43

2019-11-21

Dynamic Factor Models

40

DHF_test.gfn

Marcin Blazejowski

1.041

2015-11-03

Dickey-Hasza-Fuller Seasonal Unit Root Test

41

dhurdle.zip [doc]

Riccardo "Jack" Lucchetti

1.3

2016-01-26

Double-hurdle model

42

DiebMar.gfn

Giulio Palomba

1.3

2019-03-22

Diebold-Mariano test for predictive accuracy

43

DIF_panelcoint.zip [doc]

F. Di Iorio and S. Fachin

1.1

2017-02-20

panel no-cointegration tests with bootstrap p-values

44

DP.gfn

Uriel Rodriguez Ramirez

1.3

2015-07-15

double unit root

45

DPB.zip [doc]

Riccardo "Jack" Lucchetti and Claudia Pigini

1.22

2019-03-22

Dynamic Panel Binary models

46

DST_test.zip [doc]

Marcin Błażejowski

1.06

2017-12-19

Dickey's Stationarity Test for High Frequency Data

47

dumitrescu_hurlin_test.gfn

Giuseppe Vittucci

1.0

2017-03-25

Dumitrescu-Hurlin (2012) test: Granger causality for panel data

48

exogtest.zip [doc]

Allin Cottrell

0.1

2017-07-21

diff-in-sargan exogeneity test

49

fcModels.gfn

Yi-Nung Yang

1.2

2019-10-29

Forecasting models

50

felogit.gfn

Riccardo "Jack" Lucchetti

1.8

2019-06-11

Fixed-effects logit

51

FEP.zip [doc]

Artur Tarassow and Sven Schreiber

2.5

2020-10-09

Forecast Evaluation Package

52

FEPoisson.gfn

Riccardo "Jack" Lucchetti

1.1

2016-01-13

Fixed-Effects Poisson

53

fe_stats.gfn

Allin Cottrell

0.5

2015-03-22

Statistics for fixed-effects estimates

54

FMOLS.gfn

Stefano Fachin and Riccardo "Jack" Lucchetti

1.0

2017-03-22

Fully Modified Least Squares Estimation for I(1) variables

55

Friedman.gfn

Sven Schreiber

1.1

2017-12-10

Friedman (and Quade) nonparametric c-sample tests

56

frontier.zip [doc]

Riccardo "Jack" Lucchetti

1.0

2018-07-18

Stochastic Frontier Analysis

57

fsboost.zip [doc]

Artur Tarassow

0.1

2020-09-05

Forward-stagewise boosted regression estimates

58

gen_hurst.gfn

Joachim Reinhardt

0.1

2017-12-05

generalized Hurst exponent estimation

59

getQuandl.gfn

Yi-Nung Yang

0.70

2018-03-01

Download data from Quandl.com, a "data platform"

60

GHegy.zip [doc]

Ignacio Diaz-Emparanza

1.3

2018-04-06

General seasonal unit roots tests (HEGY) and P-values

61

ghosts.zip [doc]

Allin Cottrell and Riccardo "Jack" Lucchetti

1.0

2019-12-29

Multivariate spectra

62

GJR-garchm.gfn

Yi-Nung Yang

1.21

2019-06-25

GJR-GARCH in Mean

63

gnuplot_piechart.gfn

Ignacio Diaz-Emparanza

1.0

2014-10-23

A simple 2D pie chart

64

gqtest.gfn

Oleh Komashko

0.31

2017-09-27

Golfeld - Quandt heteroskedasticity test

65

gregory_hansen.zip [doc]

Artur Tarassow

0.61

2017-05-01

Residual-based tests for cointegration in models with regime shifts

66

heckprobit.gfn

Claudia Pigini

0.2

2020-02-12

Probit model with sample selection

67

hetero.gfn

Yi-Nung Yang

1.2

2017-11-06

Heterosckedasticity tests in Asteriou & Hall

68

holidays.gfn

Artur Tarassow

0.1

2020-05-18

Retrieve list of holiday series

69

Holt.zip [doc]

Ignacio Diaz-Emparanza

1.0

2015-10-05

Holt's local linear trend

70

ivintreg.gfn

Riccardo "Jack" Lucchetti

1.2

2017-12-19

Instrumental-variable Interval Regression

71

johansensmall.zip [doc]

Sven Schreiber and Andreas Noack Jensen

3.2

2020-08-14

Small-sample Johansen coint. rank tests (bootstrap and Bartlett)

72

Kapetanios.gfn

Ricardo Ramírez & Daniel Ventosa-Santaulària

2.0

2018-10-24

Kapetanios' (2005) unit root test (controls for breaks under Ha)

73

kddensity.gfn

Riccardo "Jack" Lucchetti

0.2

2017-11-29

kernel estimation of bivariate densities

74

KruskalWallis.gfn

Riccardo Jack Lucchetti

1.1

2018-01-02

Kruskal-Wallis test

75

lagreg.zip [doc]

Oleh Komashko

1.04

2018-03-20

regressions with lagged variables

76

latextab.gfn

Artur Tarassow

0.22

2017-05-28

Write matrix as Latex table

77

levene.gfn

Marcos Larios Santa Rosa

0.3

2017-07-02

Levene's Test for Equality of Variances

78

LocalProjection.zip [doc]

Gerardo Sebastián Díaz Muro

1.0

2020-08-17

Linear and nonlinear IRF estimation with local projections by Jordá (2005).

79

lomackinlay.gfn

Allin Cottrell and Sven Schreiber

1.2

2017-06-07

Lo-MacKinlay variance ratio test

80

lp-mfx.zip [doc]

Allin Cottrell

1.0

2019-04-29

logit/probit marginal effects

81

MannKendall.gfn

Sven Schreiber and Riccardo Jack Lucchetti

1.1

2020-09-27

Mann-Kendall nonparametric trend test

82

margeff_el.gfn

Oleh Komashko

0.6

2017-02-13

marg. effects, elasticities, prediction in presense of functions of vars.

83

mat2data.gfn

Artur Tarassow

0.5

2019-12-18

Write matrix as dataset to some file (e.g. csv, gdt)

84

matlab_utilities.zip [doc]

Peter M. Summers

0.3

2019-07-11

Various Matlab/Octave compatibility functions for use in scripting

85

matrix_perf.gfn

Allin Cottrell

0.4

2014-06-17

Matrix multiplication performance test

86

MDS.gfn

Francesca Di Iorio and Riccardo "Jack" Lucchetti

1.0

2017-04-21

Multidimensional Scaling

87

memusage.gfn

Artur Tarassow

1.0

2020-06-03

Compute memory usage of gretl objects

88

MGARCH.zip [doc]

Riccardo "Jack" Lucchetti

0.31

2019-04-29

Multivariate GARCH models

89

ModRS_test.gfn

Daniel Ventosa-Santaulària

1.1

2018-02-05

Lo's (1991) modified R/S test

90

moran.gfn

Giuseppe Vittucci

0.2

2011-09-04

Moran's I statistic of spatial autocorrelation

91

multiplot.gfn

Sven Schreiber and Artur Tarassow

0.2

2020-08-15

Combine multiple plots to a single graph

92

mwu.gfn

Yi-Nung Yang

0.95

2018-08-30

Mann-Whitney U test with group dummy variable

93

naiveFC.zip [doc]

Artur Tarassow

0.7

2019-06-18

Simple forecasting methods

94

oddsratios.zip [doc]

Riccardo "Jack" Lucchetti and Allin Cottrell

1.0

2015-03-22

Computation of odds ratios for logit models

95

oprobit_predict.zip [doc]

Allin Cottrell

1.3

2018-12-29

Compute predictions from ordered probit, logit

96

PairPlot.zip [doc]

Artur Tarassow

0.5

2019-10-07

Scatterplot matrix with factor separation

97

paneldesc.gfn

Riccardo "Jack" Lucchetti

1.0

2017-04-02

Basic statistics about gaps in panel datasets

98

parallel_func.gfn

Sven Schreiber

0.2

2020-08-22

parallelized execution of a (matrices-returning) function

99

parallel_specs.gfn

Sven Schreiber, Allin Cottrell, Artur Tarassow

0.2

2020-06-09

Parallel execution of differing specifications

100

ParMA.zip [doc]

Riccardo "Jack" Lucchetti and Luca Pedini

0.9

2020-08-12

Parallel BMA for GLMs

101

plot_scatter_label.gfn

Artur Tarassow

0.11

2017-02-20

Add labels to scatter plot

102

plot_ts_y2axis.gfn

Artur Tarassow

0.1

2015-09-21

Single scatter plot with 2 y-axis + with lines

103

pmbb.gfn

Giuseppe Vittucci and Artur Tarassow

1.7

2018-03-24

Moving Blocks Bootstrap (MBB) for linear panels

104

PMG.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.9

2020-03-26

Pooled and mean group estimation (panel)

105

poisson_mfx.gfn

Oleh Komashko

0.22

2017-02-13

marginal effects for poisson and negbin regression

106

PPtest.gfn

Riccardo "Jack" Lucchetti

1.0

2020-07-26

Phillips-Perron unit root test

107

PTconf.zip [doc]

Sven Schreiber

0.99

2020-03-28

Permanent-transitory decompositions in I(1) systems, with estimation uncertainty

108

retobit.gfn

Riccardo Lucchetti and Sven Schreiber

0.9

2020-08-15

Panel Tobit model with random effects

109

ridge.gfn

Sven Schreiber and Artur Tarassow

1.12

2020-08-10

Ridge regression

110

RLSStein.zip [doc]

Lee C. Adkins

1.0

2019-01-18

RLS Stein-rule estimator

111

robust_RESET.gfn

Oleh Komashko

0.2

2017-02-10

robust RESET test as in Wooldridge

112

roc.zip [doc]

Peter M. Summers

1.02

2017-10-5

Computation and analysis of receiver operating characteristic curves (ROC) for binary choice models.

113

RollingStats.gfn

Artur Tarassow

0.2

2019-01-11

Rolling Time-Series Statistics

114

SB.gfn

F. Di Iorio, S. Fachin, A. Tarassow, Riccardo "Jack" Lucchetti

1.3

2017-11-14

Stationary bootstrap resampling of time series

115

seasfSTB.gfn

Ignacio Diaz-Emparanza

1.1

2018-04-06

Seasonal filters

116

season_plot.gfn

Artur Tarassow

0.1

2020-08-17

Plot seasonal time-series components

117

series_calculator.gfn

Sven Schreiber

0.1

2020-05-26

Calculate and add new series to dataset via the GUI

118

SETAR.gfn

Federico Lampis & Ignacio Díaz-Emparanza

1.4

2020-09-23

Estimation of a SETAR model

119

sfa_mod.gfn

Gordon Hughes

0.92

2017-12-15

Estimation of stochastic frontier models with no heteroskedasticity

120

ShapleyCont.gfn

Ernesto Rivera y María José Arteaga

1.1

2019-05-23

Shapley based R-Squared decomposition

121

sols.gfn

Allin Cottrell

1.4

2014-01-26

OLS showing standardized coefficients

122

sparse.gfn

Riccardo "Jack" Lucchetti

1.01

2017-04-06

Sparse matrix functions

123

spm.zip [doc]

Chiara Casoli, Luca Pedini and Francesco Valentini

0.1

2019-12-20

Spatial Regression Models

124

stack_data.zip [doc]

Artur Tarassow

0.9

2020-04-17

Stack list of series

125

staticfactor.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.5

2020-09-07

static factor analysis

126

string_utils.gfn

Artur Tarassow

0.21

2020-01-31

Helper functions for string operations

127

StrucBreak.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.21

2018-01-09

Autodetection of structural breaks in linear models, Bai-Perron style

128

StrucTiSM.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.53

2020-07-14

Harvey-style Structural Time Series Models

129

summary_xy.gfn

Yi-Nung Yang

1.4

2018-04-26

summary of Z categorized by two discrete series x and y

130

suradf.gfn

Allin Cottrell

0.2

2015-03-23

SUR-based ADF-type test for multiple time series

131

SVEC_GUI.gfn

Sven Schreiber

0.3

2020-02-18

GUI for SVECs

132

Threshold_Panel.zip [doc]

Artur Tarassow

1.1

2018-06-10

Panel threshold model (Hansen, JoE 1999)

133

tobithetm.gfn

Oleh Komashko

0.43

2018-02-12

Tobit model with multiplicative heteroskedasticity

134

tobit_mfx.gfn

Oleh Komashko

0.3

2016-10-20

marginal effects after tobit and censored regression

135

tobit_y.gfn

Allin Cottrell

0.3

2017-11-16

Tobit dependent variable prediction

136

TsCrossValidation.gfn

Artur Tarassow

0.2

2016-01-24

Time-Series Cross-Validation

137

tsfcst.gfn

Oleh Komashko

0.52

2018-03-18

time series forecasting and non-smooth optimization

138

uniFCextensions.gfn

Sven Schreiber

1.0

2017-07-27

Extensions for univariate forecast models

139

VARrec.gfn

Artur Tarassow

0.24

2017-02-27

Recursive computation of VAR model coefficient estimates

140

var_chow.gfn

Artur Tarassow

0.82

2017-10-26

Chow test for VAR models (bootstrap version)

141

vecmI2.gfn

Andreas Noack Jensen

0.2

2018-05-21

Tools for I2 analysis

142

VSG_test.gfn

Daniel Ventosa-Santaulària

1.3

2018-10-25

Tests for a drift (and a shift) in a unit-root process

143

waldTest.gfn

Oleh Komashko

1.1

2018-10-25

Wald test for (non)linear restrictions and conf. intervals

144

Winters.zip [doc]

Ignacio Diaz-Emparanza

1.1

2015-11-05

Smoothing and forecasting method for seasonal time series

145

wooldridge_test_serial.gfn

Giuseppe Vittucci Marzetti and Artur Tarassow

2.1

2019-09-02

Wooldridge's test for serial correlation of residuals in panel model

146

wstats.gfn

Riccardo "Jack" Lucchetti

1.0

2018-06-08

weighted frequencies and contingency tables

147

yahoo_get.gfn

Riccardo "Jack" Lucchetti

3.1

2020-09-18

Downloader of daily financial data from Yahoo