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.2

2010-12-17

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.13

2018-03-22

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

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.71

2017-11-24

advanced treatment of marginal effects

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

DHF_test.gfn

Marcin Blazejowski

1.041

2015-11-03

Dickey-Hasza-Fuller Seasonal Unit Root Test

32

dhurdle.zip

Riccardo "Jack" Lucchetti

1.3

2016-01-26

Double-hurdle model

33

DiebMar.gfn

Giulio Palomba

1.2

2017-10-13

Diebold-Mariano test

34

DIF_panelcoint.zip

F. Di Iorio and S. Fachin

1.1

2017-02-20

panel no-cointegration tests with bootstrap p-values

35

DP.gfn

Uriel Rodriguez Ramirez

1.3

2015-07-15

double unit root

36

DPB.zip [doc]

Riccardo "Jack" Lucchetti and Claudia Pigini

1.2

2016-02-23

Dynamic Panel Binary models

37

DST_test.zip

Marcin Błażejowski

1.06

2017-12-19

Dickey's Stationarity Test for High Frequency Data

38

dumitrescu_hurlin_test.gfn

Giuseppe Vittucci

1.0

2017-03-25

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

39

exogtest.zip [doc]

Allin Cottrell

0.1

2017-07-21

diff-in-sargan exogeneity test

40

extra.zip [doc]

The gretl team

0.41

2018-02-03

extra functions for hansl scripting

41

fcModels.gfn

Yi-Nung Yang

1.0

2017-12-04

Forecasting models

42

felogit.gfn

Riccardo "Jack" Lucchetti

1.7

2018-08-31

Fixed-effects logit

43

FEP.zip [doc]

Artur Tarassow and Sven Schreiber

2.11

2018-03-13

Forecast Evaluation Package

44

FEPoisson.gfn

Riccardo "Jack" Lucchetti

1.1

2016-01-13

Fixed-Effects Poisson

45

fe_stats.gfn

Allin Cottrell

0.5

2015-03-22

Statistics for fixed-effects estimates

46

FMOLS.gfn

Stefano Fachin and Riccardo "Jack" Lucchetti

1.0

2017-03-22

Fully Modified Least Squares Estimation for I(1) variables

47

Friedman.gfn

Sven Schreiber

1.1

2017-12-10

Friedman (and Quade) nonparametric c-sample tests

48

frontier.zip [doc]

Riccardo "Jack" Lucchetti

1.0

2018-07-18

Stochastic Frontier Analysis

49

gen_hurst.gfn

Joachim Reinhardt

0.1

2017-12-05

generalized Hurst exponent estimation

50

getQuandl.gfn

Yi-Nung Yang

0.70

2018-03-01

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

51

GHegy.zip

Ignacio Diaz-Emparanza

1.3

2018-04-06

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

52

ghosts.zip [doc]

Riccardo "Jack" Lucchetti

0.2

2018-08-12

Multivariate spectra

53

GJR-garchm.gfn

Yi-Nung Yang

1.2

2017-09-22

GJR-GARCH in Mean

54

gnuplot_piechart.gfn

Ignacio Diaz-Emparanza

1.0

2014-10-23

A simple 2D pie chart

55

gqtest.gfn

Oleh Komashko

0.31

2017-09-27

Golfeld - Quandt heteroskedasticity test

56

gregory_hansen.zip

Artur Tarassow

0.61

2017-05-01

Residual-based tests for cointegration in models with regime shifts

57

heckprobit.gfn

Claudia Pigini

0.1

2015-05-12

Probit model with sample selection

58

hetero.gfn

Yi-Nung Yang

1.2

2017-11-06

Heterosckedasticity tests in Asteriou & Hall

59

Holt.zip [doc]

Ignacio Diaz-Emparanza

1.0

2015-10-05

Holt's local linear trend

60

ivintreg.gfn

Riccardo "Jack" Lucchetti

1.2

2017-12-19

Instrumental-variable Interval Regression

61

johansensmall.gfn

Sven Schreiber and Andreas Noack Jensen

