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
michel
ba0b58dfab
v4: changing name of preprocessor directory
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1686 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-03 10:28:36 +00:00
michel
4dc23e191e
v4 matlab/mex:
...
* fixed problem with compilation of simulate DLL under Linux x86-64
* updated binaries for Linux x86-64 + Matlab 7.5
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1685 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-02-03 09:59:21 +00:00
michel
a34ce9e3b7
v4 bug corrections for new diffuse algorithm
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1684 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-31 10:58:58 +00:00
sebastien
d8d191bb1c
v4 matlab/mex:
...
* adapted build.m for MacOS/PowerPC
* added corresponding binaries for Matlab 7.5
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1683 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-31 10:41:15 +00:00
michel
4443d56136
v4 bug correction and correct smoother for new diffuse algorithm
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1682 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 21:32:20 +00:00
michel
d01ed3ca16
mex/2007b: added missing mjdgges.mexa64
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1681 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 20:41:32 +00:00
michel
ba3ced9ca3
mex/source/simulate: changed some cast to (long int) for compatibility with x64
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1680 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 20:40:19 +00:00
sebastien
c0c56b6d7d
v4 matlab/mex: added binaries for GNU/Linux i386 + Matlab <= 7.4
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1679 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 17:09:47 +00:00
sebastien
b8b8de83ec
v4 matlab/mex:
...
* tuned build.m for MacIntel
* added corresponding binaries for Matlab 7.5
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1678 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 17:03:41 +00:00
sebastien
5a7560252b
v4 matlab/mex/sources: fixed problems with compilation of simulate DLL under Linux
...
* Linux filenames are case sensitive, had to fixed case in #include directives
* itoa() function does not exist under Linux; replaced it by calls to sprintf()
* replaced anti-slashes by slashes in pathnames; this works under Windows
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1677 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 16:18:06 +00:00