Commit Graph

1532 Commits (349630ba854d1b235b41a2d62ebf8cc6f436ab61)

Author SHA1 Message Date
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
sebastien 6a4a414a3b trunk preprocessor:
* finished normalization algorithm
* added routine for computing the equations which are already in normalized form


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2645 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 17:11:48 +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
sebastien 920e21561b trunk preprocessor: added method VariableNode::get_symb_id()
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2643 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 17:03:21 +00:00
sebastien 84ba1aff7c trunk preprocessor: use assert() function at several places
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2642 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 16:21:39 +00:00
sebastien bc86ddc1a2 trunk preprocessor: small simplification of the Makefile
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2641 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 16:16:12 +00:00
sebastien a7e32f5025 trunk preprocessor: added two more symbolic simplication rules, particularly useful for the static model
* x-x=0
* x/x=1


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2640 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-28 16:04:29 +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
sebastien 5cc4e16ebf trunk StaticModel.cc: added model normalization (still need to force normalization of equations of the form a = f(b,c))
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2638 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-27 17:15:14 +00:00
sebastien c637255023 trunk configure: test for a version of Boost recent enough to contain maximum cardinality matching algorithm
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2637 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-27 17:14:14 +00:00
sebastien 3ca9db19ff trunk macroprocessor.tex: added missing semicolons
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2635 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-27 13:39:52 +00:00
sebastien 85d9ee1ab6 trunk: added autoconf support for the documentation build system (only build stuff for which we have the tools: pdflatex, dblatex, xsltproc)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2634 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-27 13:37:50 +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 af69c4d6a5 4.1: changed mex LDFLAGS option for compiling *_dynamics.c to make the Dynamic function public.
This most likely makes it unusable for compilers other than gcc


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2632 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-25 13:06:36 +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
sebastien fc71060fa6 trunk:
* use autoconf to create the preprocessor Makefile
* the preprocessor now displays the version number
* the top-level Makefile triggers compilation of the preprocessor and of the documentation


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2621 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-23 15:52:00 +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
sebastien e58ef63b96 trunk mex/octave/rcond.m: simplification + header update (merge needed)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2618 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-23 13:26:34 +00:00
michel 225a23d8a7 kordpert: added new example and standalone test code
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2617 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-23 06:30:57 +00:00
michel 37e9be0534 kordpert: added a simpler reordering algorithm; updated Makefile
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2616 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-23 06:24:43 +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
sebastien d55470ca88 trunk preprocessor: cosmetic changes
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2614 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-20 15:54:19 +00:00
sebastien b775f1812c trunk preprocessor:
* added support for derivatives of Hessian w.r. to parameters
* added "identification" command which does nothing for the moment, except triggering those derivatives w.r. to params


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2613 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-20 13:58:15 +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
sebastien f7c97fcebe trunk preprocessor: restructuring the way we decide which derivatives to compute
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2610 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-20 10:48:54 +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
george 29130a04da Update in handling hessian store
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2608 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-19 08:35:41 +00:00
michel 785aa69aaa mex/korderpert: providing Makefile and Makefile.include for Linux
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2607 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 20:06:04 +00:00
michel 93d690e9f8 mex/korderpert: making k_order_test.cpp consistent with test case fs2000k.mod
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2606 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 20:04:47 +00:00
michel 08e29a5427 mex/korderpert: fixing problem with DLL calling in Linux and one bug in debug message
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2605 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 20:04:05 +00:00
sebastien a8bed91300 trunk preprocessor:
* fixed bug with planner_objective
* fixed another bug due to unitialized max_{lead,lags} values


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2604 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 18:07:28 +00:00
sebastien 2fac4b624f trunk mex/A_times_B_kronecker_C: fixed typo introduced in r2577
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2603 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 14:19:05 +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
michel a1ad1ed033 4.1: fixing problems in gensylv for Matlab 7.8 64 bit
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2599 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-18 09:01:55 +00:00
sebastien c4e1b8ef80 trunk preprocessor: fixed bug with normcdf derivative (introduced in r2596)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2598 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-17 21:22:44 +00:00
sebastien 4bb5ce9b86 trunk preprocessor: restructuration of the code before adding derivatives w.r. to parameters (in particular, removed VariableTable, and replaced it by a system of derivation IDs)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2597 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-17 16:26:23 +00:00
sebastien 03ce535f04 trunk preprocessor:
* enforce lag=0 for DataTree and StaticModel
* various minor and cosmetic changes


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2596 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-16 10:33:30 +00:00
sebastien da408a908f trunk preprocessor: some cleanups related to sparse mode (removed SimulSparseStatement class and incorporated it into SimulStatement, determine mode at preprocessing time instead of runtime in StochSimulStatement)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2595 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-14 15:02:51 +00:00
sebastien 2e9ce1fe1e trunk preprocessor: added missing headers for recent versions of GCC
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2594 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-14 14:47:57 +00:00
sebastien 845888d692 trunk preprocessor: cosmetic change for consistency in bison file
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2593 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-14 14:43:54 +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
sebastien 025fb5aea1 trunk manual:
* fixed synopsis and options of estimation command
* version number equal to 4.0.3.1 (for immediate release)
* various cosmetic changes


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2590 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-10 18:29:11 +00:00