Marco Ratto
b1dd7a5137
Allow quicker evaluation of likelihood with analytic derivatives.
2012-08-21 15:46:35 +02:00
Marco Ratto
7683175e8e
Bug fix in terms for outer product gradient with analytic derivatives
2012-08-21 15:45:25 +02:00
Marco Ratto
9fd8bf954e
bug fix in formula for analytic Hessian.
2012-08-15 14:19:34 +02:00
Marco Ratto
f7aae77f16
removed useless elements + reduce loops for efficiency
...
(cherry picked from commit f2271264994af253ccdc7f01478320e4d2c2c0e7)
2012-08-13 13:04:34 +02:00
Marco Ratto
3ddafb164b
-) Added missing terms for analytic Hessian when steady state depends on estimated params;
...
-) bug fixes;
(cherry picked from commit c84f70f6630f4988716dcb4ea59315180bbb36e7)
2012-08-13 13:04:07 +02:00
Michel Juillard
70e162c736
removed globals from solve1.m
2012-08-06 23:32:40 +02:00
Sébastien Villemot
db62e3d7a0
issquare exists under Octave and returns the matrix dim if it is square
2012-08-06 18:26:16 +02:00
Sébastien Villemot
2e65a9ab96
Provide a better implementation of linsolve for Octave
...
Closes : #273
2012-08-06 18:26:16 +02:00
Michel Juillard
a400305f20
updating list of info codes returned by dynare_resolve() in DsgeVarLikelihood
2012-08-06 12:02:35 +02:00
Michel Juillard
2e9ae5df28
dealing with info == 8 (Nan in Jacobian) during estimation
2012-08-06 12:00:03 +02:00
Sébastien Villemot
336fc56518
Merge remote-tracking branch 'jpfeifer/master'
2012-08-06 11:44:15 +02:00
Michel Juillard
7e221e5d31
factoring setting of bayestop_.penalty = Inf in Metropolis
2012-08-05 15:27:14 +02:00
Michel Juillard
7959102d43
removed global and varargin in Metropolis routines
2012-08-05 15:10:21 +02:00
Johannes Pfeifer
1a968d5f22
Added check for NaN in Jacobian to stochastic_solvers and added explicit error message to print_info.m
2012-08-05 13:09:24 +02:00
Michel Juillard
b1ad31cf56
removed seeding random generators from clock in cmaes and metropolis hastings
2012-08-05 10:59:59 +02:00
Michel Juillard
6b3bd9dd0b
penalty is now passed as a field of bayestopt_ (or BayesInfo)
2012-08-02 22:23:29 +02:00
Marco Ratto
47353a276b
bug fix: the anlytic hessian was wrong with estimated stderr.
...
Manual cherry pick from Commit: 36853cb7615de41ca61ed92decf8bbe81ab40cba
2012-08-02 14:57:20 +02:00
Michel Juillard
fe8ae2c565
adding doc *.m file for k_order_perturbation MEX
2012-08-02 11:25:52 +02:00
Michel Juillard
9e6c58572e
fixing bug in pruning at order=3
2012-08-02 10:09:44 +02:00
Michel Juillard
2244af9c62
adding pruning option for 3rd order
2012-07-31 21:50:59 +02:00
Sébastien Villemot
488de200cf
Merge remote-tracking branch 'jpfeifer/master'
2012-07-30 15:50:30 +02:00
Michel Juillard
87b78f657b
dynatable: fixed bug when table contains Inf or NaN
2012-07-25 17:52:00 +02:00
Michel Juillard
24e1c49928
simulations: draw random shocks so that, given a seed, the sequence is the same, independently of the number of periods
2012-07-25 15:00:57 +02:00
Michel Juillard
d32e076b77
adding missing function linsolve for Octave (inefficient and minimal implementation
...
for current needs)
2012-07-22 22:18:32 +02:00
Michel Juillard
e7a8261b17
first order and cycle reduction: fixing bugs in previous commits
2012-07-22 19:54:12 +02:00
Michel Juillard
ba1f5eedc2
first order solver:
...
-pass along errors returned by cycle reduction algorithms;
-logarithmic reduction fails on error
-replace expensive and random condest() by call to linsolve()
-uses linsolve() to compute hx
2012-07-22 12:56:51 +02:00
Michel Juillard
2c450c79f8
cycle reduction: return error codes for over- and under-determined
...
dynamic systems
2012-07-22 12:51:55 +02:00
Michel Juillard
edf826f315
added code to optionally run cycle_reduction algorithm on GPU. Added
...
options_.gpu (no interface yet, use options_.gpu=1). Added test
./tests/first_order/fs2000_cr.mod
2012-07-20 17:06:12 +02:00
Michel Juillard
8d33a434e5
fixing bugs in dyn_first_order_solver()
2012-07-19 18:57:56 +02:00
Michel Juillard
d39bbdaa85
forcing reinitialization of persistent variables of
...
dyn_first_order_solver.m in global_initialization.m This is necessary
if noclearall option is used.
2012-07-19 17:08:42 +02:00
Johannes Pfeifer
b10b2160ed
Made error message if initial parameter values are outside prior bounds more explicit.
2012-07-19 12:30:41 +02:00
Michel Juillard
fcc262db7a
fixing bugs introduced in 1b3aa73c04
2012-07-17 10:07:09 +02:00
Michel Juillard
36cce4e629
Merge remote-tracking branch 'ratto/master'
2012-07-16 17:24:00 +02:00
Michel Juillard
5bda6afad0
adding missing semi-colon
2012-07-16 16:05:08 +02:00
Michel Juillard
1b3aa73c04
adapted dyn_first_order_solver.m for models without lagged variables
...
and singular coefficient matrix for current variables
2012-07-16 15:52:36 +02:00
Marco Ratto
80a9ac90f0
Fixed random bug of MC identification test, occurring when there is no solution at the very first iteration of the MC loop.
...
(cherry picked from commit 906bf8e02feb8370153bc6407bf95d2592be3cc2)
2012-07-15 22:21:10 +02:00
Michel Juillard
1732db842f
fixing bug in evaluating rank condition for BK when using check (introduced in commit 4d51f38bd2
)
2012-07-14 21:07:05 +02:00
Stéphane Adjemian (Charybdis)
37f5ac850b
Fixed bug (karaba:/var/tmp/dynare-master-check-WMwywKtbcz.log). dr.state_var is not defined in all cases...
2012-07-13 10:30:09 +02:00
Stéphane Adjemian (Charybdis)
54aff15b6a
Added a new routine to solve quadratic matrix equation (based on a Newton algorithm with line search).
2012-07-12 14:43:21 +02:00
Stéphane Adjemian (Charybdis)
91499d7961
Added a routine to test if an array is a square matrix.
2012-07-12 14:43:21 +02:00
Stéphane Adjemian (Charybdis)
4d183aa920
Fixed bug fix introduced in git#6d6e337f5bec0d9728746ce60f7fb09d12042adb.
2012-07-12 09:23:06 +02:00
Stéphane Adjemian (Charybdis)
6d6e337f5b
Fixed bug (reported in karaba:/var/tmp/dynare-master-check-o0FCvBRHnf.log). dr.state_var was defined in the wrong place.
2012-07-12 09:18:04 +02:00
Stéphane Adjemian (Charybdis)
c850f03be3
Added the possibility to use the logarithmic reduction algorithm (mainly for testing purpose).
2012-07-11 18:26:22 +02:00
Stéphane Adjemian (Charybdis)
4d51f38bd2
Added the possibility to use the cyclic reduction algorithm without the block option.
2012-07-11 18:26:22 +02:00
Stéphane Adjemian (Charybdis)
b02c83a926
Added unitary test.
...
Comparison of the solutions returned by the cyclic reduction and logarithmic reduction algorithm. Note
that in the case considered here the logarithmic reduction algorithm is faster.
2012-07-11 18:26:22 +02:00
Stéphane Adjemian (Charybdis)
56339bb3cf
Added logarithmic reduction algorithm to solve quadratic matrix equation.
...
This algorithm is a slower alternative to the cyclic reduction algorithm (useful for testing purpose).
2012-07-11 18:26:22 +02:00
Stéphane Adjemian (Charybdis)
47e543409c
Added texinfo header.
2012-07-11 18:26:22 +02:00
Stéphane Adjemian (Charybdis)
a86a904823
Cosmetic changes.
2012-07-11 18:26:22 +02:00
Stéphane Adjemian (Charybdis)
b4c60eeebf
Efficiency changes.
2012-07-11 18:26:22 +02:00
Stéphane Adjemian (Charybdis)
877cc55e78
Fixed bug.
2012-07-11 18:26:22 +02:00