Debian Codegraph @

contrib/ms-sbvar/switch_dw/state_space/dw_state_space_impulse_response.h

raw
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 __STATE_SPACE_IMPULSE_RESPONSE__
19 #define __STATE_SPACE_IMPULSE_RESPONSE__
20
21
22 #include "dw_matrix.h"
23 #include "dw_switch.h"
24
25 int dw_state_space_impulse_response_states(TMatrix IR, int *S, int h, TStateModel *model);
26 int dw_state_space_impulse_response_observables(TMatrix IR, int *S, int h, TStateModel *model);
27
28 int dw_state_space_impulse_response_states_percentile_regime(FILE *f_out, int s, TVector percentiles, TMatrix posterior_draws,
29 int thin, int h, TStateModel *model);
30 int dw_state_space_impulse_response_observables_percentile_regime(FILE *f_out, int s, TVector percentiles, TMatrix posterior_draws,
31 int thin, int h, TStateModel *model);
32 int dw_state_space_impulse_response_states_percentile_ergodic(FILE *f_out, TVector percentiles, TMatrix posterior_draws,
33 int thin, TVector init_prob, int h, TStateModel *model);
34 int dw_state_space_impulse_response_observables_percentile_ergodic(FILE *f_out, TVector percentiles, TMatrix posterior_draws,
35 int thin, TVector init_prob, int h, TStateModel *model);
36
37 #ifdef __cplusplus
38 }
39 #endif
40
41 #endif