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

a_eff.gfn

Oleh Komashko

0.82

2018-10-28

advanced treatment of marginal effects and elasticities

8

BACE.zip [doc]

Marcin Błażejowski, Jacek Kwiatkowski

1.1

2018-08-31

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

9

bandplot.gfn

Allin Cottrell

0.3

2015-07-11

Confidence band plot

10

bartlett.gfn

Marcos Larios Santa Rosa

0.3

2017-07-02

Bartlett's test for Homogeneity of Variance

11

bkw.gfn

Lee C Adkins

1.01

2015-07-07

Computes the Belsley, Kuh, Welch table of collinearity diagnostics for linear and nonlinear models

12

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

13

BMST.gfn

Artur Tarassow

1.0

2016-11-04

Logit + Probit model specifcation tests package

14

BNdecomp.gfn

Riccardo "Jack" Lucchetti

2.0

2015-03-03

Beveridge-Nelson Decomposition

15

BoxCoxFuncForm.gfn

Sven Schreiber and Jürgen Malitte

0.3

2018-10-16

Best-fitting functional form

16

Box_Cox_Value.gfn

Pedro Isaac Chávez López

1.01

2014-05-13

Obtain the lambda value of a Box-Cox Transformation

17

BreitungCandelonTest.gfn

Sven Schreiber

2.5

2018-05-29

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

18

Brown.gfn

Ignacio Diaz-Emparanza

1.5

2015-02-18

Brown linear and quadratic trend models

19

BSMestim.gfn

Ignacio Diaz-Emparanza

1.3

2017-10-07

Basic Structural Model

20

buys_ballot.gfn

Ignacio Diaz-Emparanza, Riccardo

2.0

2018-02-15

Plots for seasonal time series

21

Canova_Hansen.zip

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

cffilt.gfn

Riccardo Jack Lucchetti

1.01

2017-12-02

Christiano-Fitzgerald asymmetric filter

24

coint2rec.gfn

Andreas Noack Jensen and Sven Schreiber

1.1

2018-03-07

Cointegration stability tests (Hansen & Johansen)

25

cointARDL.zip [doc]

Artur Tarassow

0.6

2018-04-13

Bootstrap single-eq. cointegration tests

26

CommonTrendsTest.gfn

Sven Schreiber

0.5

2017-02-22

Multivariate test for common stochastic trends

27

corresp.gfn

Riccardo "Jack" Lucchetti

0.32

2017-06-20

Simple Correspondence Analysis

28

criteria.gfn

Allin Cottrell

1.2

2016-10-29

Calculate model selection criteria

29

CSDpanel.zip [doc]

Sven Schreiber and Jörg Breitung

0.1

2018-05-01

cross-section dependence in panels (test/estimate)

30

delayspectral.gfn

Sven Schreiber

0.6

2016-07-07

Calculates signal delays in frequency domain and their uncertainty

31

DFM.zip [doc]

Ioannis A. Venetis and Riccardo "Jack" Lucchetti

0.1

2018-12-04

Dynamic Factor Models

32

DHF_test.gfn

Marcin Blazejowski

1.041

2015-11-03

Dickey-Hasza-Fuller Seasonal Unit Root Test

33

dhurdle.zip

Riccardo "Jack" Lucchetti

1.3

2016-01-26

Double-hurdle model

34

DiebMar.gfn

Giulio Palomba

1.2

2017-10-13

Diebold-Mariano test

35

DIF_panelcoint.zip

F. Di Iorio and S. Fachin

1.1

2017-02-20

panel no-cointegration tests with bootstrap p-values

36

DP.gfn

Uriel Rodriguez Ramirez

1.3

2015-07-15

double unit root

37

DPB.zip [doc]

Riccardo "Jack" Lucchetti and Claudia Pigini

1.2

2016-02-23

Dynamic Panel Binary models

38

DST_test.zip

Marcin Błażejowski

1.06

2017-12-19

Dickey's Stationarity Test for High Frequency Data

39

dumitrescu_hurlin_test.gfn

Giuseppe Vittucci

1.0

2017-03-25

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

40

exogtest.zip [doc]

Allin Cottrell

0.1

2017-07-21

diff-in-sargan exogeneity test

41

extra.zip [doc]

The gretl team

0.41

2018-02-03

extra functions for hansl scripting

42

fcModels.gfn

Yi-Nung Yang

1.0

2017-12-04

Forecasting models

43

felogit.gfn

Riccardo "Jack" Lucchetti

1.7

2018-08-31

Fixed-effects logit

44

FEP.zip [doc]

Artur Tarassow and Sven Schreiber

2.11

2018-03-13

Forecast Evaluation Package

45

FEPoisson.gfn

Riccardo "Jack" Lucchetti

1.1

2016-01-13

Fixed-Effects Poisson

46

fe_stats.gfn

Allin Cottrell

0.5

2015-03-22

Statistics for fixed-effects estimates

47

FMOLS.gfn

Stefano Fachin and Riccardo "Jack" Lucchetti

1.0

2017-03-22

