GAUSS Time Series#
A comprehensive time series analysis package for GAUSS, covering ARIMA/SARIMA, VAR/BVAR with stochastic volatility, structural identification, forecasting, and forecast evaluation.
Description#
GAUSS Time Series consolidates TSMT, SSLIB, and FANPAC into a single product. It provides:
Univariate models: ARIMA, SARIMA, ARIMAX with automatic order selection
Vector autoregression: OLS VAR, Bayesian VAR (Minnesota prior), BVAR with stochastic volatility
Structural identification: Cholesky IRF, generalized IRF, sign-restricted SVAR
Forecasting: Point, density, and conditional (scenario) forecasts
Model comparison: Marginal likelihood, Diebold-Mariano test, Model Confidence Set
Diagnostics: MCMC convergence (R-hat, ESS), forecast calibration (PIT)
Installation#
Please contact us for pricing and installation information.
Requires GAUSS v26 or higher.
Usage:
library timeseries;
Commands#
ARIMA / Univariate#
Fit ARIMA, SARIMA, or ARIMAX models with automatic or fixed order selection. |
|
Generate h-step-ahead forecasts with prediction intervals. |
|
Create control structure with default settings. |
|
|
Reprint estimation summary table. |
Return coefficient table as dataframe. |
VAR Estimation#
Fit VAR(p) by OLS with stability diagnostics. |
|
Fit Bayesian VAR with conjugate Minnesota or flat prior. |
|
Fit BVAR with stochastic volatility and optional SSVS variable selection. |
|
Select lag order by AIC, BIC, or Hannan-Quinn. |
|
Optimize Minnesota hyperparameters via marginal likelihood (GLP 2015). |
Forecasting#
Point forecasts with confidence intervals from VAR. |
|
Posterior predictive forecasts with credible bands. |
|
Density forecasts from SV-BVAR with time-varying volatility. |
|
Conditional (scenario) forecasts with hard constraints. |
Impulse Responses & Structural Analysis#
Orthogonalized (Cholesky) impulse response functions. |
|
Posterior IRF bands from SV-BVAR draws. |
|
Generalized IRF (Pesaran & Shin 1998), ordering-invariant. |
|
Forecast error variance decomposition. |
|
Historical decomposition into structural shock contributions. |
|
Reshape IRF results into plot-ready dataframe. |
SVAR Identification#
Find a sign-restricted structural rotation. |
|
Posterior sign-restricted IRF, cumulative IRF, and FEVD bands. |
Diagnostics#
MCMC convergence diagnostics (R-hat, ESS, acceptance rates). |
|
Multi-chain convergence diagnostics. |
|
|
Reprint diagnostics summary. |
Granger causality F-test. |
Forecast Evaluation#
Compute scoring rules (RMSE, MASE, sMAPE). |
|
Diebold-Mariano test for equal predictive ability. |
|
Clark-West test for nested model comparison. |
|
Model Confidence Set (Hansen, Lunde & Nason 2011). |
|
PIT calibration tests (KS, chi-squared, Berkowitz). |
|
PIT histogram bin counts. |
Utilities#
Extract companion matrix, eigenvalues, and stability indicator. |
|
Return coefficient table as dataframe. |
|
|
Reprint estimation summary for any result type. |
Seasonal-Trend decomposition via LOESS (STL). |
|
Compute RMSE, MASE, and sMAPE. |
Control Structure Creators#
Create |
|
Create |
|
Create |
|
Create |
|
Create |