Johannes Pfeifer
0b491b3b09
Estimation: fix header column widths in display of results
2021-08-17 10:57:53 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Marco Ratto
faa203e029
condition computation of posterior statistics also to (options_.load_mh_file && ~options_.load_results_after_load_mh) and apply it to all cases
2021-02-13 18:53:17 +01:00
Marco Ratto
22ef0b1413
get statistics also when load_mh_file
2021-02-12 18:55:50 +01:00
Stéphane Adjemian (Scylla)
7be8f10e0e
Use cells of strings instead of char arrays.
2018-01-09 22:30:01 +01:00
Stéphane Adjemian (Charybdis)
5417b27ac7
Fixed indentation of matlab files.
2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis)
a53636e24e
Fixed copyright notices.
2017-05-16 14:11:15 +02:00
Stéphane Adjemian (Charybdis)
88e1701289
Removed useless commas and semicolons.
2017-05-16 13:24:46 +02:00
Houtan Bastani
b454c28096
fix latex compilation on linux. #1207
2016-06-14 11:37:16 +02:00
Marco Ratto
8bd963de64
Fill in posterior_mode with info from posterior samples.
2016-05-19 14:34:09 +02:00
Johannes Pfeifer
246ea146d1
Use booktabs package for neater table output
2015-12-13 16:43:25 +01:00
Stéphane Adjemian (Charybdis)
5fb1b1cc23
Added Weibull prior.
2015-12-04 14:50:44 +01:00
Johannes Pfeifer
7ebbc41d8a
Get rid of eval statements by using indirect indexing of structures
2015-10-12 15:36:42 +02:00
Johannes Pfeifer
26437e1c32
Replace eval by indirect addressing of fields.
2015-08-25 09:45:39 +02:00
Johannes Pfeifer
8a09c61adb
Redefine oo_.posterior_std and add oo_.posterior_std_at_mode
...
Makes clear that oo_.posterior_std_at_mode comes from mode-finding while oo_.posterior_std comes from MCMC
2015-08-11 11:24:58 +02:00
Johannes Pfeifer
819dd8c899
Fixes bug where number of posterior draws was computed incorrectly and wrong warning was displayed
...
The bug did not affect any computations, but only provided a wrong warning
2014-08-09 10:37:16 +02:00
Johannes Pfeifer
bf674fa59f
Deal with cases where too few draws are available for posterior moments
2014-07-17 22:05:07 +02:00
Stéphane Adjemian (Scylla)
66d08ac3bf
Merge branch 'master' into use-dynSeries
...
Conflicts:
matlab/dynare_estimation_init.m
matlab/global_initialization.m
matlab/prior_posterior_statistics.m
matlab/read_variables.m
matlab/set_prior.m
matlab/utilities/dataset/initialize_dataset.m
preprocessor/ComputingTasks.cc
2014-04-30 10:10:30 +02:00
Johannes Pfeifer
ec9c32d2b7
Correct name of output folder in writing TeX-Code
2013-11-29 10:25:25 +01:00
Stéphane Adjemian (Scylla)
d52a0d2c89
Changed the logic for mh-history files (keep track of all the previous estimations if load_mh_file is used). Various bug fixes and cosmetic changes.
2013-11-20 18:03:12 +01:00
Stéphane Adjemian (Charybdis)
c5c3b45f3c
Merge branch 'master' into use-dynSeries
2013-09-23 08:14:46 +02:00
Johannes Pfeifer
ea69f50134
Improve display of posterior parameters and clarify use of HPD
2013-09-16 17:11:25 +02:00
Stéphane Adjemian (Charybdis)
907e087ea9
Consider options_.varobs as a cell of strings.
2013-09-07 16:39:04 +02:00
Stéphane Adjemian (Charybdis)
4052d4ccaf
Cosmetic changes. Use skipline() instead of disp(' ').
2013-07-10 17:12:34 +02:00
Johannes Pfeifer
7518072e77
Fix several bugs related to estimated measurement errors
...
1. The first call to set_prior overwrote the first column of
estim_params_.var_endo storing the position of the variable with
measurement error in M_.endo_names with the position in
options_.var_obs. All subsequent calls to set_prior then lead to
crashes.
2. At the same time, for correlations of ME, the first column of
estim_params_.corrn still stored the position of the variable with
measurement error in M_.endo_names. But subsequent calls to it were done
as if it stored the position in options_.var_obs
I introduced two new variables in estim_params_ storing the respective
positions in var_obs so as to not necessitate changes in the
preprocessors.
3. For cases of calibrated measurement error correlations, the
covariance matrix was not updated.
4. Fixing a lot of smaller bugs related to measurement errors, including
some copy and paste errors
-
2013-03-21 20:51:12 +01:00
Sébastien Villemot
1f9cea669a
Update copyright notices
2012-06-08 18:22:34 +02:00
Marco Ratto
4480f5b494
Fixes around latex output: use of longtable for parameter estimates and various fixes for posterior analysis, also for parallel execution.
2012-05-30 11:22:59 +02:00
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
Houtan Bastani
8a0dabd07d
use || and && as opposed to | and & where appropriate
2011-02-16 15:14:38 +01:00
Sébastien Villemot
02652f6eb8
Updated copyright notices
2011-02-04 17:27:33 +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
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
michel
aa843c739d
4.1: corrected estimation results tables with long parameter names
...
added function row_header_width.m
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2570 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-08 20:04:19 +00:00
stepan
aa31417a05
Efficiency & Cosmetic changes related to the design of bayestopt_ and
...
the computation of the prior density.
bayestopt_.p1 is always the prior mean
bayestopt_.p2 is always the prior standard deviation
bayestopt_.p3 is unchanged
bayestopt_.p4 is unchanged
bayestopt_.p5 [new field] is the prior mode
bayestopt_.p6 [new field] is the first hyper-parameter of the prior density
bayestopt_.p7 [new field] is the second hyper-parameter of the prior density
These fields are defined in set_prior and are never changed after. In
the previous version of Dynare, the hyper parameters of the densities
were updated at each iteration of the optimization routine or the
metropolis.
Removed fields pmean and pstdev.
Vectorized the code in priordens.
Fixed the bug mentionned by Gianni. If a (logged) density is evaluated
outside the prior domain, the output of priordens if minus infinity
(instead of a complex number).
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2556 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-06 14:38:37 +00:00
sebastien
0ee09b5b07
v4.1: merged r2044, 2045 and 2046 changesets from 4.0 branch
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2047 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-05 16:48:39 +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
adjemian
25e20a2b5b
Removed unused variable.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2016 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-09-02 10:00:15 +00:00
sebastien
db50368418
v4 matlab: fixed some existing copyright headers (and some other minor header issues)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1974 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 12:40:33 +00:00
adjemian
de48d0b3ee
Changed posterior_moments (global variable options_ is not needed anymore, mh_conf_sig is a new input argument) + Cosmetic changes.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1836 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-19 13:22:57 +00:00
assia
4966cf1416
header updated
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1634 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-01-21 17:04:24 +00:00
adjemian
6c7fcaa567
correction of a bug related to the names of the shocks and measurement errors when mh_replic = 0 and load_mh_file = 1
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1166 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-26 09:03:41 +00:00
adjemian
ee75bf6a58
load oo_ from _results.mat if mh_replic = 0 and load_mh_file
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1165 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-26 08:58:07 +00:00
adjemian
bcedf81d59
do not compute posterior moment and densities when mh_replic = 0 and load_mh_file = 1.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1157 ac1d8469-bf42-47a9-8791-bf33cf982152
2007-01-22 13:34:44 +00:00
adjemian
47ae595059
Bug corrections : TeX output, oo_ structure (posterior density), posterior IRF.
...
Added : Posterior IRFs for BVAR-DSGE, conditional forecasts
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1119 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-12-15 11:37:24 +00:00
michel
751c382ddc
v4: replaced \ by / in directory names
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@600 ac1d8469-bf42-47a9-8791-bf33cf982152
2006-01-16 08:20:11 +00:00
michel
8145b7e3f5
v4, GetPosteriorParametersStatistics.m: corrected typos
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@476 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-10-01 19:09:07 +00:00
adjemian
b425351404
Added posterior densities
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@461 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-09-25 14:10:41 +00:00
adjemian
36eed29a91
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@459 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-09-24 10:36:26 +00:00
adjemian
21f4445d2e
New version with equal length mh files
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@443 ac1d8469-bf42-47a9-8791-bf33cf982152
2005-09-10 10:04:22 +00:00