Fully Modified Least Squares Estimation for I(1) variables

48

Friedman.gfn

Sven Schreiber

1.1

2017-12-10

Friedman (and Quade) nonparametric c-sample tests

49

frontier.zip [doc]

Riccardo "Jack" Lucchetti

1.0

2018-07-18

Stochastic Frontier Analysis

50

gen_hurst.gfn

Joachim Reinhardt

0.1

2017-12-05

generalized Hurst exponent estimation

51

getQuandl.gfn

Yi-Nung Yang

0.70

2018-03-01

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

52

GHegy.zip

Ignacio Diaz-Emparanza

1.3

2018-04-06

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

53

ghosts.zip [doc]

Riccardo "Jack" Lucchetti

0.2

2018-08-12

Multivariate spectra

54

GJR-garchm.gfn

Yi-Nung Yang

1.2

2017-09-22

GJR-GARCH in Mean

55

gnuplot_piechart.gfn

Ignacio Diaz-Emparanza

1.0

2014-10-23

A simple 2D pie chart

56

gqtest.gfn

Oleh Komashko

0.31

2017-09-27

Golfeld - Quandt heteroskedasticity test

57

gregory_hansen.zip

Artur Tarassow

0.61

2017-05-01

Residual-based tests for cointegration in models with regime shifts

58

heckprobit.gfn

Claudia Pigini

0.1

2015-05-12

Probit model with sample selection

59

hetero.gfn

Yi-Nung Yang

1.2

2017-11-06

Heterosckedasticity tests in Asteriou & Hall

60

Holt.zip [doc]

Ignacio Diaz-Emparanza

1.0

2015-10-05

Holt's local linear trend

61

ivintreg.gfn

Riccardo "Jack" Lucchetti

1.2

2017-12-19

Instrumental-variable Interval Regression

62

johansensmall.gfn

Sven Schreiber and Andreas Noack Jensen

2.7

2017-09-03

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

63

KaoTest.gfn

Uriel Rodriguez Ramirez

2.0

2013-03-06

Cointegration Test of Panel Data

64

Kapetanios.gfn

Ricardo Ramírez & Daniel Ventosa-Santaulària

2.0

2018-10-24

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

65

kddensity.gfn

Riccardo "Jack" Lucchetti

0.2

2017-11-29

kernel estimation of bivariate densities

66

KruskalWallis.gfn

Riccardo Jack Lucchetti

1.1

2018-01-02

Kruskal-Wallis test

67

lagreg.zip [doc]

Oleh Komashko

1.04

2018-03-20

regressions with lagged variables

68

latextab.gfn

Artur Tarassow

0.22

2017-05-28

Write matrix as Latex table

69

levene.gfn

Marcos Larios Santa Rosa

0.3

2017-07-02

Levene's Test for Equality of Variances

70

LLTestim.gfn

Ignacio Diaz-Emparanza

1.3

2017-10-07

Local Linear Trend Model

71

lomackinlay.gfn

Allin Cottrell and Sven Schreiber

1.2

2017-06-07

Lo-MacKinlay variance ratio test

72

lp-mfx.gfn

Allin Cottrell

0.4

2016-11-10

logit/probit marginal effects

73

MannKendall.gfn

Sven Schreiber and Riccardo Jack Lucchetti

1.0

2017-06-08

Mann-Kendall nonparametric trend test

74

margeff_el.gfn

Oleh Komashko

0.6

2017-02-13

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

75

matlab_utilities.gfn

Peter M. Summers

0.2

2017-10-08

Various Matlab/Octave compatability functions for use in scripting

76

matrix_perf.gfn

Allin Cottrell

0.4

2014-06-17

Matrix multiplication performance test

77

MCO_Ridge.gfn

Uriel Rodríguez Ramírez

1.4

2015-06-15

Ridge Regression

78

MDS.gfn

Francesca Di Iorio and Riccardo "Jack" Lucchetti

1.0

2017-04-21

Multidimensional Scaling

79

MGARCH.zip

Riccardo "Jack" Lucchetti

0.3

2017-04-27

Multivariate GARCH models

80

ModRS_test.gfn

Daniel Ventosa-Santaulària

1.1

2018-02-05

Lo's (1991) modified R/S test

81

moran.gfn

Giuseppe Vittucci

0.2

2011-09-04

Moran's I statistic of spatial autocorrelation

82

mwu.gfn

Yi-Nung Yang

0.95

2018-08-30

Mann-Whitney U test with group dummy variable

83

naiveFC.zip [doc]

Artur Tarassow

0.3

2018-11-10

Simple forecasting methods

84

oddsratios.zip [doc]

Riccardo "Jack" Lucchetti and Allin Cottrell

1.0

2015-03-22

Computation of odds ratios for logit models

85

oprobit_predict.gfn

Allin Cottrell

1.2

2016-01-26

Compute predictions from ordered probit

86

paneldesc.gfn

Riccardo "Jack" Lucchetti

1.0

2017-04-02

Basic statistics about gaps in panel datasets

87

