Commit Graph

1131 Commits (b92b48c58ed16ff47bcc78d9031723d0f81c2fc5)

Author SHA1 Message Date
stepan 4af1f415d4 Various bug fixes.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2768 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-12 10:08:25 +00:00
stepan 771a12c8ae Bug fix (introduced in the previous commit).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2767 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-12 09:40:32 +00:00
stepan 1c5e2df2a0 + Changed compute_moments_varendo so that it can handle prior montecarlo.
+ Bug fix.
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2766 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 23:09:19 +00:00
stepan 5695c1d528 + Changed some files so that they can handle prior montecarlo.
+ New version of prior_analysis.m.
+ Changed names and calls.
+ Bug fix.
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2765 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 22:55:37 +00:00
stepan bdabde9b58 + Changed some files so that they can handle prior montecarlo.
+ Changed names and calls.
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2764 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 16:32:05 +00:00
stepan e3043c4107 + Changed dsge_simulated_theoretical_*.m files. They can be used to compute the prior distribution
of second order moments and variance decompositions.
+ Changed calls to dsge_simulated_theoretical_* functions.
+ Fixed headers.
+ Cosmetic changes.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2759 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 14:39:52 +00:00
stepan b04e65196f Changed names of four functions (these functions will be used for posterior *and* prior sampling).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2758 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 13:22:52 +00:00
stepan 16de70de41 Changed header.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2757 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 12:59:04 +00:00
stepan 5ff813a1e6 Added a new function. This function tests if prior_sampler.m has to be called or if
the second order moments have to be computed.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2756 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 11:57:33 +00:00
stepan faaac5e6c0 Added comments.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2755 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 11:33:30 +00:00
stepan b71a7a83ed Save prior structure (bayestopt_) in M_.dname/prior/definition.mat, if the prior is changed.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2754 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-11 11:30:26 +00:00
stepan 3533753c99 Bug fix (problem related to prior draw files indexing).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2752 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-10 14:29:24 +00:00
stepan 70202d0bb0 Bug fix
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2751 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-10 10:55:48 +00:00
stepan 36ecf9d6bd Added prior 2nd order moments (still buggy).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2749 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 15:29:28 +00:00
stepan 271b16a879 + Moved the definition of dr_.qz_criterium from dr1.m to global_initialization.m.
+ dr1.m: Removed useless field declarations in dr1.m.


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2748 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 15:06:21 +00:00
ratto b0a093dab2 Minor change for new graph monitoring
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2747 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 10:04:19 +00:00
ratto 04b82bba12 Fixes for Octave compatibility.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2746 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 10:03:29 +00:00
ratto 787ee74238 - Provisions for Octave;
- Nicer graph monitoring for Matlab;

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2745 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 10:02:50 +00:00
ratto 886a3154c3 tic toc eliminated
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2744 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 10:01:21 +00:00
ratto 6c027cf660 Provisions for OCTAVE.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2743 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 10:00:43 +00:00
ratto 1bde350a77 mat extension in save instruction.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2742 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 09:59:12 +00:00
ratto 9eba4c4915 mat extension in save instruction
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2741 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 09:58:34 +00:00
ratto 9c9b1feb05 Patch allowing commands of the type delete('*.*') to be run successfully with Octave.
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2740 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-09 07:23:38 +00:00
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