Sébastien Villemot
c121aa14b1
Remove oo_.dr.{nstatic,npred,nboth,nfwrd,nspred,nsfwrd}
...
Replace them by equivalents in M_ (and an extra one: M_.dynamic).
IMPORTANT POINT: oo_.dr.npred used to count both purely backward and mixed/both
variables. This was the cause of lots of confusion. The new M_.npred only
counts purely backward variables.
We now have the following indentities:
M_.npred + M_.nboth + M_.nfwrd + M_.nstatic = M_.endo_nbr
M_.nspred = M_.npred + M_.nboth
M_.nsfwrd = M_.nfwrd + M_.nboth
M_.ndynamic = M_.npred + M_.nboth + M_.nfwrd
2012-11-16 20:05:13 +01:00
Sébastien Villemot
ddbeb8ceaa
Remove unused oo_.dr.kae, oo_.dr.kad
2012-11-16 17:51:25 +01:00
Michel Juillard
0a5909f1d2
fixed bug with deterministic exogenous variables at order==2 (moved
...
all relevant code to stochastic_solvers.m)
2012-09-19 22:51:44 +02:00
Michel Juillard
07193b2cfa
fixing bug in computing full_rank for purely backward models
2012-09-11 10:06:38 +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
5bda6afad0
adding missing semi-colon
2012-07-16 16:05:08 +02:00
Stéphane Adjemian (Charybdis)
1fb89a07e9
Removed global from set_state_space.
2012-07-03 11:29:18 +02:00
Sébastien Villemot
1f9cea669a
Update copyright notices
2012-06-08 18:22:34 +02:00
Michel Juillard
6e555a1539
removed specialized code for solving purely forward models: it is true
...
that it is possible to derive the solution function by a simple
inversion, but this doesn't check that all eigenvalues are larger than
one. It is better to use the standard algorithm with QZ decomposition
2012-06-02 14:14:24 +02:00
Sébastien Villemot
95e938e5fb
Add dummy dr.eigval and dr.rank in case of purely forward model
...
This is necessary to avoid an outright crash in check.m
2012-05-15 18:31:53 +02:00
Michel Juillard
0ef23e5ae3
fixes bug for stochastic backward models. Still, only order==1 is
...
currently possible.
2012-05-14 22:10:10 +02:00
Michel Juillard
650e67f6b7
fixing but in previous commit
2012-05-01 10:53:23 +02:00
Michel Juillard
19f939b1cc
when task==1, the function now returns as soon as the eigenvalues have
...
been computed. This solves a bug when having used loglinear option
earlier in the *.mod file
2012-05-01 09:49:56 +02:00
Michel Juillard
1014bb038d
made loglinear option available for purely backward and purely forward
...
models (for now only with order==1)
2012-04-15 14:06:37 +02:00
Michel Juillard
30d815afdc
minor changes to new functions and completing headers
2011-12-20 16:34:30 +01:00
Michel Juillard
10c6978369
minor modifications + headers for new functions
2011-12-19 22:33:25 +01:00
Michel Juillard
336afa9f2b
fixing bugs related to new functions
2011-12-18 17:33:08 +01:00
Michel Juillard
c56a8e40e8
adding new functions and new tests for risky steady state
2011-12-17 17:35:42 +01:00