Page 1 of 1

Deterministic shocks from data file. It is possible?

PostPosted: Fri Apr 01, 2016 2:40 pm
by diego.gomes
Hi all!

I have a deterministic growth model and want to consider many shocks to the exogenous variables. I know I can put these shocks by hand. However, the code becomes very inelegant.

Is there a way to load the shock values from a data file?

Attached is my code. Look at the shocks block to see how many shocks I have.

Best to all.

Re: Deterministic shocks from data file. It is possible?

PostPosted: Fri Apr 01, 2016 3:21 pm
by jpfeifer
Yes. See
Code: Select all
initval_file

in the manual.

Re: Deterministic shocks from data file. It is possible?

PostPosted: Fri Apr 01, 2016 4:12 pm
by diego.gomes
Thanks jpfeifer!

Could you please show me a piece of code using this command? In the manual there is no example using this command.

Best.

Re: Deterministic shocks from data file. It is possible?

PostPosted: Fri Apr 01, 2016 4:32 pm
by jpfeifer

Re: Deterministic shocks from data file. It is possible?

PostPosted: Fri Apr 01, 2016 8:34 pm
by diego.gomes
Thanks! I will take a look!