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
sebastien
90cfdee350
v4 parser:
...
* removed files generated by Flex and Bison from SVN
* adapted Makefiles accordingly
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1676 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 14:37:42 +00:00
sebastien
e1238b58d6
v4 parser: adapted macro processor for compatibility with Flex 2.5.4
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1675 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 14:22:14 +00:00
michel
79a4e8c8ba
preprocessor added FlexLexer.h
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1674 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 13:29:11 +00:00
michel
ceb3210564
preprocessor: add DynareFlex.cc and MacroFlex.cc to archive to solve problems with old versions of flex
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1673 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 13:25:31 +00:00
sebastien
ea6083241d
v4 parser:
...
* added macro processor skeleton
* added "savemacro" option, which saves the result of macro expansion in a file named "filename-macroexp.mod"; this file can be fed back to Dynare
* implemented @include directive; note that nested includes are possible; error messages in Dynare pre-processor will point to the filename effectively edited by the user
* split DynareMain.cc in two files, because of a Bison restriction: it is impossible to include both MacroDriver.hh and ParsingDriver.hh from the same source file
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1672 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-30 11:38:09 +00:00
assia
b95b51be6f
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1671 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:55:56 +00:00
assia
ce06676166
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1670 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:52:37 +00:00
assia
9b4537cf3a
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1669 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:50:02 +00:00
assia
8e5cfdcf2a
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1668 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:46:45 +00:00
assia
df40a111f7
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1667 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:43:28 +00:00
assia
8e659cf465
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1666 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:41:22 +00:00
assia
4cfa305d7b
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1665 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:38:04 +00:00
assia
df1b0fc5fd
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1664 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:34:02 +00:00
assia
5fce0ba5e7
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1663 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:30:25 +00:00
assia
105f1f81a4
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1662 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:25:26 +00:00
assia
a1a58bc29b
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1661 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-29 13:20:25 +00:00
assia
3531920329
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1660 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-28 17:02:08 +00:00
assia
0c263f8e29
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1659 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-28 15:55:01 +00:00
assia
6fa72ce61a
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1658 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-28 15:52:37 +00:00
assia
68baa83fc8
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1657 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-28 15:48:50 +00:00
assia
6c3ea44eac
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1656 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-28 15:42:09 +00:00
assia
c40b85373e
isolated function deleted
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1655 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-28 15:30:23 +00:00