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

1.3

2018-12-04

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

0.5

2020-01-06

Assert functions for verifying expectations and values in gretl tests

9

a_eff.gfn

Oleh Komashko

0.82

2018-10-28

advanced treatment of marginal effects and elasticities

10

BACE.zip [doc]

Marcin Błażejowski, Jacek Kwiatkowski

1.1

2018-08-31

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

11

bandplot.gfn

Allin Cottrell

0.3

2015-07-11

Confidence band plot

12

bartlett.gfn

Marcos Larios Santa Rosa

0.3

2017-07-02

Bartlett's test for Homogeneity of Variance

13

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

14

BMST.gfn

Artur Tarassow

1.0

2016-11-04

Logit + Probit model specifcation tests package

15

BNdecomp.gfn

Riccardo "Jack" Lucchetti

2.0

2015-03-03

Beveridge-Nelson Decomposition

16

BoxCoxFuncForm.gfn

Sven Schreiber and Jürgen Malitte

0.3

2018-10-16

Best-fitting functional form

17

Box_Cox_Value.gfn

Pedro Isaac Chávez López

1.01

2014-05-13

Obtain the lambda value of a Box-Cox Transformation

18

BreitungCandelonTest.gfn

Sven Schreiber

2.5

2018-05-29

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

19

Brown.gfn

Ignacio Diaz-Emparanza

1.5

2015-02-18

Brown linear and quadratic trend models

20

buys_ballot.gfn

Ignacio Diaz-Emparanza, Riccardo

2.0

2018-02-15

Plots for seasonal time series

21

Canova_Hansen.zip [doc]

Ignacio Diaz-Emparanza, Mª Paz Moral

1.21

2018-03-21

Seasonal stability tests

22

carr.gfn

Yi-Nung Yang

0.8

2017-10-07

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

23

CategoryEncoders.gfn

Artur Tarassow

0.31

2020-01-12

Encoder based on categorical variables

24

cffilt.gfn

Riccardo Jack Lucchetti

1.01

2017-12-02

Christiano-Fitzgerald asymmetric filter

25

cmatrix.zip [doc]

Riccardo "Jack" Lucchetti and Allin Cottrell

1.0

2018-12-23

support for complex matrices

26

coint2rec.gfn

Andreas Noack Jensen and Sven Schreiber

1.3

2019-02-27

Cointegration stability tests (Hansen & Johansen)

27

cointARDL.zip [doc]

Artur Tarassow

0.7

2018-12-26

Bootstrap single-eq. cointegration tests

28

cointpanel.gfn

Sven Schreiber

0.1

2019-05-27

Panel cointegration tests (Kao)

29

color_xy.gfn

Riccardo "Jack" Lucchetti

1.0

2019-04-30

color xy plot for time series

30

CommonTrendsTest.gfn

Sven Schreiber

0.9

2019-03-01

Multivariate test for common stochastic trends

31

corresp.gfn

Riccardo "Jack" Lucchetti

0.32

2017-06-20

Simple Correspondence Analysis

32

CSDpanel.zip [doc]

Sven Schreiber and Jörg Breitung

0.1

2018-05-01

cross-section dependence in panels (test/estimate)

33

CUB.zip [doc]

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

1.0

2019-11-04

Uniform-Binomial mixture model for ordinal data

34

CvDataSplitter.gfn

Artur Tarassow

0.1

2019-03-31

Compile cross-validation datasets

35

dcm.zip [doc]

Oleh Komashko and Riccardo "Jack" Lucchetti

0.9

2019-04-18

Discrete choice models

36

delayspectral.gfn

Sven Schreiber

1.0

2019-03-23

Calculates signal delays in frequency domain and their uncertainty

37

DFM.zip [doc]

Ioannis A. Venetis and Riccardo "Jack" Lucchetti

0.43

2019-11-21

Dynamic Factor Models

38

DHF_test.gfn

Marcin Blazejowski

1.041

2015-11-03

Dickey-Hasza-Fuller Seasonal Unit Root Test

39

dhurdle.zip [doc]

Riccardo "Jack" Lucchetti

1.3

