Commit Graph

1423 Commits (3efe283bf026ccb055641aeb09568ea4e5cdd370)

Author SHA1 Message Date
Stéphane Adjemian (Hermes) d86e78ab01 Fixed dynamic model (julia output)
The number of columns in the Jacobian matrix is the number of endogenous
variables appearing at time t-1, t and t+1 plus the number of exogenous
variables.
2016-06-14 11:21:23 +02:00
Stéphane Adjemian (Hermes) 9ca893ca1d Added routines for steady state computation (julia). 2016-06-14 11:21:23 +02:00
Houtan Bastani ea4ec224e1 preprocessor: add all_values_required option to histval. closes #261 2016-06-02 12:57:11 +02:00
Stéphane Adjemian (Charybdis) 15f83d0e18 Added new option for setting weights in CPF algorithm. 2016-06-01 16:29:53 +02:00
Houtan Bastani 90a493ac98 preprocessor: fix bug in writing of temporary terms. closes #1201 2016-06-01 15:29:10 +02:00
Stéphane Adjemian (Hermes) 13ca15a278 Allow (S)EP with arbitrary sequence of innovations.
The third input argument of extended_path Matlab/Octave's routine is the
sequence of shocks (T*n array, where n is the number of exogenous
variables and T is the size of the sample). If the third argument is
empty, the (stochastic) extended path is run with gaussian
innovations (this corresponds to the previous behaviour).

TODO:
 - Fix the compatibility with ep.replic_nbr
 - Check the 'calibrated' mode.
2016-05-24 17:28:24 +02:00
Stéphane Adjemian (Hermes) b60bd7b36b Removed globals from extended_path routine. 2016-05-24 17:28:24 +02:00
Stéphane Adjemian (Hermes) 53747cb082 Fixed lmmcp option.
This option may be used in extended_path and perfect_foresight_solver commands.
2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Hermes) 8b084595e2 Added solve_algo as an option for perfect_foresight_solver. 2016-05-24 17:26:06 +02:00
Stéphane Adjemian (Hermes) 4658d81740 Add pointer to user written steady state routine. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 9c1739520b Bug fix in assert (Julia output)
Same as 4b830d29ed2d230908a1a5ec1c7badd29c7dc86a but for static model.
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 0398832e4f Assign parameter values in main julia module.
See PR #1102 by spencerlyon2.

Added support for filling in the model.params Vector.
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) cf9883ef61 Bug fix in assert (Julia output).
See PR #1102 by spencerlyon2.