2.7

2017-09-03

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

62

KaoTest.gfn

Uriel Rodriguez Ramirez

2.0

2013-03-06

Cointegration Test of Panel Data

63

kddensity.gfn

Riccardo "Jack" Lucchetti

0.2

2017-11-29

kernel estimation of bivariate densities

64

KruskalWallis.gfn

Riccardo Jack Lucchetti

1.1

2018-01-02

Kruskal-Wallis test

65

lagreg.zip [doc]

Oleh Komashko

1.04

2018-03-20

regressions with lagged variables

66

latextab.gfn

Artur Tarassow

0.22

2017-05-28

Write matrix as Latex table

67

levene.gfn

Marcos Larios Santa Rosa

0.3

2017-07-02

Levene's Test for Equality of Variances

68

LLTestim.gfn

Ignacio Diaz-Emparanza

1.3

2017-10-07

Local Linear Trend Model

69

lomackinlay.gfn

Allin Cottrell and Sven Schreiber

1.2

2017-06-07

Lo-MacKinlay variance ratio test

70

lp-mfx.gfn

Allin Cottrell

0.4

2016-11-10

logit/probit marginal effects

71

MannKendall.gfn

Sven Schreiber and Riccardo Jack Lucchetti

1.0

2017-06-08

Mann-Kendall nonparametric trend test

72

margeff_el.gfn

Oleh Komashko

0.6

2017-02-13

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

73

matlab_utilities.gfn

Peter M. Summers

0.2

2017-10-08

Various Matlab/Octave compatability functions for use in scripting

74

matrix_perf.gfn

Allin Cottrell

0.4

2014-06-17

Matrix multiplication performance test

75

MCO_Ridge.gfn

Uriel Rodríguez Ramírez

1.4

2015-06-15

Ridge Regression

76

MDS.gfn

Francesca Di Iorio and Riccardo "Jack" Lucchetti

1.0

2017-04-21

Multidimensional Scaling

77

MGARCH.zip

Riccardo "Jack" Lucchetti

0.3

2017-04-27

Multivariate GARCH models

78

ModRS_test.gfn

Daniel Ventosa-Santaulària

1.1

2018-02-05

Lo's (1991) modified R/S test

79

moran.gfn

Giuseppe Vittucci

0.2

2011-09-04

Moran's I statistic of spatial autocorrelation

80

mwu.gfn

Yi-Nung Yang

0.95

2018-08-30

Mann-Whitney U test with group dummy variable

81

oddsratios.zip [doc]

Riccardo "Jack" Lucchetti and Allin Cottrell

1.0

2015-03-22

Computation of odds ratios for logit models

82

oprobit_predict.gfn

Allin Cottrell

1.2

2016-01-26

Compute predictions from ordered probit

83

paneldesc.gfn

Riccardo "Jack" Lucchetti

1.0

2017-04-02

Basic statistics about gaps in panel datasets

84

parallel_specs.gfn

Sven Schreiber and Allin Cottrell

0.1

2018-06-22

Parallel execution of differing specifications

85

plot_scatter_label.gfn

Artur Tarassow

0.11

2017-02-20

Add labels to scatter plot

86

plot_ts_y2axis.gfn

Artur Tarassow

0.1

2015-09-21

Single scatter plot with 2 y-axis + with lines

87

pmbb.gfn

Giuseppe Vittucci and Artur Tarassow

1.7

2018-03-24

Moving Blocks Bootstrap (MBB) for linear panels

88

poisson_mfx.gfn

Oleh Komashko

0.22

2017-02-13

marginal effects for poisson and negbin regression

89

PPtest.gfn

Riccardo "Jack" Lucchetti

0.1

2012-08-23

Phillips-Perron test

90

PTconf.zip [doc]

Sven-Schreiber

0.92

2016-10-03

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

91

ridge.gfn

Sven Schreiber

1.0

2017-09-22

Ridge regression

92

RLSStein.gfn

Lee C. Adkins

0.92

2013-07-09

RLS Stein-rule estimator