2016-01-26

Double-hurdle model

40

DiebMar.gfn

Giulio Palomba

1.3

2019-03-22

Diebold-Mariano test for predictive accuracy

41

DIF_panelcoint.zip [doc]

F. Di Iorio and S. Fachin

1.1

2017-02-20

panel no-cointegration tests with bootstrap p-values

42

DP.gfn

Uriel Rodriguez Ramirez

1.3

2015-07-15

double unit root

43

DPB.zip [doc]

Riccardo "Jack" Lucchetti and Claudia Pigini

1.22

2019-03-22

Dynamic Panel Binary models

44

DST_test.zip [doc]

Marcin Błażejowski

1.06

2017-12-19

Dickey's Stationarity Test for High Frequency Data

45

dumitrescu_hurlin_test.gfn

Giuseppe Vittucci

1.0

2017-03-25

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

46

exogtest.zip [doc]

Allin Cottrell

0.1

2017-07-21

diff-in-sargan exogeneity test

47

fcModels.gfn

Yi-Nung Yang

1.2

2019-10-29

Forecasting models

48

felogit.gfn

Riccardo "Jack" Lucchetti

1.8

2019-06-11

Fixed-effects logit

49

FEP.zip [doc]

Artur Tarassow and Sven Schreiber

2.41

2020-01-30

Forecast Evaluation Package

50

FEPoisson.gfn

Riccardo "Jack" Lucchetti

1.1

2016-01-13

Fixed-Effects Poisson

51

fe_stats.gfn

Allin Cottrell

0.5

2015-03-22

Statistics for fixed-effects estimates

52

FMOLS.gfn

Stefano Fachin and Riccardo "Jack" Lucchetti

1.0

2017-03-22

Fully Modified Least Squares Estimation for I(1) variables

53

Friedman.gfn

Sven Schreiber

1.1

2017-12-10

Friedman (and Quade) nonparametric c-sample tests

54

frontier.zip [doc]

Riccardo "Jack" Lucchetti

1.0

2018-07-18

Stochastic Frontier Analysis

55

gen_hurst.gfn

Joachim Reinhardt

0.1

2017-12-05

generalized Hurst exponent estimation

56

getQuandl.gfn

Yi-Nung Yang

0.70

2018-03-01

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

57

GHegy.zip [doc]

Ignacio Diaz-Emparanza

1.3

2018-04-06

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

58

ghosts.zip [doc]

Allin Cottrell and Riccardo "Jack" Lucchetti

1.0

2019-12-29

Multivariate spectra

59

GJR-garchm.gfn

Yi-Nung Yang

1.21

2019-06-25

GJR-GARCH in Mean

60

gnuplot_piechart.gfn

Ignacio Diaz-Emparanza

1.0

2014-10-23

A simple 2D pie chart

61

gqtest.gfn

Oleh Komashko

0.31

2017-09-27

Golfeld - Quandt heteroskedasticity test

62

gregory_hansen.zip [doc]

Artur Tarassow

0.61

2017-05-01

Residual-based tests for cointegration in models with regime shifts

63

heckprobit.gfn

Claudia Pigini

0.2

2020-02-12

Probit model with sample selection

64

hetero.gfn

Yi-Nung Yang

1.2

2017-11-06

Heterosckedasticity tests in Asteriou & Hall

65

holidays.gfn

Artur Tarassow

0.1

2020-05-18

Retrieve list of holiday series

66

Holt.zip [doc]

Ignacio Diaz-Emparanza

1.0

2015-10-05

Holt's local linear trend

67

ivintreg.gfn

Riccardo "Jack" Lucchetti

1.2

2017-12-19

Instrumental-variable Interval Regression

68

johansensmall.zip [doc]

Sven Schreiber and Andreas Noack Jensen

3.1

2019-12-30

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

69

Kapetanios.gfn

Ricardo Ramírez & Daniel Ventosa-Santaulària

2.0

2018-10-24

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

70

kddensity.gfn

Riccardo "Jack" Lucchetti

0.2

2017-11-29

kernel estimation of bivariate densities

71

KruskalWallis.gfn

