Commit Graph

77 Commits (024ea6973e84cdc3ba74ae8e1b58d75150074b33)

Author SHA1 Message Date
Johannes Pfeifer 15f0353d02 Make sure repeated runs of stoch_simul.m with loglinear option do not crash due to logged steady state 2014-01-29 19:52:20 +01:00
Johannes Pfeifer 3da8e92aa5 Fix option loglinear for stoch_simul.m by also logging steady state.
Must be done to assure correct simulations and output of moments. Cannot be done in the solver itself as estimation performs logging of steady state also outside of solver
2014-01-29 19:39:00 +01:00
Johannes Pfeifer dfd9e3819b Filter out use of loglinear with simulated moments
Does not work because steady state is not logged
2014-01-29 19:20:52 +01:00
Johannes Pfeifer c9ebe21faf Harmonize plotting of IRFS
In stoch_simul.m IRFs were only printed if they were not flat instead of checking whether the IRF is different from 0. Unit root responses were thus filtered out, e.g. C=0.2 for all t was not displayed.
2013-12-05 17:46:38 +01:00
Sébastien Villemot d8d0f2b8cc Revert cosmetic change of 4fa2d5b 2013-11-29 23:09:51 +01:00
Stéphane Adjemian (Scylla) 4fa2d5b8e9 Added comments and cosmetics. 2013-11-28 10:57:54 +01:00
Stéphane Adjemian (Scylla) ee91c7654f Return a human readable message error if order=0 (stoch_simul). 2013-11-28 10:51:20 +01:00
Johannes Pfeifer fe24f80066 Add debugging information for not displayed IRFs due to size 2013-10-12 10:42:16 +02:00
Johannes Pfeifer 65a16fd293 Allow users to determine the threshold below which IRFs are suppressed.
- Prepares moving future IRF options to a substructure
- Adds new option for determining threshold
- Harmonizes threshold values across estimation and stoch_simul
- Fixes some header typos
2013-10-12 10:38:47 +02:00
Johannes Pfeifer 4b060c47d2 Add more information when IRFs are not displayed due to explosive simulations 2013-10-02 09:50:31 +02:00
Johannes Pfeifer ea5ee4722b Reintroduces nofunctions option mentioned in the manual that got somehow lost 2013-09-10 16:35:50 +02:00
Stéphane Adjemian (Charybdis) 4052d4ccaf Cosmetic changes. Use skipline() instead of disp(' '). 2013-07-10 17:12:34 +02:00
Stéphane Adjemian (Charybdis) cb2228acad Merge branch 'master' into experimental-mjdgges-threshold 2013-06-12 17:27:25 +02:00
Sébastien Villemot 61485ab809 Fix copyright notices 2013-06-12 17:04:46 +02:00
Stéphane Adjemian (Charybdis) 8574dfd053 Adapted print_info routine. 2013-06-12 10:54:33 +02:00
Johannes Pfeifer 1883eb092b Clarify theoretical second moments for order=2
Eliminates warning message introduced in
4c8f3a89cc
Adds hint to approximation in table title and adds the information with
a reference to Kim/Kim/Schaumburg/Sims (2008) to manual.
closes #278
2013-03-18 22:58:06 +01:00
Johannes Pfeifer 98ec0095df Add warning for variance decomposition at order=2
At order=2, the variance decomposition is still based on order=1. This
commit introduces a warning. See issue #278
(https://github.com/DynareTeam/dynare/issues/278). This information that
the variance decomposition is only triggered at periods=0 has been added
to the manual.
2013-03-17 23:36:43 +01:00
Sébastien Villemot c121aa14b1 Remove oo_.dr.{nstatic,npred,nboth,nfwrd,nspred,nsfwrd}
Replace them by equivalents in M_ (and an extra one: M_.dynamic).

IMPORTANT POINT: oo_.dr.npred used to count both purely backward and mixed/both
variables. This was the cause of lots of confusion. The new M_.npred only
counts purely backward variables.

We now have the following indentities:

M_.npred + M_.nboth + M_.nfwrd + M_.nstatic = M_.endo_nbr
M_.nspred = M_.npred + M_.nboth
M_.nsfwrd = M_.nfwrd + M_.nboth
M_.ndynamic = M_.npred + M_.nboth + M_.nfwrd
2012-11-16 20:05:13 +01:00
Stéphane Adjemian (Charybdis) a05b9d6a8a Removed globals from simult. 2012-07-03 11:29:18 +02:00
Stéphane Adjemian (Charybdis) 1fb89a07e9 Removed global from set_state_space. 2012-07-03 11:29:18 +02:00
Stéphane Adjemian (Charybdis) fcd016dc25 Removed global from check_model routine. 2012-07-03 11:29:18 +02:00
Sébastien Villemot 1f9cea669a Update copyright notices 2012-06-08 18:22:34 +02:00
JohannesPfeifer c0624738c9 Fixed bug introduced in bda0b1b228
Created separate field options_.SpectralDensity.trigger to trigger Spectral Density
2012-04-26 08:48:31 +02:00
Johannes Pfeifer 4c255cf2ae Starts implementing Ticket 216. Most plotting and figure is now controlled by the functions dyn_figure and dyn_saveas, allowing for option_.nodisplay to suppress the displaying of figures and using options_.graph_format to control the format of saved figures. 2012-04-25 11:47:40 +02:00
Michel Juillard 80ca47d62a Merge remote-tracking branch 'local_master/master' into dr1break 2011-12-31 10:10:41 +01:00
Sébastien Villemot 30cbcdbb55 Store histval information for endogenous in M_.endo_histval
Really closes: #157
2011-12-28 11:35:22 +01:00
Sébastien Villemot a2061b6f4e Initialize empirical simulations with information provided in histval
Closes: #195, #157
2011-12-21 18:37:45 +01:00
Michel Juillard 10c6978369 minor modifications + headers for new functions 2011-12-19 22:33:25 +01:00
Michel Juillard 7c62fafe0c Merge branch 'master' into dr1break 2011-12-10 20:10:31 +01:00
Sébastien Villemot 7a16ab15fe No longer report momemts in stoch_simul with order>=3 if periods not specified
Previously Dynare was reporting dummy theoretical moments
2011-10-27 18:03:42 +02:00
Stéphane Adjemian (Scylla) d76273f7c0 Fixed bug introduced while removing globals from resol.m. 2011-09-17 15:19:52 +02:00
Stéphane Adjemian (Scylla) 24cd423671 Removed globals from resol.m (changed calling sequence). Added texinfo header.
Removed trailing whitespace.
2011-09-17 12:53:38 +02:00
Houtan Bastani 865dcb57f8 IRF: add an option to limit the exogenous shocked in the computations (ticket 114) 2011-03-31 17:04:16 +02:00
Houtan Bastani d70b02d319 removed unused variable 2011-03-31 16:36:03 +02:00
Michel Juillard e029d46697 adding discretionary policy for linear quadratic models, thanks to code provided by Junior 2011-03-13 21:19:55 +01:00
Jacob Smith dc275f4af4 Moved the TeX file closing statement outside of loop, to fix a problem with non existant file id in producing TeX output in stoch_simul 2011-02-09 09:21:03 -05:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
Sébastien Villemot 757a9067c0 Global reindentation of MATLAB files 2011-02-04 17:17:48 +01:00
Michel Juillard 256ff761e8 stochastic simulations: fix the number of generated data to be exactly options_.periods
added ./tests/simul
2011-01-02 16:55:15 +01:00
Michel Juillard dcc46959b4 The default for options_.qz_criterium is now different for different contexts:
qz_criterium = 1+1e-6
- stoch_simul
- osr
- check
- dynare_estimation_1 with lik_init =2 or 3
qz_criterium = 1+1e-6 for dynare_estimation_1 with lik_init = 1

This correct a bug in estimation and computation of the posterior distribution of moments of endogenous variables when the priors permit roots too close to 1.
2010-12-23 08:34:13 +01:00
Ferhat Mihoubi ffaec7ba89 - First elements needed for stochastic simulation of a block decomposed model 2010-11-25 16:11:27 +01:00
Stéphane Adjemian (Charybdis) e614227c3f Added warning message when some of the deep parameters are not initialized. 2010-11-17 17:09:39 +01:00
Houtan Bastani a20bc07fdf replace deprecated Matlab function strvcat with char 2010-09-27 16:11:14 +02:00
Michel Juillard f48910aca9 set_state_space is now called by stoch_simul 2010-07-09 12:54:06 +02:00
Sébastien Villemot 7f5f99b43e stoch_simul: force order=1 with partial_information 2010-03-29 12:44:38 +02:00
Michel Juillard e405f17c8a additional fixe to partial information:
- partial_information is a LOCAL option that must be repeated in all instructions
 - when VAROBS is empty, one assumes full information (all endogenous variables are observed)
 - allusion to SIMULATED variables is removed from the title of the tables
2010-03-25 11:20:34 +01:00
George Perendia 0be001d194 Tidying up Partial information extension to stoch_simul, PCL_Part_info_irf.m and PCL_Part_info_moments.m 2010-03-24 23:26:05 +00:00
Sébastien Villemot 6bb4ec4d9b Fixed bug in stoch_simul related to the variable list 2010-03-24 12:54:02 +01:00
Michel Juillard b261eb0ba2 integration of partial information in stoch_simul (thanks to George, Joe and Paul) 2010-03-23 11:09:59 +01:00
sebastien 1be52aaa5f Beautification: removed tabulation characters which were left in previous beautification pass
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3300 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-05 10:46:10 +00:00