parallel_specs.gfn

Sven Schreiber and Allin Cottrell

0.1

2018-06-22

Parallel execution of differing specifications

88

plot_scatter_label.gfn

Artur Tarassow

0.11

2017-02-20

Add labels to scatter plot

89

plot_ts_y2axis.gfn

Artur Tarassow

0.1

2015-09-21

Single scatter plot with 2 y-axis + with lines

90

pmbb.gfn

Giuseppe Vittucci and Artur Tarassow

1.7

2018-03-24

Moving Blocks Bootstrap (MBB) for linear panels

91

poisson_mfx.gfn

Oleh Komashko

0.22

2017-02-13

marginal effects for poisson and negbin regression

92

PPtest.gfn

Riccardo "Jack" Lucchetti

0.1

2012-08-23

Phillips-Perron test

93

PTconf.zip [doc]

Sven-Schreiber

0.92

2016-10-03

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

94

ridge.gfn

Sven Schreiber

1.0

2017-09-22

Ridge regression

95

RLSStein.gfn

Lee C. Adkins

0.92

2013-07-09

RLS Stein-rule estimator

96

robust_RESET.gfn

Oleh Komashko

0.2

2017-02-10

robust RESET test as in Wooldridge

97

roc.zip [doc]

Peter M. Summers

1.02

2017-10-5

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

98

RVNR.gfn

Guillermo Verduzco Bustos

1.0.1

2015-05-16

Rank Von Neumann Ratio

99

SB.gfn

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

1.3

2017-11-14

Stationary bootstrap resampling of time series

100

seasfSTB.gfn

Ignacio Diaz-Emparanza

1.1

2018-04-06

Seasonal filters

101

SETAR.gfn

Federico Lampis, Ignacio Díaz-Emparanza

1.2

2011-06-27

Estimation of a SETAR model

102

sfa_mod.gfn

Gordon Hughes

0.92

2017-12-15

Estimation of stochastic frontier models with no heteroskedasticity

103

ShapleyCont.gfn

Ernesto Rivera and María José Arteaga

1.0

2016-05-30

Shapley based R-Squared decomposition

104

sols.gfn

Allin Cottrell

1.4

2014-01-26

OLS showing standardized coefficients

105

sparse.gfn

Riccardo "Jack" Lucchetti

1.01

2017-04-06

Sparse matrix functions

106

staticfactor.zip

Riccardo "Jack" Lucchetti and Sven Schreiber

0.2

2018-05-31

static factor analysis

107

StrucBreak.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.21

2018-01-09

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

108

StrucTiSM.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.3

2018-03-08

Harvey-style Structural Time Series Models

109

summary_xy.gfn

Yi-Nung Yang

1.4

2018-04-26

summary of Z categorized by two discrete series x and y

110

suradf.gfn

Allin Cottrell

0.2

2015-03-23

SUR-based ADF-type test for multiple time series

111

Threshold_Panel.zip

Artur Tarassow

1.1

2018-06-10

Panel threshold model (Hansen, JoE 1999)

112

tobithetm.gfn

Oleh Komashko

0.43

2018-02-12

Tobit model with multiplicative heteroskedasticity

113

tobit_mfx.gfn

Oleh Komashko

0.3

2016-10-20

marginal effects after tobit and censored regression

114

tobit_y.gfn

Allin Cottrell

0.3

2017-11-16

Tobit dependent variable prediction

115

tramolin.gfn

Ignacio Diaz-Emparanza

1.11

2017-01-28

Outlier detection/correction and missing data interpolation

116

TsCrossValidation.gfn

Artur Tarassow

0.2

2016-01-24

Time-Series Cross-Validation

117

tsfcst.gfn

Oleh Komashko

0.52

2018-03-18

time series forecasting and non-smooth optimization

118

uniFCextensions.gfn

Sven Schreiber

1.0

2017-07-27

Extensions for univariate forecast models

119

VARrec.gfn

Artur Tarassow

0.24

2017-02-27

Recursive computation of VAR model coefficient estimates

120

var_chow.gfn

Artur Tarassow

0.82

2017-10-26

Chow test for VAR models (bootstrap version)

121

vecmI2.gfn

Andreas Noack Jensen

0.2

2018-05-21

Tools for I2 analysis

122

VSG_test.gfn

Daniel Ventosa-Santaulària

1.3

2018-10-25

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

123

waldTest.gfn

Oleh Komashko

1.1

2018-10-25

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

124

Winters.zip [doc]

Ignacio Diaz-Emparanza

1.1

2015-11-05

Smoothing and forecasting method for seasonal time series

125

wooldridge_test_serial.gfn

Giuseppe Vittucci and Artur Tarassow

2.0

2016-10-28

Wooldridge test for serial correlation of residuals in panel

126

wstats.gfn

Riccardo "Jack" Lucchetti

1.0

2018-06-08

weighted frequencies and contingency tables

127

yahoo_get.gfn

Riccardo "Jack" Lucchetti

2.0

2018-05-21

Downloader of daily financial data from Yahoo