SsfPack Getting Started
SsfPack Getting Started
October 7, 2008
1 Introduction
SsfPack is a suite of routines that allows Ox programs to carry out computations involving the statis-
tical analysis of univariate and multivariate models in the linear Gaussian state space form. SsfPack
allows for a full range of different state space forms: from a simple time-invariant model to a compli-
cated time-varying model.
The documentation for Ssfpack is provided in:
Koopman, S.J., N. Shephard and J.A. Doornik (1999) Statistical algorithms for models in state
space using SsfPack 2.2 Econometrics Journal, 1999, 2, p.113-166.
See doc/SsfPackV22.pdf.
Koopman, S.J., N. Shephard and J.A. Doornik (2008) SsfPack 3.0: Statistical algorithms for
models in state space, London: Timberlake Consultants Ltd.
2 SsfPack 3 versions
There are two versions of SsfPack 3:
SsfPack Basic
This provides the basic functionality, as discussed in Koopman, S.J., N. Shephard and J.A.
Doornik (1999).
SsfPack Extended
This is the professional version of SsfPack. The SsfPack Extended version includes the func-
tionality of the SsfPack Basic version. In addition to that, it contains algorithms that are compu-
tationally more efficient, and allows for exact treatment of the diffuse conditions for the initial
state vector.
1
SsfPack
Basic SsfPack Extended
Free for academic use only
Includes book
Available from Timberlake Consultants
Basic examples
Extended examples
Windows (32-bit)
Windows (64-bit)
OS X
Linux (32-bit)
Linux (64-bit)
Other platforms on request
AddSsfReg
GetSsfArma
GetSsfReg
GetSsfSpline
GetSsfStsm
KalmanFil
KalmanSmo
SimSmoDraw
SimSmoWgt
SsfAbout
SsfCondDens
SsfLik
SsfLikConc
SsfLikSco
SsfMomentEst
SsfRecursion
SsfVersion
SsfWarning
SsfWeights
GetSsfSarima
KalmanFilEx
KalmanFilMeanEx
KalmanFilSmoMeanEx
KalmanInit
KalmanSmoEx
KalmanSmoMeanEx
SsfBootstrap
SsfCondDensEx
SsfForecast
SsfFreqGain
SsfLikConcEx
SsfLikEx
SsfLikMulti
SsfLikScoEx
SsfMomentEstEx
SsfMomentEstMulti
SsfSignalEst
SsfSimObs
SsfSimState
SsfWeightsEx
2
3 SsfPack Extended Installation
3.1 Windows Vista, Windows XP, Windows 2000
First ensure that Ox Professional is installed.
Insert the SsfPack CD. If Autorun is on, the installation program is started automatically. Other-
wise start ssfpackex300.exe from the root folder of the CD.
By default, installation is to C:\Program Files\OxMetrics5 (or your language-specific
location for program files). You may choose another location for the OxMetrics5 folder, but the
selected folder must hold the Ox tree (by default, Ox would be in installed into
C:\Program Files\OxMetrics5\ox).
1. Unzip ssfpack ex 30.zip (or a newer version if available) to the ox/packages folder.
The default packages folder of Ox is:
2. Check that there now is a packages/ssfpack folder in your ox folder which holds ssfpack ex.h
(among other files).
The zip file contains the dynamic-link library for several platforms:
3
ssfpackex 64.so - Linux 64-bit
ssfpackex osx.so - OS X
Installation steps:
1. Put ssfpack basic 30.zip (or a newer version if available) in the ox/packages folder,
and unzip from there. The default packages folder of Ox is:
2. Check that there now is a ox/packages/ssfpack folder in your ox folder which holds
ssfpack.h (among other files).
The zip file contains the dynamic-link library for several platforms:
ssfpack osx.so - OS X
4
5 SsfPack folder structure
The OxMetrics folder structure is as follows:
#include <packages/ssfpack/ssfpack_ex.h>
#include <packages/ssfpack/ssfpack.h>