Free Univariate Estimation — exact maximum likelihood estimation of univariate time series models.
Copyright (C) 1995-1996 J.A. Mauricio; 2009-2026 A.B. Treadway & D.E. Guerrero
License: GNU General Public License v2 or later.
- Introduction
- System requirements
- File structure
- Building
- Command-line usage
- Workflow with FUF and gtk_fue
- Example
- Integration with external editors
- Bug reports
FUE is a command-line program for estimating univariate time series models using Exact (Unconditional) Maximum Likelihood (EML). It follows the identification–estimation–validation cycle proposed by Box & Jenkins (1970), with later extensions.
Two companion modules complete the univariate analysis toolkit:
- FUF — forecasting
- gtk_fue — GTK+3 graphical interface for FUE
- C compiler: GCC ≥ 9 (Linux/macOS) or MinGW-w64 (Windows)
- GNU Scientific Library (GSL) ≥ 2.0
- Gnuplot ≥ 5.0 (for high-resolution plots)
- GNU Make
On Debian/Ubuntu:
sudo apt install build-essential libgsl-dev gnuplot
On macOS (Homebrew):
brew install gsl gnuplot
fue-1.13.1/
├── src/ source files (.c)
├── include/ header files (.h)
├── obj/ compiled objects (created by make)
├── bin/ executable (created by make)
├── Makefile
├── README.md
└── README.es.md
make
The executable is placed in bin/fue.
make
If GSL is installed via Homebrew and pkg-config cannot find it:
PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig make
make CROSS=x86_64-w64-mingw32.static- # 64-bit
make CROSS=i686-w64-mingw32.static- # 32-bit
The executable is placed in bin/fue.exe.
make clean # remove object files and executable
make distclean # remove obj/ and bin/
make install # copy bin/fue to /usr/local/bin
make uninstall # remove /usr/local/bin/fue
fue input [eml|aml] [chk|nochk] [-f [horizon]]
| Argument | Description |
|---|---|
input |
model-data file name (without .inp extension) |
eml|aml |
exact | approximate maximum likelihood (default: eml) |
chk|nochk |
check | skip MA invertibility check (default: chk) |
-f [horizon] |
generate forecast_input.inp for FUF; horizon is the number of forecast periods (default: 24) |
FUE produces a text output file input.out and, when Gnuplot is available,
a PostScript report input.ps with high-resolution plots.
The normal workflow is:
-
Estimate with FUE:
fue mymodelReads
mymodel.inpand writes the estimation reportmymodel.out. -
Generate the forecast input file:
fue mymodel -f [horizon]Writes
forecast_mymodel.inpcontaining the estimated parameters, the forecast horizon (default: 24 periods), and the innovation variance. -
Compute the forecasts with FUF:
fuf forecast_mymodelReads
forecast_mymodel.inpand produces the forecast report.
From gtk_fue, steps 2 and 3 are triggered automatically by the Forecast button in the toolbar.
Write a model specification file mymodel.inp, then:
fue mymodel
fue mymodel -f 12
fuf forecast_mymodel
The src/ directory of the companion fue-1.13 release contains a sample
examples/PU.1.inp file with US CPI data from January 2000 to December 2008.
Settings→Configure Kile...→Build→New Tool...- Name:
FUE; type:<Custom> - General tab: Command =
fue, Options ='%S' - Advanced tab: Type =
Run in Konsole; Source Extension =inp; Target Extension =out - Menu tab: Add to Build menu =
Other
David E. Guerrero — davidesg@ucm.es