Commit Graph

1258 Commits (0011678cb5e7ed5f7a72507f11ee5884fd1db4c8)

Author SHA1 Message Date
ratto 4b850c0db3 Use of filesep utility for compatibility with Octave for Windows.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2739 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 07:21:55 +00:00
sebastien cd49809994 trunk: build system updates
* version number set to "4.1-unstable" in the configure.ac file
* the configure script generates dynare_version.m
* the configure script generates windows/dynare-version.nsi, for the windows installer


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2735 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-08 16:43:24 +00:00
ferhat 6479edf5a7 - Correction of several bugs
- normalize an equation linear in its endogenous variable
- Chained rule derivatives (necessary to reduce a block to the feedback equations and variables)

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2726 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-05 14:45:23 +00:00
stepan d67f1ecdb1 + Added comments.
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2725 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-05 10:25:45 +00:00
stepan a9d7088ced Added new tool. When using the instruction get_prior_info(2) in the mod file (after the
definition of the priors) Dynare tries to compute the prior mode using
Chris Sims' optimization routine.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2724 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-05 10:16:31 +00:00
stepan 7691c17b15 Added a new function to save all endogenous variables in matlab's base
workspace.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2723 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-05 09:39:48 +00:00
stepan 2dee7d4c9e Bug fix. The mode of the Inverted Gamma -- type 1 distribution was wrong.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2722 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-05 08:30:26 +00:00
stepan 38c7176206 Bug fix. Call to compute_prior_mode was buggy for gamma and beta
densities (lower and upper bound were missing).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2721 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-04 13:15:11 +00:00
stepan dedca98dba Added Posterior distribution of the conditional variance
decomposition (more tests are needed). 

The results are saved in oo_.PosteriorTheoreticalMoments.dsge.ConditionalVarianceDecomposition. 

Contrary to the asymptotic variance decomposition, we do not report
contribution shares but contribution levels of each structural shock.