Riccardo Jack Lucchetti

1.1

2018-01-02

Kruskal-Wallis test

72

lagreg.zip [doc]

Oleh Komashko

1.04

2018-03-20

regressions with lagged variables

73

latextab.gfn

Artur Tarassow

0.22

2017-05-28

Write matrix as Latex table

74

levene.gfn

Marcos Larios Santa Rosa

0.3

2017-07-02

Levene's Test for Equality of Variances

75

lomackinlay.gfn

Allin Cottrell and Sven Schreiber

1.2

2017-06-07

Lo-MacKinlay variance ratio test

76

lp-mfx.zip [doc]

Allin Cottrell

1.0

2019-04-29

logit/probit marginal effects

77

MannKendall.gfn

Sven Schreiber and Riccardo Jack Lucchetti

1.0

2017-06-08

Mann-Kendall nonparametric trend test

78

margeff_el.gfn

Oleh Komashko

0.6

2017-02-13

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

79

mat2data.gfn

Artur Tarassow

0.5

2019-12-18

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

80

matlab_utilities.zip [doc]

Peter M. Summers

0.3

2019-07-11

Various Matlab/Octave compatibility functions for use in scripting

81

matrix_perf.gfn

Allin Cottrell

0.4

2014-06-17

Matrix multiplication performance test

82

MDS.gfn

Francesca Di Iorio and Riccardo "Jack" Lucchetti

1.0

2017-04-21

Multidimensional Scaling

83

MGARCH.zip [doc]

Riccardo "Jack" Lucchetti

0.31

2019-04-29

Multivariate GARCH models

84

ModRS_test.gfn

Daniel Ventosa-Santaulària

1.1

2018-02-05

Lo's (1991) modified R/S test

85

moran.gfn

Giuseppe Vittucci

0.2

2011-09-04

Moran's I statistic of spatial autocorrelation

86

mwu.gfn

Yi-Nung Yang

0.95

2018-08-30

Mann-Whitney U test with group dummy variable

87

naiveFC.zip [doc]

Artur Tarassow

0.7

2019-06-18

Simple forecasting methods

88

oddsratios.zip [doc]

Riccardo "Jack" Lucchetti and Allin Cottrell

1.0

2015-03-22

Computation of odds ratios for logit models

89

oprobit_predict.zip [doc]

Allin Cottrell

1.3

2018-12-29

Compute predictions from ordered probit, logit

90

PairPlot.zip [doc]

Artur Tarassow

0.5

2019-10-07

Scatterplot matrix with factor separation

91

paneldesc.gfn

Riccardo "Jack" Lucchetti

1.0

2017-04-02

Basic statistics about gaps in panel datasets

92

parallel_specs.gfn

Sven Schreiber and Allin Cottrell

0.1

2018-06-22

Parallel execution of differing specifications

93

plot_scatter_label.gfn

Artur Tarassow

0.11

2017-02-20

Add labels to scatter plot

94

plot_ts_y2axis.gfn

Artur Tarassow

0.1

2015-09-21

Single scatter plot with 2 y-axis + with lines

95

pmbb.gfn

Giuseppe Vittucci and Artur Tarassow

1.7

2018-03-24

Moving Blocks Bootstrap (MBB) for linear panels

96

PMG.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.9

2020-03-26

Pooled and mean group estimation (panel)

97

poisson_mfx.gfn

Oleh Komashko

0.22

2017-02-13

marginal effects for poisson and negbin regression

98

PPtest.gfn

Riccardo "Jack" Lucchetti

0.1

2012-08-23

Phillips-Perron test

99

PTconf.zip [doc]

Sven Schreiber

0.99

2020-03-28

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

100

retobit.gfn

Riccardo Lucchetti and Sven Schreiber

0.1

2020-02-12

Panel Tobit model with random effects

101

ridge.gfn

Sven Schreiber and Artur Tarassow

1.11

2020-01-12

Ridge regression

102

RLSStein.zip [doc]

Lee C. Adkins

1.0

2019-01-18

RLS Stein-rule estimator

103

robust_RESET.gfn

Oleh Komashko