size always returns a tuple, and we were comparing to an int. Dispatch restricts these arguments to all be vectors so length works here.
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) e65c4f970b Fixed indexing of params in steady state file. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) e44d90adc1 Fixed type issues.
params, exo_steady_state and steady_state are vectors not matrices!
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 2e8f528bef Cosmetic changes.
+ Renamed model as model_
+ Renamed options as options_
+ Renamed output as oo_
+ Also export oo_ and options_
+ Fixed typos in comments.
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) bcd39ef2f7 Made room for user written steady state file. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 96d538469c Added boolean variable for tracking if a steadystate block is present in the mod file. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 73787c0c16 Removed try-catch block. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 928b0a50a5 Fixed crash when steadystate block does not exist. 2016-05-23 13:48:19 +02:00
Johannes Pfeifer d9e22a149c Fix preprocessor renaming error introduced in b486ae4964 2016-05-22 11:41:54 +02:00
Stéphane Adjemian 0521aa4e09 Merge pull request #1188 from JohannesPfeifer/slice_marco
Add slice and factorization of posterior samplers
2016-05-22 01:45:14 +02:00
Houtan Bastani 5fcd502f3c preprocessor: allow comments in parallel config file. closes #1194 2016-05-20 17:22:26 +02:00
Houtan Bastani 2ce34e3207 preprocessor: replace obj_var_ with M_.osr.variable_indices and optim_weights with M_.osr.variable_weights. #948 2016-05-20 15:53:49 +02:00
Houtan Bastani 5fdd24ab8b preprocessor: add warning if more than one osr_params statement is encountered in the .mod file. #948 2016-05-20 15:46:33 +02:00
Houtan Bastani b486ae4964 preprocessor: make modifications to osr_params and osr_params_bounds output. #948 2016-05-20 15:43:12 +02:00
Houtan Bastani 8b85ca19bf preprocessor: support sub lists in posterior_sampling_opt option, hence removing tarb_optim. #1177 2016-05-19 14:37:05 +02:00
Houtan Bastani cf6e3cb14c preprocessor: rework posterior sampler options, #1177 2016-05-19 14:37:05 +02:00
Houtan Bastani 4ea52066b9 preprocessor: simplify a5590f7917 2016-05-19 12:10:19 +02:00
Houtan Bastani a5590f7917 preprocessor: fix bug in debian compilation 2016-05-19 12:06:53 +02:00
Houtan Bastani 6b7a77d5a9 preprocessor: replace no_2nd_order_params_derivs with params_deriv_order. #1187 2016-05-18 12:26:19 +02:00
Houtan Bastani 253e6c8dfb Revert "Revert "preprocessor: add option no_2nd_order_params_derivs. #1187""
This reverts commit c496d6f5ca.
2016-05-18 10:34:45 +02:00
Houtan Bastani 42895ce32c Revert "preprocessor: add params_derivs_order to identification and sensitivity. #1187"
This reverts commit 6192a6a776.
2016-05-18 10:33:45 +02:00
Houtan Bastani 6192a6a776 preprocessor: add params_derivs_order to identification and sensitivity. #1187 2016-05-17 17:18:16 +02:00
Houtan Bastani 4b71593b3c preprocessor: fix typo 2016-05-17 15:42:23 +02:00
Houtan Bastani c496d6f5ca Revert "preprocessor: add option no_2nd_order_params_derivs. #1187"
This reverts commit 024586fbb1.
2016-05-17 15:37:46 +02:00
Houtan Bastani 308828aa95 Revert "preprocessor: params_derivs_file: by default, compute second order derivs wrt params; simplify code; #1187"
This reverts commit 1442f83037.
2016-05-17 15:37:29 +02:00
Houtan Bastani 626f8af374 preprocessor: add analytic_derivation_mode option to identification and sensitivity. #1187 2016-05-17 15:32:51 +02:00
Houtan Bastani 7c00ae723e preprocessor: add analytic_derivation option to identification and sensitivity. #1187 2016-05-17 12:43:05 +02:00
Houtan Bastani 1442f83037 preprocessor: params_derivs_file: by default, compute second order derivs wrt params; simplify code; #1187 2016-05-13 10:48:49 +02:00
Houtan Bastani 024586fbb1 preprocessor: add option no_2nd_order_params_derivs. #1187 2016-05-12 14:40:28 +02:00
Houtan Bastani 9d26ab46e9 preprocessor: only compute first order derivatives w.r.t. parameters with identification. closes #1187 2016-05-12 12:02:34 +02:00
Houtan Bastani a4b6dfa3f3 preprocessor: interface for osr_params_bounds. #948 2016-05-10 18:01:00 +02:00
Houtan Bastani d5dff28704 preprocessor: fix bug introduced in c9ca46f228. Further simplify ParsingDriver::declare_nonstationary_var(). Closes #1184 2016-05-09 16:10:04 +02:00
Houtan Bastani 25121bca4f fix copyright dates 2016-05-04 16:05:31 +02:00
Michel Juillard 800d79d6e5 add option colormap for shocks_decomposition 2016-04-15 09:02:53 +02:00
Michel Juillard de567377c3 adding groups of shocks for shock_decomposition
consistency checks, documentation and test case
are still missing
2016-04-15 09:02:53 +02:00
Michel Juillard f6806bf8b8 fixed issue with auxiliary variables and external function 2016-04-09 09:23:17 +02:00
Stéphane Adjemian 056548ba76 Merge pull request #1152 from JohannesPfeifer/headers
Cosmetic changes to various function headers
2016-04-08 23:29:16 +02:00
Michel Juillard 3af546fa7a simplify writing of auxiliary variables definitions
This will fail if external function are used in
auxiliary variables definition
2016-04-08 09:33:57 +02:00