LIMITATIONS: 
* Won't work in a model with measurement errors.
* Won't work in a model with correlated shocks.
* The routines do not compute the covariance decompositions.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2719 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-03 14:50:02 +00:00
stepan d35d790789 Bug fix. To be merged with branches/4.0.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2717 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-02 14:36:42 +00:00
michel 3260ba476e 4.1 correcting bug for large values of start and fixed constants in lik. Still need to be tested
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2715 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-28 18:14:07 +00:00
ratto 63232d540a When parallel runs are local, bypass the use of ssh commands.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2710 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-28 07:56:27 +00:00
stepan 1db404680f Added vech and unvech operators.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2709 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 22:34:08 +00:00
ratto 78dc6afc8a sshfs mirror folder has to be specific for each remote process and remote CPU.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2708 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 16:31:45 +00:00
ratto 3000a1adcd pause(1) before deleting batch file in unix.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2707 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 16:31:06 +00:00
ratto 3a4b5eb8e1 parallelized version, working for win and unix.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2706 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 16:30:30 +00:00
ratto 7532957c4d unix: mount Master project folder using sshfs
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2705 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 15:56:45 +00:00
ratto ff22cece76 check for possible circular remote runs on the same local folder project
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2704 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 15:56:04 +00:00
michel 27387d5e10 4.1: changing handling of constants in Kalman filter
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2700 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 10:43:34 +00:00
ratto 111d0b0c2c 1) Full parallel structure passed to fmessage status;
2) unix path  syntax;


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2699 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 10:29:23 +00:00
ratto b181e6c0af unix commands added.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2698 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 10:28:28 +00:00
ratto ced9fc0d2a unix commands for remote parallel runs
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2697 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 10:28:04 +00:00
ratto 4fe32454f7 Unix commands for remote parallel runs.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2696 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 10:27:37 +00:00
ratto 5085a1785f - Allow parallel runs with unix;
- unix path syntax

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2695 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 10:26:45 +00:00
ratto 4c141a2044 - First unix platform fixes (working for parallel runs of the local machine; remote commands still to be implemented);
- avoid use of ls and  use dir instead (ls gives different results in win and unix);

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2693 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 06:57:18 +00:00
ratto c68ea2110a - Parallel info passed outside options_ structure;
- optional use of remote Mh folder;

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2692 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 06:50:07 +00:00
ratto 7c07a0dab5 Included check for existence of structure of Global variables
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2691 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 06:48:07 +00:00
ratto 490fc6a900 Single structure in output
(OutputFileName included in the structure).

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2690 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-27 06:46:47 +00:00
michel 02c7b204d8 4.1: allow smoother computation when mode_compute=0
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2685 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-23 15:49:00 +00:00
michel 10f712268e v4.1: header + reindent
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2684 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-20 16:28:46 +00:00
sebastien 6f5d4b3c95 trunk: fixed several copyright headers
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2681 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-19 08:57:07 +00:00
michel 12cf9afce4 4.1: header, indentation, Unix format
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2679 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-16 07:37:30 +00:00
ratto 2d846f0da7 1) Fixed problems in file exchange when multiple computers are used at the same time;
2) contains traps for unix, with commented instructions to be `translated' appropriately for the unix environment.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2677 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-15 16:38:18 +00:00
ratto 7243a36938 Parallelized version with main and core routine.
1) Contains a trap such that for unix systems no parallel computation is done, for the moment.
2) _core routine uses and stores independent seeds for each chain;
3) Seeds for each chain are stored in record.
4) when no parallel option is chosen, usual serial functionality is kept.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2676 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-15 16:36:51 +00:00
ratto c8329915b2 Seeds are always initialized and stored for each chain independently
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2675 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-15 16:33:20 +00:00
michel 58e512dd49 4.1: correcting a rarely occuring bug
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2672 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-13 19:58:28 +00:00
michel 2eed8a5fb2 4.1: corrected bug in initialization of horizon for case: 'simul'
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2669 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-12 20:34:23 +00:00
stepan ec4b45cc7c Bug correction (condition info==19 was not used in DsgeLikelihood and DsgeVarLikelihood).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2667 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-12 11:38:06 +00:00
ratto 74a2ffcd95 Implements new features:
-) defines globals;
-) passes local variables as argument to the core function;
-) retrieves output structure and passes to the MasterThread.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2666 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-08 15:25:33 +00:00
ratto 41f59bfb51 Initialize parallel structure at 0.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2665 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-08 15:23:51 +00:00
ratto e13b3917fb Utility converting structure fields in local variables with the same name as fields
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2664 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-08 15:23:18 +00:00
ratto b9eb917797 Message passing utility for parallel computing.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2663 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-08 15:22:32 +00:00
stepan 3dc04fba5f Save intermediary results of the MH-based optimization routine.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2662 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-07 15:20:08 +00:00
george 1b2b16db13 Extracting ghs2 from g_0
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2657 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-05 20:19:45 +00:00
michel 1b7df60410 4.1: initializing M_.params = [] for the case where there are no parameters declared in the model
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2656 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-05-04 19:31:48 +00:00
sebastien e9f59ebd51 trunk read_variables.m: fixed Octave compatibility problem
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2651 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 13:22:06 +00:00
sebastien 008fbff5c0 trunk dynare_config.m:
* fixed bug with Octave (under Octave, exist() return 2 instead of 3 if given the FULL path of a MEX)
* remove the path to MEX files if no MEX detected


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2648 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-29 11:35:05 +00:00
stepan 349630ba85 If option mode_file is used in the estimation command, replace the covariance of the
jumping distribution by an identity matrix when the covariance matrix obtained with 
a previous call to another optimization routine is not positive definite.  



git-svn-id: https://www.dynare.org/svn/dynare/trunk@2646 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 22:38:38 +00:00
george afb3cba759 Rationalised loops
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2644 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 17:03:54 +00:00
michel 76c426b76a 4.1: kordpert: renamed dr1_k_order.m to dr1.m in order to switch to k_order_perturbation by changing Matlab path
fixed bugs in reordering in kordpert/dr1.m


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2639 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-27 19:15:13 +00:00
michel 90e38a4e8b 4.1: simplication of sorting code for returning ghxx ghxu ghuu and ghs2 to Dynare
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2633 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-25 16:26:02 +00:00
michel 057e9b157a 4.1: renamed functions ramsey_static. -> dyn_ramsey_static_.m
ramsey_dynamic. -> dyn_ramsey_dynamic_.m


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2630 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-25 08:42:29 +00:00
george 4e9ec4602c Update: completed algorithm for unpacking g_2 into ghxx/xu/uu seems to works ok now
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2629 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-25 08:23:02 +00:00
sebastien 096b2f2541 trunk:
* created a directory "matlab/matlab", for functions missing under Matlab (but existing under Octave)
* created a directory "matlab/octave", for functions missing under Octave (but existing under Matlab)
* moved "mex/octave/rcond.m" to "matlab/octave/"
* moved "matlab/rows.m" to "matlab/matlab/rows.m" (Octave has builtin "rows")
* renamed "matlab/cols.m" to "matlab/matlab/columns.m" (Octave has builtin "columns")
* moved "matlab/distributions/toolbox" to "matlab/matlab/stats"
* adapted "dynare_config.m" to reflect these changes


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2628 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-24 16:08:27 +00:00
sebastien da6e5e6712 trunk: fix header of stoch_simul_sparse.m
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2626 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-24 15:15:50 +00:00
sebastien a47232a0f7 trunk: renamed table.m to dyntable.m (name clash with Octave's table)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2625 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-24 15:15:18 +00:00
george d0f72fd5cf Update of, not yet complete algorithm for unpacking g_2 into ghxx/xu/uu; works ok for ghxu and ghs2 but still not yet completely for ghxx and ghuu
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2624 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-24 07:59:27 +00:00
george 2053243f78 Update of, not yet complete algorithm for unpacking g_2 into ghxx/xu/uu; added logic for 2nd order derivative symmetry and some other improvements but still not finished yet
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2623 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-24 01:20:21 +00:00
george d7b8c64d8b Not yet working implementation of new MJ's Algorithm for unpacking g_2 into ghxx/xu/uu
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2622 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-23 17:00:39 +00:00
george e6324245be Minor update to retrieve 2nd order rule from perturbation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2620 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-23 14:27:27 +00:00
michel 08baf6dca5 v4.1: fixing bugs in table for posterior mean
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2615 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-22 21:34:45 +00:00
ratto 398f0af5f7 Generic engines for parallel coding in MATLAB.
Isolated functions so far.

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2612 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-20 12:15:34 +00:00
ratto 38ba90e004 Traps for bad x values in optimizer.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2611 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-20 12:09:44 +00:00
george f4d21cfdcf minor update
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2609 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-19 10:46:04 +00:00
sebastien db2bcba968 trunk: reverted r2572 changeset
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2601 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 14:07:57 +00:00
sebastien 6dc870727d trunk preprocessor:
* created a distinct expression tree for the static model (thus giving better sharing of sub-expressions and better computation of temporary terms for the static model)
* for that purpose, created StaticModel and DynamicModel classes (ModelTree still persists, but only contains code shared between StaticModel and DynamicModel)
* removed sparse static file (to be later replaced by new algorithm for steady state computation on large models)


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2592 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-14 14:39:53 +00:00
ferhat ca974cdf48 The sparse option in model is now compatible with homotopy => matlab commit
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2589 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-10 16:57:37 +00:00
michel d8c19044d2 4.1: sets natural boundaries when options_.prior_trunc == 0 (to be merged in 4.0)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2585 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-09 18:19:03 +00:00
sebastien af7bacdf94 trunk: adapted erase_compiled_function to deal with all possible MEX extensions
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2583 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-09 15:37:57 +00:00
michel e45bf380fa 4.1: modified csminwel.m to make sure to choose always the lowest point, even if it was reached before the last traversing
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2582 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-09 15:35:07 +00:00
sebastien c00e5ac992 trunk: fixed bug with USE_DLL and second order (Hessian matrix was not sparse)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2572 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-09 10:07:37 +00:00
sebastien 695a638f09 trunk: fixed bug with USE_DLL (stoch_simul was calling stoch_simul_sparse, because of wrong handling of options_.model_mode)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2571 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-09 10:02:45 +00:00
michel aa843c739d 4.1: corrected estimation results tables with long parameter names
added function row_header_width.m


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2570 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-08 20:04:19 +00:00
stepan 48b4d50f09 Removed the printed value of indx.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2568 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-07 22:12:50 +00:00
stepan 6cb41e0252 * Added info=19 in resol.m (problem in the steady state file).
* Bug fix in prior_sampler.
* Print  more informations  (BK conditions,  steadys state  or mjdgges
* problems...) when running get_prior_info.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2567 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-07 22:08:39 +00:00
george c497540e06 correction for hessian: the one from compiled <mod>_dynamic.dll is not sparse but
the one from the matlab version <mod>_dynamic.m is so we sparse it anyway to be able to pass it to sparse_hessian_times_B_kronecker_C


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2564 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-07 12:50:40 +00:00
stepan 4663cb473d Do not print the content of NumberOfElementsPerFile.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2563 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-07 11:17:56 +00:00
stepan ff38cbdd5d Bug fix.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2562 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-07 11:13:43 +00:00
michel 76080af7ec 4.1: dynare_estmation_1:
-removed saving of bayestopt_ in *_mode.mat
-added hooks for Gianni Lombardo's optimization routines

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2561 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-06 16:36:08 +00:00
michel cff38c00cf v4.1: initialize_from_mode doesn't need bayestopt_ anymore
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2560 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-06 16:33:42 +00:00
stepan 2083b59072 More robust version of get_name_of_the_last_mh_file.m.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2558 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-06 14:58:44 +00:00
stepan 2b0f2d5fd1 Do not print the message "The most negative..." if the hessian of
minus the posterior kernel is positive definite.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2557 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-06 14:48:30 +00:00
stepan aa31417a05 Efficiency & Cosmetic changes related to the design of bayestopt_ and
the computation of the prior density.

bayestopt_.p1 is always the prior mean
bayestopt_.p2 is always the prior standard deviation
bayestopt_.p3 is unchanged
bayestopt_.p4 is unchanged
bayestopt_.p5 [new field] is the prior mode
bayestopt_.p6 [new field] is the first hyper-parameter of the prior density
bayestopt_.p7 [new field] is the second hyper-parameter of the prior density
 
These fields are defined in  set_prior and are never changed after. In
the previous version of Dynare,  the hyper parameters of the densities
were  updated at  each iteration  of the  optimization routine  or the
metropolis.

Removed fields pmean and pstdev.

Vectorized the code in priordens.

Fixed the bug mentionned by Gianni. If a (logged) density is evaluated
outside the  prior domain, the  output of priordens if  minus infinity
(instead of a complex number).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2556 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-06 14:38:37 +00:00
stepan f02ea822ec Removed useless global.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2555 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-06 10:34:49 +00:00
stepan c42f33ff47 Bug fix + Cosmetic change. Do not compute the likelihood if the steady
state is complex.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2554 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-03 22:23:46 +00:00
stepan 22452f016e Speed up successive calls to lyapunov_symm by factorizing tests
(persistent variables are used).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2553 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-03 21:14:50 +00:00
stepan d9ba762623 Changes related to the multithreaded mex files (part III') Oups.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2552 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-03 11:13:42 +00:00
stepan 91a25ebead Changes related to the multithreaded mex files (part III). Moved
set_dynare_threads  in ./matlab/thread/multi (the  user has  no access
to this function if mex files are compiled without the openmp flag).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2551 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-03 11:12:21 +00:00
stepan 8ab8d2f067 Changes related to the multithreaded mex files (part II).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2550 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-03 11:07:19 +00:00
stepan fe7c01675a Changes related to the multithreaded mex files (part I).
* Removed from build_matlab.m the compilation of mex files with openmp.
* Added build_matlab_multithread.m (where openmp is used if availabe).
* Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2549 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-03 11:01:55 +00:00
michel 4a3baea105 v4.1: added check and penalty for complex steady state
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2548 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-02 13:40:56 +00:00
stepan 91fb6ee044 Use check (the second output of the steady state file) to pass a
penalty defined in the steady state file.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2547 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-02 13:24:41 +00:00
michel 9720af3354 4.1: model_diagnostics: added a test for singular Jacobian of the static model
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2546 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-02 13:22:41 +00:00
stepan c9d422972d Cosmetic change.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2544 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-01 10:08:03 +00:00
stepan af9d1fbb6a Bug fix. The DsgeSmoother was crashing when M_.exo_nbr=1. Added a new function that generalizes the matlab's squeeze
function (the problem is that squeeze does not affect 2D arrays).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2543 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-01 10:04:53 +00:00
stepan ec4cc46845 Bug fix. This version can be used in the estimated_params block.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2538 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-28 22:43:38 +00:00
stepan 448be1e6f2 Added new function. This function computes the mean of a prior
distribution (gamma, inverse  gamma 1 and 2, beta)  given the mode and
the variance.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2535 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-27 17:28:32 +00:00
sebastien f892795a54 trunk: fixed copyright headers in new files
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2532 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-27 14:39:26 +00:00
michel f7e2d17635 new function
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2528 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-26 16:33:24 +00:00
george bab59b7972 The block using bespoke eigs() is commented out because eigs() intermitently returns different rts
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2527 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-26 14:51:47 +00:00
michel d542e8610c v4.1: added functions for shock_decomposition consistent with smoother
Dynare interface is missing
      need to add mechanism for aggregating shocks


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2525 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-26 09:52:00 +00:00
michel 9e2f1bdc70 v4.1: started a diagnostics routine that performs tests that are too expansive
to run systematically


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2524 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-26 09:34:40 +00:00
michel 558dd91156 v4.1: removed error when a variable isn't present at the current period in the model
modified header


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2523 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-26 09:32:58 +00:00
michel ff473fedfd v4.1: adding penalty when Jacobian is complex
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2522 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-26 09:03:08 +00:00
sebastien b953c5cf31 trunk: removed useless global variable in sim1.m and simk.m (doesn't seem to affect performance)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2518 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-24 16:53:29 +00:00
sebastien 5ee346e4fd trunk: {load,save}_params_and_steady_state now use a text file for communicating (instead of a MAT-file)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2517 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-24 16:29:58 +00:00
michel 7d854cec94 4.1: fixed problem in AIM implementation when some lagged variables are present in the model but with zero coefficient.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2516 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-24 13:28:45 +00:00
michel e9d3793891 4.1: replacing 'message' by msg and initializing it
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2510 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-23 09:30:59 +00:00
ratto c198c52fbc fix when k-step ahead predictions are stored, with k>1, and one-step-ahead predictions have to be filled in stock1.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2509 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-23 09:29:11 +00:00
michel 67b89e7078 4.1: bug correction in Kalman smoother with missing observations
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2506 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-23 06:33:23 +00:00
stepan 4db8d566e3 Bug fix.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2505 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-22 10:27:38 +00:00
stepan be73652a97 If a dsge-var is estimated, the posterior IRFs are computed for all
observed endogenous variables. Merge Needed.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2503 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-21 22:36:18 +00:00
michel 6732f6e235 4.1: fixing bug: ri is a now a column vector, not a matrix anymore. [Needs to be merged in 4.0]
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2501 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-21 18:07:45 +00:00
stepan b1da38a542 Bug correction (reported by bigbigben).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2474 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-16 20:45:47 +00:00
michel 48d00e3a93 v4.1: Ondra's changes to make smoothing faster in large models. Still needs to be ported to other smoother routines
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2466 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-14 11:06:34 +00:00
stepan 43d3aebbc4 v4.1: Added a test for the existence of isopenmp mex file (this file
does not exist if the user did not run buil_matlab.m in ./mex/sources).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2457 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-13 13:28:24 +00:00
sebastien 0787228a9d trunk dynare.m: completed help message
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2456 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-12 11:20:49 +00:00
stepan 47a4550144 v4.1: "dynare help" issues dynare command synopsis and a description of the options.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2454 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-12 10:27:06 +00:00
stepan c8a86252c7 v4.1: Added the possibility of multithreading for some mex files
(OpenMp is used).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2453 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-11 14:57:34 +00:00
stepan 54f7a0376a v4.1:: Cosmetic changes.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2451 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-06 16:09:35 +00:00
stepan fd251e6bf7 v4.1:: Added a new function. Computes the autoregressive parameters of
an AR(p) stochastic process from an autocorrelation function. This
function is used  to define a prior over  the autocorrelation function
and variance of an autoregressive exogenous variable (productivity,...)
instead of  defining a prior over  the variance of  the innovation and
the autoregressive parameters. This can be done in the steady state file.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2450 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-06 16:08:15 +00:00
sebastien 161ff7483d trunk pm3.m: removed useless empty plot (thanks to Jamie Hall for reporting this)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2448 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-05 10:52:14 +00:00
george 7ac5750ac4 added options_.use_k_order=1
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2447 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-03 12:00:46 +00:00
george 68535ae212 passes mexext to k_order and reads and unpacks data passed back
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2446 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-03 11:14:36 +00:00
sebastien 7107df448c trunk pm3.m: fixed typo (thanks to Jamie Hall for reporting this)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2439 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-26 11:13:04 +00:00
sebastien 4d48c68913 trunk: added GPL header to describe_missing_data.m
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2435 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-20 16:58:47 +00:00
sebastien e287be53ca trunk: changed to GPL headers in Marco Ratto's files
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2433 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-20 16:53:09 +00:00
stepan 52458e94ff v4.1:: Removed the test for complex matrices E and D. Added a test for
complex numbers in the jacobian matrix.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2432 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-19 17:49:28 +00:00
stepan 0bb00c71eb v4.1::
+ Added new file for prior sampling (prior_sample.m). 
+ Undo previous change on prior_draw.m (transposition of pdraw).
+ Bug correction in prior_draw.m.
+ Added field in options_: the default number of mc simulations in the
prior distribution.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2431 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-19 16:27:04 +00:00
stepan 5f02e69a67 v4.1:: Added a test for complex numbers in matrices E and D before the
call to mjdgges.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2430 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-19 15:37:55 +00:00
stepan 476e2d847f v4.1:: Transposition of the output argument. pdraw is a column vector.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2429 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-18 11:19:29 +00:00
stepan 474fc0bd61 v4.1:: Removed useless global declaration.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2428 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-17 22:01:20 +00:00
stepan 7ceecc51b6 v4.1:: Changed header.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2427 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-17 20:17:52 +00:00
stepan 95b5c69c35 v4.1::
+ Removed input arguments 2 and 3.
+ Removed the prior bounds.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2426 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-17 20:07:37 +00:00
stepan 060f47c79c v4.1:: Added default domain for the gamma and inverted gamma
distributed random variables (instead of NaNs).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2425 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-17 17:23:07 +00:00
stepan 74c8e53140 v4.1:: Vectorization of the prior sampling algorithm.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2424 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-17 17:21:05 +00:00
stepan d082bc09b1 v4.1:: Added bounds to the uniform distribution (consistently with
the other prior distributions).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2423 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-17 17:19:47 +00:00
stepan 01ba142329 v4.1:: Changes related to the gamma variate generator.
+ Changed headers.
+ Allows vector of coefficients when calling the Beta random generator.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2422 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-17 16:00:40 +00:00
stepan a05b5e9481 v4.1:: Changes related to the gamma variate generator.
+ Added algorithms from Devroye (1986, chapter 9).
+ Now we can generate independent gamma variates (and, as a consequence, beta)
with parameter a  <= 0.5. This was not possible  with the algorithm of
the previous version.
+ Algorithms are specialized depending on fix(a)=a, a<1 or a>1.
+ This new version can handle  vectors for a and b (same length).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2421 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-17 15:22:58 +00:00
michel dc0f0934ce corrected bug in moments_varendo
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2420 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-16 22:19:23 +00:00
stepan 81af16d314 v4.1:: Added a function to test if a variable is integer.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2419 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-16 11:12:24 +00:00
stepan e1b8fb9bc4 v4.1:: Reparametrization of the exponential distribution.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2418 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-16 10:31:50 +00:00
stepan bce9aba538 v4.1:: Added a random number generator for the exponential distribution.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2417 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-16 09:55:30 +00:00
stepan e75b7f97ab v4.1:: Added an error message when minus the hessian matrix at the posterior
"mode" is not positive definite.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2416 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-12 17:40:26 +00:00
stepan ba080ab910 v4.1:: Changes related to lyapunov_symm.
+ Fixed a bug introduced in the previous commit.
+ Added a threshold parameter for the complex blocks in the upper
triangular matrix T in lyapunov_symm.m (new field in options_)
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2414 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-12 14:16:10 +00:00
stepan fe418672cd v4.1: Changes related to (posterior) 2nd order moments.
+ Efficiency changes:
++ Do not compute the variance decomposition if not needed.
++ Do not apply the Schur decomposition for each shock in case of a variance decomposition.
+ Bug corrections and cosmetic changes.
+ Corrections of some headers.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2411 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-10 21:10:11 +00:00
michel b0ea237ae3 another correction linked to cova_compute
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2408 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-08 16:53:40 +00:00
michel 6d3de73433 adding new function to initialize parameters from mode file
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2407 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-08 15:23:09 +00:00
michel c231868f5b corrected bug in handling of cova_compute
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2406 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-08 15:14:48 +00:00
michel 47c51d42cc added option to compute covariance matrix of coefficient (default = 1)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2405 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-08 09:23:31 +00:00
michel 4d99d4521a removed mode saving when no computation takes place (added in previous modification)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2404 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-08 09:16:33 +00:00
michel 73873d7b2c estimation: save bayestopt_ in *_mode.mat file
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2403 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-07 11:26:14 +00:00
ratto 80c69b42f8 fixed bug when saving simulation with replic>1
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2393 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-04 13:40:17 +00:00
stepan 1a9bc8c10d v4.1::
+ Removed useless call to check_list_of_variables in dynare_estimation_1.m
+ Removed bayestopt_ global structure from draw_prior_density.m

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2392 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-04 10:44:54 +00:00
michel 5f148e90f4 adding PLOT_PRIORS option, no plotting is the new default
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2391 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-03 14:10:16 +00:00
michel 25011b78f1 adjusting header and re-indenting file
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2390 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-03 09:21:45 +00:00
michel 8ff680b03a made it possible for data file name to contain a pathname
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2389 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-03 09:20:57 +00:00
george 60feef4a0a Prototype DR1 subset for running k_order_perturbation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2387 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-02 12:55:13 +00:00
ferhat 6e4e80785c All iterations are printed during the simulation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2385 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-30 11:06:28 +00:00
stepan 5c18a68ac3 v4.1:: The reported residuals are rounded to zero if inferior to options_.dynatol/100.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2383 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-29 22:25:01 +00:00
sebastien ae98231b23 trunk simk: use modfile basename for swap filename in order to allow simultaneous execution of several mod files in the same directory
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2381 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-29 13:57:43 +00:00
michel ad1608c9af correcting bug in forecast when data are prefiltered
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2377 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-26 18:11:19 +00:00
michel bb838b30c5 correcting bug introduced by recursive code, when there is no recursive estimation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2376 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-26 18:10:49 +00:00
michel d5a1a025d9 redo code for recursive estimation
corrected bugs with option prefilter, bayestopt_.mean_varobs is now a column vector

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2369 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-22 21:34:15 +00:00
stepan 3f36ec5b07 v4.1:
+ Added option mode_compute=7  for fminsearch (the matlab optimization
toolbox  is  needed)  a  simplex based  (gradient  free)  optimization
routine.
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2365 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-21 16:42:34 +00:00
sebastien 2495aca72a trunk:
* updated copyright headers of all files modified since January 1st: the copyright notice now encompasses 2009
* fixed various other copyright header issues


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2364 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-21 14:39:24 +00:00
sebastien 4491f52b9e trunk rplot:
* in legends of multiple plots, no longer interpret an underscore in variable names as a subscripting command (like LaTeX does)
* updated header


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2362 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-21 14:33:14 +00:00
ferhat 4fe7e3e155 - SymbolGaussElim.cc is discarded from the preprocessor (all simulations are now implemented in simulate)
- Correction in model_info.m

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2358 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-20 22:04:37 +00:00
michel 3a55016cf6 more speeding up changes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2353 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-05 11:37:05 +00:00
michel 163b4461ec adding parentheses for speed improvement
code factorization


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2352 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-04 07:53:49 +00:00
michel 1aac4e7e0a fixing update issues for mode_compute=5,6
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2350 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-01-02 08:36:45 +00:00
ferhat a0bbe27b95 Load_params_and_steady_state is now a dynare command -> needed to normalize the equations.
-> MatlabFile.cc and MatlabFile.hh are added to dynare in order to read the Mat-File

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2349 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-31 19:29:17 +00:00
ferhat 881d2819a3 - Jacobian matrix stored only for blocks -> jacobian matrix only as output argument
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2342 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-24 16:29:51 +00:00
michel 613bfc8f4a removed empty parentheses for compatibility with earlier Matlab versions
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2338 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-22 21:41:55 +00:00
stepan 9fe2556b01 v4.1: Dynare displays the residuals of the static equations of the model when the values of the endogenous variables supplied by
*_steadystate.m are wrong.



git-svn-id: https://www.dynare.org/svn/dynare/trunk@2336 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-19 21:34:44 +00:00
sebastien 8d21e0f882 trunk: updated header of simult_.m
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2335 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-19 16:49:52 +00:00
ferhat 29ca49f885 - Correction of several bugs in sparse_dll
- Pound expressions accepted with sparse option


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2329 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-19 10:24:31 +00:00
michel 3bc44e55fb corrected bug with error msg
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2312 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-12 16:18:04 +00:00
michel d44ee7fe6d corrected bug for backward models with lags on more than one period
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2311 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-12 16:17:23 +00:00
sebastien 9eb07ace8d trunk: reverted r2309 changeset
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2310 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-12 15:43:14 +00:00
kamenik 49c3d0c10e Added directory [dynareroot '/distributions/toolbox'] on the path.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2309 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-12 15:31:32 +00:00
ratto 0118791757 Modified help and messages concerning the sequence of univariate steps.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2308 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-12 07:44:05 +00:00
ratto ee21ad44b8 refined the search of x increments for gradients when the parameters are near to boundaries.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2307 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-12 07:40:28 +00:00
ratto 697edeb109 updated in compliance with new version of dsgelikelihood.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2306 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-12 07:39:03 +00:00
sebastien 6017007f4f trunk: fixed dsample command (was broken until now)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2301 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-08 16:19:59 +00:00
kamenik 4d9b1869c2 Added empty initialization for the case if estim_params_ is empty.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2297 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-07 09:58:16 +00:00
sebastien 2134146033 trunk:
* removed obsolete global variables "endval_" and "rplottype_"
* removed duplicate initialization of options_.replic


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2295 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-05 15:34:26 +00:00
michel a6bd42218c diminished tolerance in computation of steady state for linear models. This corrects a bug in estimation of constants in linear models.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2283 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-03 10:12:52 +00:00
michel bf65cb4f10 various bug fixes for filter and smoother with missing observations
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2282 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-03 07:30:26 +00:00
michel 5bf9ed894c removing dynare_m.exe from SVN
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2281 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-03 07:29:48 +00:00
ferhat 26ae037863 - factorization of simulation methods for static m-file
- correction of bugs in resid.m

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2280 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-02 21:29:43 +00:00
michel 706651641f adding missing data smoother + small corrections
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2278 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-01 12:50:53 +00:00
michel 6a1c5fbd70 adding report at the end of Lagrange multipliers elimination
testing shows a mistake in the procedure

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2277 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-01 12:49:17 +00:00
michel 1b7171a11a update OSR
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2275 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-25 17:34:21 +00:00
michel eba6164cae fixing bugs around missing observations and starting to add smoother with missing observations
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2274 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-25 17:31:37 +00:00
michel dd73be5b7b added arguments passed to child functions
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2273 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-25 17:29:12 +00:00
ferhat 23de7b250a - factorization of simulation methods in dynamic m-file
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2266 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-21 17:40:52 +00:00
adjemian 3026575522 v4.1: Bug correction related to the mh_recover mode (needs more tests).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2264 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-20 09:12:12 +00:00
ferhat f904a1a19d - new Incidence_Matrix class
- lead and lag on exogenous variables
- corrections in dr1_sparse and dr11_sparse
- minor corrections in simulate

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2255 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-14 16:07:47 +00:00
ratto a02e66e12c Updated the call to set_prior with M_ and options_ inputs
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2254 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-12 13:13:24 +00:00
sebastien b65e92c11d trunk:
* fixed displaying of subtitles when HP filter is present
* fail if HP filter required on empirical simulations (not yet implemented)


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2237 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-04 11:00:54 +00:00
adjemian 00d46f89f9 v4.1: Added calls to new kalman filter routines.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2231 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-29 15:46:16 +00:00
adjemian 6929164339 v4.1: Added univariate approach for the diffuse kalman filter (with correlated measurement errors).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2230 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-29 15:38:34 +00:00
adjemian 6eadbe0005 v4.1: Added univariate approach of the diffuse kalman filter (missing observations and uncorrelated
measurement errors are allowed).



git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2225 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-29 14:18:18 +00:00
michel 3d410b9b8b v4.1: corrected DsgeSmoother.m for unobserved trends
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2219 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-27 19:47:22 +00:00
adjemian fbeab98711 v4.1 Added calls to new diffuse kalman filter routines (when kalman_algo==3).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2217 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-27 17:24:10 +00:00
adjemian 5618fea33b v4.1: Added two routines for diffuse kalman filtering (with or without missing observations).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2216 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-27 17:12:44 +00:00
adjemian 76000f99e4 v4.1: Added a new version of DsgeLikelihood.m (to be used for tests).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2215 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-27 17:08:20 +00:00
adjemian 42e69283cb v4.1: Cosmetic changes + Added call to univariate kalman filter routine when F is singular and different
from zero.



git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2214 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-27 17:04:10 +00:00
michel ae0c71bfd9 correcting bugs in Kalman Smoother
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2198 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-26 20:10:58 +00:00
ferhat 7c6ed357b6 Bugs correction in check command with sparse option in model command
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2196 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-24 16:35:06 +00:00
adjemian dcc37a681a v4.1: Correction of the previous commit.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2192 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-24 15:38:34 +00:00
adjemian b1e1ab4853 v4.1: Bug correction related to Laplace approximation of the data marginal density.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2191 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-24 15:12:35 +00:00
adjemian 38b2eb42cb v4.1: Added calls to new filter routines.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2187 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-21 16:31:13 +00:00
adjemian eb1e60e59b v4.1: Errors associated to the simulated deterministic paths (for all periods and endogenous variables)
are saved in oo_.



git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2186 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-21 15:33:51 +00:00
adjemian 42bdc2726c v4.1: Added a new m file for the univariate kalman filter allowing for missing observations and
correlated measurement errors. Tests show that there is a "significant" discrepancy between the 
univariate filter and the standard filter in presence of correlated measurement errors... 

 


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2185 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-21 15:29:33 +00:00
adjemian 9da509936c v4.1: Added ./matlab/kalman in the path.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2181 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-20 14:46:00 +00:00
adjemian 616f47377f v4.1: Bug corrections.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2180 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-20 12:58:08 +00:00
ferhat f59bba3ddc - Adding SOLVE_FORWARD_COMPLETE and SOLVE_BACKWARD_COMPLETE simulation type for sparse model option
- Adding dyn2vec at the end of a deterministic simulation with sparse or sparse_dll option

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2178 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-19 15:44:08 +00:00
adjemian ccf0c4b9f9 v4.1: Factorization of missing data related part of dynare_estimation.m.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2169 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 12:51:06 +00:00
adjemian c5e73fcbaf v4.1: Added subfolders in ./matlab/kalman.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2162 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-16 21:15:07 +00:00
adjemian 8c030e7eb0 v4.1: Changed header.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2161 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-16 18:04:43 +00:00
adjemian d0e8345536 v4.1: Changes related to kalman filter with missing observations.
* Changed header of missing_observations_kalman_filter
 * Added the univariate approach. This file handles the cases with measurement errors and/or missing data.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2160 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-16 18:03:33 +00:00
adjemian 09a808bd4f v4.1: Changed calls to optimization routines.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2159 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-16 15:42:29 +00:00
adjemian c57a8c4776 v4.1: Removed hessian_sparse.m (unused function).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2158 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-16 14:34:15 +00:00
adjemian b820667698 v4.1: Changes related to kalman filter with missing observations.
* Adapted mode_check.m and hessian.m
 * Removed global from hessian.m
 * Changed call to metropolis
 * Changed the test deciding between KF and KF with missing observations in DsgeLikelihood

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2157 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-16 14:24:35 +00:00
adjemian 09e32240bd v4.1 Changes related to the kalman filter (for evaluation of the likelihood) with missing observations.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2155 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-16 13:40:40 +00:00
michel 63f5008305 v 4.0.2: simpler solution to problem with unobserved stochastic trends
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2149 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-13 20:08:13 +00:00
adjemian f58cdcf676 v4.1: Files related to kalman filter (likelihood evaluation of a state space model with or without missing observations).
* Added a new tolerance parameter specific to the iteration on the riccati equation.
 * Added a kalman filter routine allowing for missing observations.
 * I do not distinguish anymore models with and without measurement errors (the same m file is used for both models to evaluate the likelihood). For a model without measurement errors H hat to be set to 0 scalar.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2148 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-13 18:54:42 +00:00
sebastien 73c513802f trunk:
* DynareBison.yy: use "filename" rule for initval_file, dynasave, dynatype and datafile option
* DynareBison.yy: removed some spurious syntaxes for dynatype and dynasave
* ComputingTasks.cc: bugfix for dynatype
* cosmetic changes to dynatype.m and dynasave.m


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2145 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-13 16:06:07 +00:00
sebastien 68f9ca256e trunk: added information message on the presence/absence of simulate.dll
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2144 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-13 15:20:43 +00:00
sebastien 26288f2ab1 trunk irf.m: added missing documentation for parameter
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2143 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-13 15:20:13 +00:00
ratto 2ff703ca40 Fixes to avoid error on non-stationary variables not observed.
This works on a rather complex model, with 4 RW trends and 80 equations (QUEST III). Hopefully ...

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2141 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-09 07:21:43 +00:00
ratto b3c8df4aec Use economy-size option for qr.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2137 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-06 14:28:10 +00:00
adjemian f51ba0bd93 v4.1: Removed globals. Removed call to generalized Cholesky. Added handling of datasets with missing observations (NaN), not yet ready. Changed the covariance matrix of the jumping distribution when the posterior mode is not computed (or used). Changed call to dynare_estimation. Removed pindx in dynare_estimation. + Cosmetic changes.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2135 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-04 21:22:08 +00:00
michel 7a93a8cda8 correcting r2131 for saving additional variables in oo_
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2133 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-03 09:09:22 +00:00
michel 57240cf01e modified computation of log(det(invhess)) to solve cases in large models where det(invhess) is smaller than machine precision
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2132 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-03 08:43:28 +00:00
michel f4e7a003eb corrected bug related to saving oo_.FilteredVariablesKStepAheadVariances and oo_.FilteredVariablesShockDecomposition
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2131 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-02 14:36:12 +00:00
michel 2a8a507b3f tentative bug correction in DsgeLikelihood when stochastic trends are unobservable (QR instead of SVN)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2122 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-29 13:57:34 +00:00
sebastien 81ada88de2 trunk: fixed copyright header of generalized_cholesky?.m files
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2119 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-26 16:55:26 +00:00
sebastien 2af294a5e6 trunk: removed remnants of dr_algo option
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2118 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-26 16:49:51 +00:00
sebastien 928fa74a2f trunk: removed bicgstab.m because of name collision (and there is already a copy of this file called bicgstab_.m which had been created by Ferhat)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2117 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-26 16:29:31 +00:00
sebastien 26adb11ae0 trunk: renamed sec2hms.m to dynsec2hms.m (name collision with Matlab package)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2116 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-26 16:26:21 +00:00
sebastien 919c2af259 trunk:
* added back model_comparison logic
* added QUOTED_STRING token in lexer
* added filename rule in parser (filename is NAME or QUOTED_STRING)


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2115 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-26 16:24:13 +00:00
michel 18c74cc295 added missing ';'
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2113 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-26 05:39:02 +00:00
sebastien a03af050af undoing r2110 and r2111 changesets
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2112 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-25 12:29:35 +00:00
michel 464e29706f reverted r2010 because of problem with FILENAME token
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2111 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-25 12:10:12 +00:00
adjemian 20bc1b1401 v4.1: Added Model comparison. Not yet ready but can be used. The preprocessor, surprisingly, seems to sort the compared models (listed after the model_comparison command) by decreasing order of the model names (including path and extension).
TODO: 
+ Add an option to define the benchmark model (bayes ratio).
+ Add comparison to estimated BVAR models.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2110 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-24 21:52:11 +00:00
sebastien 1d4f437499 trunk: merged 2106 changeset from 4.0 branch (typo in dynare_estimation.m)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2109 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-24 20:00:07 +00:00
sebastien 108030d2a6 trunk: merged 2105 changeset from 4.0 branch (Octave graphics compatibility issues)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2108 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-24 19:59:28 +00:00