| 1 |
// Test estimate_initial_states_diffuse_prior option with slice sampler |
| 2 |
// Based on fs2000 model |
| 3 |
|
| 4 |
@#include "fs2000.inc" |
| 5 |
|
| 6 |
stoch_simul(order=1,periods=200,nomoments,nofunctions,irf=0); |
| 7 |
send_endogenous_variables_to_workspace; |
| 8 |
datatomfile('fsdat_simul',{'gp_obs','gy_obs'}) |
| 9 |
|
| 10 |
estimation(order=1,datafile=fsdat_simul,nobs=192, |
| 11 |
mh_replic=50,mh_nblocks=1,mh_drop=0.2, |
| 12 |
mode_compute=0, |
| 13 |
posterior_sampling_method='slice', |
| 14 |
estimate_initial_states_endogenous_prior, |
| 15 |
smoother, filtered_vars, consider_all_endogenous |
| 16 |
); |