tests/estimation/heteroskedastic_shocks/fs2000_het_XFAIL2.mod
raw| 1 | // See fs2000.mod in the examples/ directory for details on the model |
| 2 | // Tests that setting scale and value in same period for same shock is correctly filtered out |
| 3 | |
| 4 | @#include "fs2000_het_model.inc" |
| 5 | |
| 6 | shocks; |
| 7 | var e_a; stderr 0.014; |
| 8 | var e_m; stderr 0.005; |
| 9 | end; |
| 10 | |
| 11 | steady; |
| 12 | |
| 13 | check; |
| 14 | |
| 15 | options_.solve_tolf = 1e-12; |
| 16 | |
| 17 | heteroskedastic_shocks; |
| 18 | var e_b; |
| 19 | periods 100:120; |
| 20 | values 0.01; |
| 21 | |
| 22 | var e_a; |
| 23 | periods 100:120; |
| 24 | scales 0; |
| 25 | |
| 26 | // Wrongly set scale on top of value for the same shock and period |
| 27 | var e_a; |
| 28 | periods 110; |
| 29 | values 0.01; |
| 30 | end; |
| 31 | |
| 32 | estimation(order=1,datafile='../fsdat_simul',nobs=192,loglinear,mh_replic=0,smoother,filtered_vars,forecast=8,filter_step_ahead=[1:8],consider_all_endogenous,heteroskedastic_filter); |