0.2

2017-02-10

robust RESET test as in Wooldridge

104

roc.zip [doc]

Peter M. Summers

1.02

2017-10-5

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

105

RollingStats.gfn

Artur Tarassow

0.2

2019-01-11

Rolling Time-Series Statistics

106

SB.gfn

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

1.3

2017-11-14

Stationary bootstrap resampling of time series

107

seasfSTB.gfn

Ignacio Diaz-Emparanza

1.1

2018-04-06

Seasonal filters

108

SETAR.gfn

Federico Lampis & Ignacio Díaz-Emparanza

1.3

2019-01-02

Estimation of a SETAR model

109

sfa_mod.gfn

Gordon Hughes

0.92

2017-12-15

Estimation of stochastic frontier models with no heteroskedasticity

110

ShapleyCont.gfn

Ernesto Rivera y María José Arteaga

1.1

2019-05-23

Shapley based R-Squared decomposition

111

sols.gfn

Allin Cottrell

1.4

2014-01-26

OLS showing standardized coefficients

112

sparse.gfn

Riccardo "Jack" Lucchetti

1.01

2017-04-06

Sparse matrix functions

113

spm.zip [doc]

Chiara Casoli, Luca Pedini and Francesco Valentini

0.1

2019-12-20

Spatial Regression Models

114

stack_data.zip [doc]

Artur Tarassow

0.9

2020-04-17

Stack list of series

115

staticfactor.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.2

2018-05-31

static factor analysis

116

string_utils.gfn

Artur Tarassow

0.21

2020-01-31

Helper functions for string operations

117

StrucBreak.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.21

2018-01-09

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

118

StrucTiSM.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.52

2020-01-08

Harvey-style Structural Time Series Models

119

summary_xy.gfn

Yi-Nung Yang

1.4

2018-04-26

summary of Z categorized by two discrete series x and y

120

suradf.gfn

Allin Cottrell

0.2

2015-03-23

SUR-based ADF-type test for multiple time series

121

SVEC_GUI.gfn

Sven Schreiber

0.3

2020-02-18

GUI for SVECs

122

Threshold_Panel.zip [doc]

Artur Tarassow

1.1

2018-06-10

Panel threshold model (Hansen, JoE 1999)

123

tobithetm.gfn

Oleh Komashko

0.43

2018-02-12

Tobit model with multiplicative heteroskedasticity

124

tobit_mfx.gfn

Oleh Komashko

0.3

2016-10-20

marginal effects after tobit and censored regression

125

tobit_y.gfn

Allin Cottrell

0.3

2017-11-16

Tobit dependent variable prediction

126

tramolin.gfn

Ignacio Diaz-Emparanza

1.14

2019-04-09

Outlier detection/correction and missing data interpolation

127

TsCrossValidation.gfn

Artur Tarassow

0.2

2016-01-24

Time-Series Cross-Validation

128

tsfcst.gfn

Oleh Komashko

0.52

2018-03-18

time series forecasting and non-smooth optimization

129

uniFCextensions.gfn

Sven Schreiber

1.0

2017-07-27

Extensions for univariate forecast models

130

VARrec.gfn

Artur Tarassow

0.24

2017-02-27

Recursive computation of VAR model coefficient estimates

131

var_chow.gfn

Artur Tarassow

0.82

2017-10-26

Chow test for VAR models (bootstrap version)

132

vecmI2.gfn

Andreas Noack Jensen

0.2

2018-05-21

Tools for I2 analysis

133

VSG_test.gfn

Daniel Ventosa-Santaulària

1.3

2018-10-25

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

134

waldTest.gfn

Oleh Komashko

1.1

2018-10-25

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

135

Winters.zip [doc]

Ignacio Diaz-Emparanza

1.1

2015-11-05

Smoothing and forecasting method for seasonal time series

136

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

137

wstats.gfn

Riccardo "Jack" Lucchetti

1.0

2018-06-08

weighted frequencies and contingency tables

138

yahoo_get.gfn

Riccardo "Jack" Lucchetti

3.0

2019-06-17

Downloader of daily financial data from Yahoo