Commit Graph

1251 Commits (e6f1a53e6059afc5bc501768c34bac13903070e2)

Author SHA1 Message Date
sebastien c01a3c134b Reindented the reference manual (using Emacs' nXml mode, except for <programlisting> tags which are messed up by the autoindent)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3248 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 15:35:53 +00:00
sebastien aa23ed73e9 preprocessor + bytecode DLL: various enhancements to block and bytecode options (changes by Ferhat)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3244 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 13:21:31 +00:00
michel 9f57f73d74 4.1: shortcircuit simplified code for backward models when order > 1
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3243 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-15 15:07:48 +00:00
michel 28f5c66f5d 4.1: fixing bug in estimating backward models with loglinear option
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3242 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-15 14:12:53 +00:00
michel 0cf6180bb8 4.1: removed commented out code
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3241 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-15 13:33:03 +00:00
sebastien cf77c3f245 * Fix USE_DLL option at order 2 (closes #64)
* Added a corresponding test


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3236 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-14 11:06:29 +00:00
sebastien c5e0868db8 simultxdet.m: fixed bug when var_list is not equal to the set of all endogenous
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3234 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-14 09:17:55 +00:00
stepan 90f5ab741b * Added number of particles (10;-) when calling monte_carlo_gaussian_particle_filter from particle/DsgeLiklihood.
* Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3233 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-11 22:25:56 +00:00
fred b8db5a23a1 latest version ; still buggy
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3232 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-11 17:12:49 +00:00
fred ae72c409d6 first try for particular filter
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3222 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-11 11:49:02 +00:00
michel 74a8acc29c 4.1 adding instruments option to ramsey_policy; ramsey_policy can now use a *_steadystate.m file
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3219 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-10 14:59:32 +00:00
sebastien 728fb07d34 mjdgges.m: improve warning message
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3215 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-09 09:36:54 +00:00
sebastien 20d4107493 qz/mjdgges.m: under Octave, warn users if some eigenvalues are > 1.0 but <= qz_criterium in modulus (Octave can't change the criterium)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3206 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-08 09:36:03 +00:00
michel cf933608d0 4.1: solution for QZ in Octave (to be tested)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3202 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 12:25:24 +00:00
sebastien c402bd8969 qz/mjdgges.m: fail under Octave, since Octave can't compute a complex QZ
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3201 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-07 11:34:54 +00:00
george a5dad180ca opt taken out
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3193 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-03 09:58:58 +00:00
george 95f36d5d68 yss error taken out
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3192 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-03 09:37:06 +00:00
george aa6cf78250 Adding loglinear correction and the 2nd output argument for the 1st order as there must be 1+order output variables
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3191 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-03 08:14:10 +00:00
sebastien ee3ceb7db6 M-files and preprocessor:
* removed "options_.simul", and instead test if "options_.periods" is non-zero
* test for the incompatibility of options "periods" and "hp_filter" in "stoch_simul.m", instead of in the preprocessor
Reference manual:
* removed "simul" options, updated "periods"
* updated "order" option (for 3rd order)
* added "k_order_solver" option
* give some hints for installing a compiler for users of MATLAB for Windows


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3188 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 17:51:47 +00:00
sebastien 59ca45e4f4 Removed last remnants of "ct_" global variable
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3187 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 16:30:56 +00:00
michel 9d977e720b SWZ: updating SWZ test file tests/swz/test1.mod
removing useless function


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3184 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 14:05:41 +00:00
michel d37763635b SWZ: adding identification/upper_cholesky.m
cleaning up code


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3183 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-01 13:52:52 +00:00
michel 48dad3e37a 4.1: add preprocessor interface for k_order_solver
rename use_k_order to k_order_solver in Matlab procedures
     fix tests


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3179 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 19:54:45 +00:00
stepan 9a23cee31c * Changed name of ct_ --> options_.terminal_condition. The default value is zero
(the terminal condition is y_{T} = y^{\star}), other possible values
  are  1  (terminal  condition   is  y_{T+1}=y_{T})  and  2  (terminal
  condition is  y_{T+1}=TransitionMatrix*y_{T}, where TransitionMatrix
  is given by the first order approximation of the reduced form model).
* Added mode options_.terminal_condition=2 in perfect_foresight_simulation.m.



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3176 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-30 16:24:57 +00:00
michel d2b1765c48 v4.1: changing Matlab routines for results display and simulation at order = 3
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3173 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-29 21:05:16 +00:00
michel 1820b3a4fb v4.1: remove matlab/kordpert not need anymore
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3172 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-29 21:02:52 +00:00
michel a715408698 v4.1: Matlab routines for k_order_perturbation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3171 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-29 21:01:40 +00:00
stepan e8b6a04e97 * Cosmetic changes.
* Do not compute B if not needed.



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3167 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-25 12:05:31 +00:00
sebastien a2cef7009d Fixes for ticket #57
preprocessor:
* add a field "M_.orig_endo_nbr" containing the nbr of endogenous before adding aux vars
* always provide "M_.aux_vars" (define it to "[]" when there is no aux var)
* rename "M_.aux_vars().orig_endo_index" to "M_.aux_vars().orig_index"

M-files:
* for commands which accept a list of variables (stoch_simul, osr, estimation, dynasave, dynatype, datatomfile), when no variable is given, use only the set of original endogenous (without aux vars) as the default
* when displaying the decision rule, when there is aux vars in the state variables, replace them by their original name (with the right lag)
* in "steady", don't display aux vars
* special exception for ramsey policy: all vars (including aux vars) are displayed, because the system of aux vars from ramsey policy is not compatible with the aux vars from the preprocessor


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3166 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-25 10:22:39 +00:00
sebastien 6e8cc2e8db forecast_graphs: force creation of subdirectory for storing graphs
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3165 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-25 09:52:54 +00:00
sebastien 5616f1f2a8 homotopy mode 2: replaced use of strtrim() by deblank(), for compatibility with older MATLAB
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3164 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-24 11:30:08 +00:00
sebastien dbff434fc1 dynare_config.m: reflect the fact that 64-bit DLLs need to be recompiled between 7.2 and 7.3
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3163 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-23 15:16:43 +00:00
sebastien c121d7a4d1 writedata.m: fail if using Octave or MATLAB 6.5, which don't have xlswrite
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3162 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-23 15:16:16 +00:00
michel edb717c1c9 4.1: factoring the code for Model Summary
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3161 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-22 16:51:36 +00:00
sebastien 9262cf34d5 Fixed name of MEX for MATLAB directory (goes back to 6.5)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3156 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-17 19:01:59 +00:00
stepan 7e463facf6 * Increase size of homotopic steps if all goes well.
* Break Newton loop if err is NaN or if err is increasing (save useless iterations).



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3152 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-17 10:58:19 +00:00
stepan 55272c010e * Cosmetic changes.
* Added verbose mode.
* Changed the initialization of the homotopic mode.



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3151 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-13 17:06:30 +00:00
stepan c393fa92e4 Added homotopic steps on the size of the shocks.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3148 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-13 14:18:01 +00:00
sebastien 7085060e82 parallelization system:
* documented the functions masterParallel, fParallel and struct2local
* removed useless comments, and added some comments inside the code


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3146 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-10 18:29:56 +00:00
sebastien d17b813c6b Removed wrong executable property
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3142 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-09 11:01:59 +00:00
stepan facc7311a8 Bug fix. Changed the call to the particle filter routine.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3139 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-08 13:47:12 +00:00
stepan 2063c0944f * Removed simult_ and added local_state_space_iteration_2 (a specialized version of simult_).
* Renamed gaussian_particle_filter.m. Changed the names of the variables in this file. The 
gaussian nodes are not stored anymore in a big matrix.
* Added a function to compute the cholesky decomposition of a symetric semidefinite positive
matrix.  



git-svn-id: https://www.dynare.org/svn/dynare/trunk@3138 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-08 13:46:05 +00:00
stepan 98ac3091c9 Added a vector of indices for the state variables in the restricted state vector (bayestopt_.mf0).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3132 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-06 14:03:50 +00:00
sebastien 04d5c56b20 dynare_config.m: test presence of dynare_simul_ DLL and display the result
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3131 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-06 12:03:19 +00:00
sebastien 30d2f00cc2 Reorganized the directory hierarchy for storing MEX files for MATLAB:
* mex/matlab/ is now the default location
* removed mex/2007a, mex/2007b and mex/2009a-64bit
* on Windows platforms, use version specific subdirs of mex/matlab if present (called win32-6.5.1-7.4, win32-7.4-7.9, win64-7.2-7.4, win64-7.5-7.7, win64-7.8-7.9)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3123 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-04 10:56:37 +00:00
ratto d9ea204fc5 File names should correspond to varlist and not to endo_names
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3122 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 15:21:30 +00:00
stepan 3a137c3eaa Added files for extended path simulations.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3120 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 13:45:52 +00:00
stepan b6d5369421 * Added files for extended path simulations.
* Removed seed from gaussian_particle_filter.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3118 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 12:27:22 +00:00
stepan 37144125fc Added simult_ and DsgeLikelihood routines specific to the particle filter.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3110 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-31 07:55:16 +00:00
stepan 11bb96f19b * Added subfolder for particle filters.
* Added a routine for gaussian particle filter. The likelihood is evaluated
by assuming that the state vector is normally distributed.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@3109 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-31 07:55:13 +00:00