Commit Graph

34 Commits (e6b9912bb45ae548230a19a29f4c162518d26777)

Author SHA1 Message Date
Michel Juillard 7408714ea1 added dname as argument to CheckPath function and changed all calls to
this function. Suppressed use of globals in CheckPath.
2011-12-15 17:35:27 +01:00
Michel Juillard d0e458eb79 removing useless statement 2011-12-15 17:35:27 +01:00
Michel Juillard edd95a94c8 added options_.sub_draws in estimation for controlling the number of draws used in
computing the posterior distributions of various objects. Changed
options_.subdraws, used in the code, into options_.sub_draws.
2011-12-15 17:35:26 +01:00
Marco Ratto ac2687f6dd Fixed function header 2011-12-14 14:43:17 +01:00
Michel Juillard ec0af45fc8 further fixes to gsa testsuite; make gsa compatible with Linux 2011-12-09 20:55:02 +01:00
Michel Juillard 88be4fa3d4 fixing bug in prior_posterior_statistics.m and in recursive estimation 2011-10-21 22:06:09 +02:00
Marco Ratto b7133ebeb5 Fixed bugs related to global sensitivity analysis. 2011-02-25 09:27:33 +01:00
Sébastien Villemot 02652f6eb8 Updated copyright notices 2011-02-04 17:27:33 +01:00
Sébastien Villemot 757a9067c0 Global reindentation of MATLAB files 2011-02-04 17:17:48 +01:00
Marco Ratto d8121365dd 1) Renamed options according ti WiKi table;
2) get rid of MasterName and DyMo;
3) more comments;
2010-10-22 11:27:26 +02:00
Marco Ratto cc70913b7d Properly close waitbar in serial computations. 2010-10-12 08:07:57 +02:00
Marco Ratto 25230060e5 Cosmetic changes plus small bug fixes. 2010-10-08 16:19:03 +02:00
Marco Ratto 55764e667f 1) eliminated use of struct2local;
2) changes to header/comments.
2010-05-31 11:54:22 +02:00
Michel Juillard 2679e190e8 bug correction. It seems that struct2local can create problems with Matlab r2010a: if run_smoother exists as function name, 'if run_smoother' calls run_smoother rather than evaluate local variable run_smoother. 2010-04-02 21:37:43 +02:00
Sébastien Villemot d6faa47807 Cosmetic changes: converted files to Unix end-of-line convention + fixed copyright notices and dates 2010-02-15 16:52:36 +01:00
Marco Ratto c4a6c47588 1) moved waitbar instances to core
2) new input argument parallel_info for masterparallel
3) force not closing slave (consecutive pm3 calls)
2010-02-12 17:54:52 +01:00
Marco Ratto 060e36da1a parallel version. 2010-02-10 18:51:07 +01:00
sebastien 1be52aaa5f Beautification: removed tabulation characters which were left in previous beautification pass
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3300 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-05 10:46:10 +00:00
sebastien 502e3e1df8 Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
sebastien a2cef7009d Fixes for ticket #57
preprocessor:
* add a field "M_.orig_endo_nbr" containing the nbr of endogenous before adding aux vars
* always provide "M_.aux_vars" (define it to "[]" when there is no aux var)
* rename "M_.aux_vars().orig_endo_index" to "M_.aux_vars().orig_index"

M-files:
* for commands which accept a list of variables (stoch_simul, osr, estimation, dynasave, dynatype, datatomfile), when no variable is given, use only the set of original endogenous (without aux vars) as the default
* when displaying the decision rule, when there is aux vars in the state variables, replace them by their original name (with the right lag)
* in "steady", don't display aux vars
* special exception for ramsey policy: all vars (including aux vars) are displayed, because the system of aux vars from ramsey policy is not compatible with the aux vars from the preprocessor


git-svn-id: https://www.dynare.org/svn/dynare/trunk@3166 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-25 10:22:39 +00:00
ratto d9ea204fc5 File names should correspond to varlist and not to endo_names
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3122 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-11-03 15:21:30 +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 eba6164cae fixing bugs around missing observations and starting to add smoother with missing observations
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2274 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-25 17:31:37 +00:00
michel 70d8a84490 added updated variables (a_t|t) and reverted the change in name for filtered_variables
various bug corrections for posterior statistics


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2031 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-04 01:16:50 +00:00
adjemian 2845115b5f + Removed global variables.
+ Added try and catch to handle cases where oo_ is broken and (mh_replic==0 & load_mh_file==1).
+ Added computation of posterior moments for endogenous variables (triggered by moments_varendo option). First order moments are still missing.

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2028 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-03 16:05:35 +00:00
michel 26038a6df7 fixing bugs in prior_posterior_statistics.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2000 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-25 19:59:46 +00:00
michel 4f3d871b77 fixing posterior analysis output. filtered_vars and step_ahead_filter still don't work correctly
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1992 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-24 19:30:55 +00:00
sebastien 9f5beff89e v4 matlab: fixed remaining copyright headers (those files which are in the CR+LF endline convention)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1975 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 13:08:13 +00:00
sebastien 6fa483bd3f v4 prior_posterior_statistics.m: Octave compatibility issues:
* added missing .mat extensions
* use text waiting bar instead of waitbar()


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1930 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 13:20:49 +00:00
adjemian 3ac7bab6f0 Replaced | by || in conditional statements.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1929 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 12:50:08 +00:00
adjemian 6827fc7c28 Replaced & by && (compatibility with octave issue).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1928 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 12:41:01 +00:00
adjemian 4553ceca01 Bug correction (MAX_error replaced by MAX_nerro, for models with measurement errors).
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1927 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-04 12:21:52 +00:00
adjemian 341adad2e9 Added new functions for posterior distribution processing (second order moments) + Removed global variables.
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1890 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-21 08:33:31 +00:00
michel dfc1f3c90f dynare_v4: exploitation of posterior distribution (unfinished)
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1877 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-16 10:38:36 +00:00