Johannes Pfeifer
16d8ee0c7b
Cosmetic changes to various function headers
2016-03-25 22:05:36 +01:00
Johannes Pfeifer
e37448faaf
Fix exceptions when prefiltering was requested with loglinear option
...
The check for an existing mean was based on the unlogged steady state, resulting in wrong error messages
2016-03-23 10:09:15 +01:00
Houtan Bastani
f60945facc
fix copyright dates
2016-03-11 16:22:42 +01:00
Johannes Pfeifer
ab6063f2b4
Check whether at least one MCM chain is requested when using Bayesian estimation
2016-03-06 21:19:17 +01:00
Stéphane Adjemian
4222269324
Merge pull request #1100 from JohannesPfeifer/initial_check_par_names
...
Fix display of parameter names changed during estimation
2015-11-04 14:40:43 +01:00
Johannes Pfeifer
1def4f357a
Fix display of parameter names changed during estimation
...
Relied on the wrong ordering
2015-10-28 15:34:14 +01:00
Johannes Pfeifer
554f3df659
Filter out datasets with missing values before particle filtering
2015-10-20 15:49:07 +02:00
Johannes Pfeifer
33aa22a80f
Condition check for stochastic singularity on maximum of non-missing observations
...
closes #1071
2015-10-11 10:49:15 +02:00
Michel Juillard
1a9aa17c9e
Revert "More fixings around objective_function"
...
This reverts commit 05cd51111c
.
2015-10-09 14:23:31 +02:00
Michel Juillard
05cd51111c
More fixings around objective_function
2015-10-08 20:57:00 +02:00
Johannes Pfeifer
bb0446873f
Add initial likelihood value to debugging info
2015-07-20 13:06:21 +02:00
Johannes Pfeifer
c2f07c720f
Add check whether tarb_new_block_probability is between 0 and 1
2015-06-08 16:49:39 +02:00
Stéphane Adjemian (Hermes)
47f4d37e70
Fixed online filter with first order approximation of the model.
2015-05-27 18:06:48 +02:00
Houtan Bastani
d5cb78bbea
fix typo introduced in 89828e56cc
2015-05-20 10:12:24 +02:00
Houtan Bastani
89828e56cc
preprocessor: add proprosal_distribution and student_degrees_of_freedom options to estimation. closes #925
2015-05-19 12:31:22 +02:00
Johannes Pfeifer
3dee87c243
Fix crash in unit test fs2000_smoother_only
...
For calibrated models, the param_vals field does not exist
2015-04-20 16:45:51 +02:00
Johannes Pfeifer
27403fb2dd
Add check whether initial prior is Inf
...
Requires adding fourth output argument of priordens.m that stores position of problematic parameter.
2015-04-01 16:30:46 +02:00
Johannes Pfeifer
a7f380d8c0
Condition check for changed parameters on whether parameters are estimated in the first place
...
Fixes crash in master unit test
2015-03-01 13:36:21 +01:00
Houtan Bastani
ca83397d95
update copyright dates for files changed in 2015
2015-02-16 09:08:02 +01:00
Johannes Pfeifer
8320a39e61
Add check whether steady state file during estimation overwrittes parameters to be estimated.
...
This might lead to wrong results and should be checked for.
2015-02-11 12:58:36 +01:00
Stéphane Adjemian (Charybdis)
fc3e1b2108
Merge remote-tracking branch 'fred@github/master'
...
Conflicts:
matlab/initial_estimation_checks.m
matlab/utilities/tests
2014-11-28 16:53:44 +01:00
Stéphane Adjemian (Karaba)
f48566aeae
Fixed prior bounds (according to the doc in master branch).
...
* Second and third positional arguments after the name of the
estimated parameter in the estimated_params block are only
considered in the optimization stage (not in the MCMC)
* Do not store bounds in bayestopt_, because bounds do not always
reflect restrictions implied by prior shapes.
* prior_bounds routine returns a structure (with fields lb and ub)
instead of a matrix.
2014-10-20 16:18:54 +02:00
Johannes Pfeifer
127b7b0221
Add check for NaN parameters to initial_estimation_checks.m
...
Provides important info to debug cryptic crashes in later routines. Mostly applies to cases where people run estimation without stoch_simul
2014-09-25 09:02:36 +02:00
Frédéric Karamé
b06b6a6161
Modifications for online estimation of linearly-solved models
2014-08-29 15:51:01 +02:00
Stéphane Adjemian (Charybdis)
efcf6bd9c0
Use dseries object in the estimation routines.
2014-06-16 17:41:59 +02:00
Johannes Pfeifer
a9292c5086
Add warning if prior allows for negative variances and if negative estimated variances are encountered. Closes #522
...
Due to the use of variances for Sigma_e and subsequently backing out the standard deviation from these variances, the sign of the standard deviation does not matter and no bound needs to be imposed.
2014-02-04 18:59:28 +01:00
Johannes Pfeifer
66b72e817e
Fix bug in test for stochastic singularity
2013-07-28 16:59:41 +02:00
Stéphane Adjemian (Charybdis)
8574dfd053
Adapted print_info routine.
2013-06-12 10:54:33 +02:00
Marco Ratto
b1dd7a5137
Allow quicker evaluation of likelihood with analytic derivatives.
2012-08-21 15:46:35 +02:00
Stéphane Adjemian (Charybdis)
1763855225
Consider the effective number of structural innovations in initial_estimation_checks routine. Some of the declared structural innovations may have been calibrated with a zero variance.
2012-06-14 15:32:15 +02:00
Michel Juillard
3ff832ddcc
added test for too large standard deviation in beta distribution;
...
cleaned up error messages related to priors; set error trap for
initilial likelihood Nan or complex
2012-06-13 15:47:01 +02:00
Sébastien Villemot
1f9cea669a
Update copyright notices
2012-06-08 18:22:34 +02:00
Marco Ratto
32c6c50d9c
Fixed optimizer = 5 for dsge-vars and all other cases that do not allow computing the outer product of gradient (non-linear optimizers as well).
2012-05-31 14:42:52 +02:00
Stéphane Adjemian (Charybdis)
6103500543
Fixed bug related to the position of the info argument returned by non_linear_dsge_likelihood.
2012-05-04 11:36:27 +02:00
Marco Ratto
da9ec0f187
Estimation with analytic scores and hessian;
...
This includes re-setting the list of output arguments in objective functions
Added test function
2012-04-29 21:18:33 +02:00
Marco Ratto
3332a7f794
Get rid of dsge_likelihood_hh.m in mode_compute=5
2012-04-29 21:18:33 +02:00
Michel Juillard
a35e0cb3e3
fixed bug in initial estimation checks when mode_compute == 5
2012-03-31 11:01:32 +02:00
Stéphane Adjemian (Charybdis)
9cc4661942
Fixed bug in initial_estimation_checks + Cosmetic changes.
2012-03-30 11:12:59 +02:00
Michel Juillard
111347469f
adding comment explaining initialization of persistent variable
...
penalty in dsge_likelihood.m and dsge_likelihood_hh.m Removed misleading
initialization code. Added call to dsge_likelihood_hh in
initial_estimation_checks to initialize persistent variable in that
function as well.
2012-01-09 21:23:17 +01:00
Stéphane Adjemian (Charybdis)
ecac871435
Changed the name of DsgeLikelihood (-> dsge_likelihood).
2011-12-26 17:46:48 +01:00
Michel Juillard
ee7078e56c
factoring out steady-state computations; steady_state_model now
...
generates <fname>_steadystate2.m returning parameters as well in case
they have been modified by the user. Added several test cases.
2011-10-12 21:51:14 +02:00
Stéphane Adjemian (Charybdis)
e0fa737cee
Fixed bug in dynare_resolve (wrong calling sequence introduced in commit #013c599ec92f7d6e5fc3f351a58d9aa5ba401410).
...
Removed globals from DsgeVarLikelihood and changed the calling sequence. As in DsgeLikelihood, the penalty is now a
persistent variable.
Added a global structure for the data: dataset_.
Removed globals from dsgevar_posterior_density and mode_check.
Simplification of the clode, definition of the variable objective_function at the top of dynare_estimation_1 (equal
to 'DsgeLikelihood' or 'DsgeVarLikelihood').
2011-09-22 11:17:31 +02:00
Stéphane Adjemian (Scylla)
7fd6b3efc0
Fixed typo.
2011-09-19 17:51:03 +02:00
Stéphane Adjemian (Scylla)
ebc08c6d6a
Fixed bug related to the names of the matlab's structures.
2011-09-19 17:18:40 +02:00
Stéphane Adjemian (Scylla)
9c22fc1bde
Removed globals from DsgeLikelihood. Still broken.
...
Added texinfo header in DsgeLikelihood.
2011-09-19 16:41:53 +02:00
Houtan Bastani
43479f6ef3
use short-circuit ops (|| and &&) as opposed to (| and &) to avoid warnings in Octave (and save time)
2011-02-10 15:54:23 +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
Michel Juillard
c71e0fbd6b
removing test about correlated data in initial checks before estimation: this condition is too restrictive.
2011-01-21 17:04:01 +01:00
Ferhat Mihoubi
b356c5e58e
add_auxiliary_variables_to_steadystate is compatible with bytecode option
...
+ minor corrections in steady_.m
2010-11-25 16:00:54 +01:00