93

robust_RESET.gfn

Oleh Komashko

0.2

2017-02-10

robust RESET test as in Wooldridge

94

roc.zip [doc]

Peter M. Summers

1.02

2017-10-5

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

95

RVNR.gfn

Guillermo Verduzco Bustos

1.0.1

2015-05-16

Rank Von Neumann Ratio

96

SB.gfn

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

1.3

2017-11-14

Stationary bootstrap resampling of time series

97

seasfSTB.gfn

Ignacio Diaz-Emparanza

1.1

2018-04-06

Seasonal filters

98

SETAR.gfn

Federico Lampis, Ignacio Díaz-Emparanza

1.2

2011-06-27

Estimation of a SETAR model

99

sfa_mod.gfn

Gordon Hughes

0.92

2017-12-15

Estimation of stochastic frontier models with no heteroskedasticity

100

ShapleyCont.gfn

Ernesto Rivera and María José Arteaga

1.0

2016-05-30

Shapley based R-Squared decomposition

101

sols.gfn

Allin Cottrell

1.4

2014-01-26

OLS showing standardized coefficients

102

sparse.gfn

Riccardo "Jack" Lucchetti

1.01

2017-04-06

Sparse matrix functions

103

staticfactor.zip

Riccardo "Jack" Lucchetti and Sven Schreiber

0.2

2018-05-31

static factor analysis

104

StrucBreak.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.21

2018-01-09

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

105

StrucTiSM.zip [doc]

Riccardo "Jack" Lucchetti and Sven Schreiber

0.3

2018-03-08

Harvey-style Structural Time Series Models

106

summary_xy.gfn

Yi-Nung Yang

1.4

2018-04-26

summary of Z categorized by two discrete series x and y

107

suradf.gfn

Allin Cottrell

0.2

2015-03-23

SUR-based ADF-type test for multiple time series

108

Threshold_Panel.zip

Artur Tarassow

1.1

2018-06-10

Panel threshold model (Hansen, JoE 1999)

109

tobithetm.gfn

Oleh Komashko

0.43

2018-02-12

Tobit model with multiplicative heteroskedasticity

110

tobit_mfx.gfn

Oleh Komashko

0.3

2016-10-20

marginal effects after tobit and censored regression

111

tobit_y.gfn

Allin Cottrell

0.3

2017-11-16

Tobit dependent variable prediction

112

tramolin.gfn

Ignacio Diaz-Emparanza

1.11

2017-01-28

Outlier detection/correction and missing data interpolation

113

TsCrossValidation.gfn

Artur Tarassow

0.2

2016-01-24

Time-Series Cross-Validation

114

tsfcst.gfn

Oleh Komashko

0.52

2018-03-18

time series forecasting and non-smooth optimization

115

uniFCextensions.gfn

Sven Schreiber

1.0

2017-07-27

Extensions for univariate forecast models

116

VARrec.gfn

Artur Tarassow

0.24

2017-02-27

Recursive computation of VAR model coefficient estimates

117

var_chow.gfn

Artur Tarassow

0.82

2017-10-26

Chow test for VAR models (bootstrap version)

118

vecmI2.gfn

Andreas Noack Jensen

0.2

2018-05-21

Tools for I2 analysis

119

VSG_test.gfn

Daniel Ventosa-Santaulària

1.11

2011-02-21

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

120

waldTest.gfn

Oleh Komashko

1.01

2017-11-23

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

121

Winters.zip [doc]

Ignacio Diaz-Emparanza

1.1

2015-11-05

Smoothing and forecasting method for seasonal time series

122

wooldridge_test_serial.gfn

Giuseppe Vittucci and Artur Tarassow

2.0

2016-10-28

Wooldridge test for serial correlation of residuals in panel

123

wstats.gfn

Riccardo "Jack" Lucchetti

1.0

2018-06-08

weighted frequencies and contingency tables

124

yahoo_get.gfn

Riccardo "Jack" Lucchetti

2.0

2018-05-21

Downloader of daily financial data from Yahoo