18.06.2013 Views

Measuring the Effects of a Shock to Monetary Policy - Humboldt ...

Measuring the Effects of a Shock to Monetary Policy - Humboldt ...

Measuring the Effects of a Shock to Monetary Policy - Humboldt ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

54 Bayesian FAVARs with Agnostic Identification<br />

This function allows <strong>the</strong> user <strong>to</strong> load a set <strong>of</strong> parameters <strong>to</strong> replicate <strong>the</strong> results <strong>of</strong> <strong>the</strong><br />

<strong>the</strong>sis or enter his own settings. All data is s<strong>to</strong>red in<strong>to</strong> <strong>the</strong> input.version structure.<br />

DO_INPUT_DATA.m<br />

Writes <strong>the</strong> Datasource in<strong>to</strong> input.data.<br />

DO_INPUT_SPECIFICATIONS.m<br />

The aim <strong>of</strong> this function is <strong>to</strong> set all specification parameters for <strong>the</strong> calculation process<br />

including <strong>the</strong> Gibbs Sampler and Impulse Response Analysis. All parameters are s<strong>to</strong>red<br />

in <strong>the</strong> input.specification structure.<br />

DO_INPUT_GENERATEXDATA.m<br />

This function returns <strong>the</strong> matrix input.xdata which is input.data excluding <strong>the</strong> data<br />

column <strong>of</strong> <strong>the</strong> perfectly observable that has pervasive effects on <strong>the</strong> economy.<br />

DO_INPUT_STARTINGVALUES.m<br />

Returns starting values for all variables included in <strong>the</strong> input.startingvalues structure.<br />

These are F, lam_f, lam_y, R, Phi_lags and Q.<br />

DO_CALCULATION.m<br />

In this function all calculation processes are started and <strong>the</strong>ir outputs are s<strong>to</strong>red. These<br />

processes are initialized by calling <strong>the</strong> functions DO_CALCULATION_SETMODEL, DO_CALCULATION_CREATEST<br />

DO_CALCULATION_GIBBS_SAMPLING and DO_CALCULATION_IR where <strong>the</strong> last two are <strong>the</strong><br />

main calculation processes. To save memory <strong>the</strong> data structure calculation is declared<br />

as global in all calculation functions. In this way all functions can refer <strong>to</strong> it as an input<br />

and output parameter without moving this big sized structure.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!