| 1 |
/* |
| 2 |
* Copyright (C) 1996-2011 Daniel Waggoner and Tao Zha |
| 3 |
* |
| 4 |
* This free software: you can redistribute it and/or modify |
| 5 |
* it under the terms of the GNU General Public License as published by |
| 6 |
* the Free Software Foundation, either version 3 of the License, or |
| 7 |
* (at your option) any later version. |
| 8 |
* |
| 9 |
* It is distributed in the hope that it will be useful, |
| 10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
* GNU General Public License for more details. |
| 13 |
* |
| 14 |
* If you did not received a copy of the GNU General Public License |
| 15 |
* with this software, see <http://www.gnu.org/licenses/>. |
| 16 |
*/ |
| 17 |
|
| 18 |
#ifndef __SBVAR_FORECAST__ |
| 19 |
#define __SBVAR_FORECAST__ |
| 20 |
|
| 21 |
#include "dw_switch.h" |
| 22 |
#include "dw_switchio.h" |
| 23 |
#include "VARbase.h" |
| 24 |
#include "VARio.h" |
| 25 |
#include "dw_histogram.h" |
| 26 |
|
| 27 |
TMatrix ForecastHistogramToPercentile(TMatrix F, int data, int horizon, int T, PRECISION percentile, TMatrixHistogram *histogram, TStateModel *model, int flag); |
| 28 |
TMatrixHistogram* forecast_percentile(int draws, FILE *posterior_file, int thin, int T, int h, TStateModel *model, int flag); |
| 29 |
TMatrixHistogram* forecast_percentile_regime(int draws, FILE *posterior_file, int thin, int s, int T, int h, TStateModel *model, int flag); |
| 30 |
void dw_sbvar_forecast_command_line(int nargs, char **args); |
| 31 |
|
| 32 |
#endif |