Commit Graph

963 Commits (341adad2e95e0ad7394cc399c7bc80e19dfac770)

Author SHA1 Message Date
sebastien c239ae9ef3 v4 preprocessor/macro:
* added @if/@then/@else
* added @echo and @error


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1738 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-07 15:58:35 +00:00
assia 3ea93dd4b5 header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1737 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 11:28:13 +00:00
assia 85b3832ef5 header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1736 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 11:26:03 +00:00
assia 59b663dfbe header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1735 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 11:16:47 +00:00
assia c1c9b5f44c header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1734 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 11:12:39 +00:00
assia 681bf0fe4b header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1733 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 11:10:16 +00:00
assia 28139e918f header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1732 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 10:52:19 +00:00
assia bfd112f75c header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1731 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 10:48:33 +00:00
assia 342ad92630 header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1730 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 10:43:43 +00:00
assia f1b3da91df header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1729 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 10:37:14 +00:00
assia a7cb948e69 header updated
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1728 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 10:26:09 +00:00
assia eb1a26962e isolated functions deleted
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1727 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 09:30:06 +00:00
assia 065d95c73f isolated function deleted
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1726 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-03-03 09:26:40 +00:00
sebastien 98f9619003 v4 preprocessor/macro: added @for loops
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1724 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-29 16:21:01 +00:00
sebastien efeeb01b33 v4 preprocessor: fixed memory management error
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1723 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-29 16:20:19 +00:00
adjemian f489bc62d0 Correction of a bug related to the stochastic optimization routine (mode_compute=6).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1722 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-29 14:02:43 +00:00
michel a430b447d1 v4 dynare_estimation.m: corrected bugs when np == 0
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1721 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-27 09:15:30 +00:00
sebastien c43a8d6bdf v4 preprocessor/macro: cosmetic changes in the stack used for nested includes
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1720 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-22 14:03:46 +00:00
sebastien 2af63803e8 v4 preprocessor/macro: added various checks and error messages
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1719 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-22 12:03:38 +00:00
michel 97da74a135 v4: datatomfile.m: header correction
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1718 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-20 19:45:34 +00:00
michel d54aed35ce preprocessor: mod_file_struct.option_order must be the LARGEST stated in the *.mod file, not the last one
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1717 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-20 13:36:17 +00:00
michel 7073ee2ee1 v4 dynare_estimation.m: foecast are prepared only when kalman_algo > 4
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1716 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-20 13:13:36 +00:00
michel c634702c69 v4 forecast.m: bug correction when var_list is empty
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1715 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-20 13:12:58 +00:00
sebastien 27f7c4834e v4 preprocessor/macro:
* added integer ranges
* added Doxygen documents for MacroValue and its subclass
* fixed string delimiter in macro language (it's double quote and not single)
* fixed problem with line count in presence of macro directives


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1714 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-20 09:56:47 +00:00
sebastien dba0205e1c v4 preprocessor mex/sources/simulate: replaced C headers by their C++ counterpart
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1712 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-19 14:35:59 +00:00
sebastien 666f93aa77 v4 preprocessor/macro: added handling of arrays
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1711 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-19 14:24:40 +00:00
michel bcf9da214e v4: added forecast out of posterior mode (or maximum likelihood, non-tested)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1710 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-17 14:58:34 +00:00
michel 5572943251 v4 added missing ; in set_all_parameters.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1709 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-17 10:33:25 +00:00
michel c7dc3ca3bc v4 bug corrections in dealing with measurement errors
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1708 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-16 17:02:39 +00:00
sebastien 0dd30038cb v4 preprocessor/macro: added preliminary handling of expressions and @define
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1707 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-15 17:31:40 +00:00
sebastien adb44d4ade v4 preprocessor: fixed minor issues with operators precedence
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1706 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-15 17:31:00 +00:00
michel 92f19dd476 v4: corrected bug for correlated coefficients
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1705 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-14 20:10:41 +00:00
adjemian 1c1221681f Correction of a bug related to the previous commit (the initialization of the path is given by the solution of the first order approximation of the model iff there is no deterministic shocks).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1704 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-11 15:04:31 +00:00
adjemian 48f23191fb For deterministic simulations of a path between an arbitrary initial condition and the steady state, the path is initialized with the solution obtained from a first order approximation of the model => The number of iterations required for the convergence of the Newton is less important, and on a simple growth model with CES technology I observe also a reduction of the error size.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1703 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-11 14:42:46 +00:00
michel 806c29cc4a v4: made dynare_estimation safe for computing Smoother of a calibrated model (temporary)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1702 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-09 17:27:26 +00:00
sebastien 083cae4c84 v4 preprocessor: also open included files in binary mode
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1701 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-08 17:55:37 +00:00
michel c30f1ab5bc preprocessor: opening file in binary mode solves mysterious bug with CR LF terminated lines under Cygwin
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1700 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-08 17:42:09 +00:00
sebastien 0eca1351d9 v4 preprocessor: ignore Ctrl-M in macro-processor
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1699 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-08 13:10:10 +00:00
sebastien 567a518b4a v4 preprocessor: fixed minor memory leak
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1698 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-08 11:34:10 +00:00
michel 0f7e1d64ab updating dynare_m.exe
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1697 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-07 21:52:20 +00:00
michel b6632e894f adapted Makefile for cross compiling
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1696 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-07 21:20:49 +00:00
adjemian 4bda21d4db Bug correction. Initialization of deterministic simulations was buggy when we start from an arbitrary initial condition (ie when steady is not used after initval).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1695 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-07 10:50:31 +00:00
michel 6057511c9e v4 dynare_esitmation.m: doesn't store lagged values of smoothed and filtered variables
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1694 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-05 15:27:57 +00:00
michel c296d7d895 preprocessor: stoch_simul must return info for loops
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1693 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-05 11:17:01 +00:00
sebastien 16dd3aefae v4 mex/sources:
* build.m: fixed incorrect path for preprocessor source
* build.m: removed path information for launching mex from MacOS (not necessary since we use eval() instead of system())
* added binary for simulate / Windows 32 / Matlab 7.5


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1692 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-05 09:12:26 +00:00
michel 86c2c7f488 changing dynare.m for new mex directory location
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1691 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-04 21:31:18 +00:00
michel 80eb1faab2 moving mex directory
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1690 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-04 21:31:12 +00:00
michel 2f3767d317 v4: more changes related to new filter
more variables returned by the smoother saved in oo_
    DiffuseKalmanSmoother1_Z.m isn't finished yet


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1689 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-04 17:52:16 +00:00
michel 290722e3fd mex/source/build.m: replaced system() by eval(). The call to system isn't necessary and creates a path problem with R2008a
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1688 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-03 16:01:05 +00:00
sebastien dd5c5cbba0 v4 matlab/mex:
* build.m: changed preprocessor source directory name
* updated binary for simulate / Linux x86-32 / Matlab 7.4


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1687 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-03 11:24:51 +00:00