Houtan Bastani
0a017dd1bb
var test, add estimation for nkm model, fix plotting
2017-03-22 09:41:10 +01:00
Houtan Bastani
a248d9b51f
doc: add var_model, var_expectation
2017-03-22 09:41:10 +01:00
Stéphane Adjemian (Charybdis)
262cf20f16
Changed isint function.
...
To make it consistent with the routine available in the dates toolbox.
2017-03-22 09:41:10 +01:00
Stéphane Adjemian (Charybdis)
f9bf125562
Removed initialization for dates and dseries.
...
This is not required with the new oop interface.
2017-03-22 09:41:10 +01:00
Stéphane Adjemian (Charybdis)
b240ced4a8
Changed repositories and branches for submodules.
...
Submodules dates and dseries now target the private repositories available at
https://gitlab.com/McModelTeam
We use the new oop syntax with the matla-fame-io submodule in dseries.
2017-03-22 09:41:10 +01:00
Houtan Bastani
48acf40c00
var_forecast: clean up writing of var forecast matlab file
2017-03-22 09:41:10 +01:00
Houtan Bastani
8d1c8f35ae
var_forecast: example with two variables in var
2017-03-22 09:41:10 +01:00
Houtan Bastani
858f26804f
var_forecast test: update following changes
2017-03-22 09:41:10 +01:00
Houtan Bastani
e205c8813f
var_forecast: update writing following change in 9888881d1ccc8d748d1f9cd7f462b5fa30f8bac3
2017-03-22 09:41:10 +01:00
Houtan Bastani
476a8a27cc
preprocessor: add aux var/equation when var_model is of order > max lag of its variables in the model block
2017-03-22 09:41:10 +01:00
Houtan Bastani
dc7fca7ece
var_forecast: use example1 in forecast, add code to use estimation via rfvar3
2017-03-22 09:41:10 +01:00
Houtan Bastani
d46d107837
var_forecast: fix bug in writing of forecast
2017-03-22 09:41:10 +01:00
Houtan Bastani
7c9e54c8b4
var_forecast tests
2017-03-22 09:41:10 +01:00
Houtan Bastani
20ba99cf94
var_forecast: clean up writing of forecast function
2017-03-22 09:41:10 +01:00
Houtan Bastani
7c28e217e5
var_forecast: cleaner output
2017-03-22 09:41:10 +01:00
Houtan Bastani
19dc4deb9f
var_forecast: make calls more efficient
2017-03-22 09:41:10 +01:00
Houtan Bastani
df1ef46135
var_forecast: only make one call per var model, regardless of forecast horizon
2017-03-22 09:41:09 +01:00
Houtan Bastani
4d01f8c975
var_forecast: fix writing in dynamic file
2017-03-22 09:41:09 +01:00
Houtan Bastani
25a2c3bc22
stoi was introduced in C++11. replace with stringstream
2017-03-22 09:41:09 +01:00
Houtan Bastani
c8f432d2f4
var_forecast: create separate VarExpectationNode class to better handle calls to .m function that calculates var forecasts
2017-03-22 09:41:09 +01:00
Houtan Bastani
5e53c7909b
var_expectation: create possibility for h-step-ahead forecast
2017-03-22 09:41:09 +01:00
Houtan Bastani
1ae6c9a634
Revert "var_forecast: simplify calculation in function" (only works for 1-step-ahead forecast)
...
This reverts commit 079c6ce8a1e0cacfe98915d8bf554d3ba1ba0de1.
2017-03-22 09:41:09 +01:00
Houtan Bastani
113fbd4866
var_forecast: simplify calculation in function
2017-03-22 09:41:09 +01:00
Houtan Bastani
dfce1ece1e
var_forecast: create individual .m files for each forecast
2017-03-22 09:41:09 +01:00
Houtan Bastani
c0629b42f0
var_forecast: fix bugs
2017-03-22 09:41:09 +01:00
Houtan Bastani
173de21aa0
doc bug: fix typo
2017-03-22 09:41:09 +01:00
Houtan Bastani
98a86d341c
var_expectation: first draft
2017-03-22 09:41:09 +01:00
Houtan Bastani
db1c9d655b
change name of coefficients matrix in .mat file
2017-03-22 09:41:09 +01:00
Houtan Bastani
c99aa4aed0
var_forecast: move var declaration from options_ to M_, simplify structure in which it is stored
2017-03-22 09:41:09 +01:00
Houtan Bastani
b8c5dfa472
VAR(p) forecast first draft, preprocessor for var command and backend for forecast
2017-03-22 09:41:09 +01:00
Stéphane Adjemian (Charybdis)
121be35aca
Added varexobs in reference manual.
2017-03-22 09:41:09 +01:00
Stéphane Adjemian (Charybdis)
71c0e7f40c
Remove preprocessor warning.
...
Do not issue a warning when observed exogenous variables do not appear
in the model.
2017-03-22 09:41:09 +01:00
Stéphane Adjemian (Charybdis)
e1033c76b9
Added declaration of observed exogenous variables.
...
With integration test.
2017-03-22 09:41:09 +01:00
Houtan Bastani
5282e737e7
preprocessor: add realtime_shock_decomposition statement. #1406
2017-03-21 15:20:32 +01:00
Houtan Bastani
24abebb0b4
doc: correct argumnets to options
2017-03-21 14:35:04 +01:00
Houtan Bastani
4b4ee1cd92
doc: fix typo
2017-03-21 14:27:58 +01:00
Houtan Bastani
30232985ee
doc: fix markups of i.e. and e.g.
2017-03-21 14:15:51 +01:00
Houtan Bastani
e6f5316b99
preprocessor: fix bug introduced in a4eb8d6b91
2017-03-21 14:07:30 +01:00
Houtan Bastani
2a33cd1bb0
doc: fix doc following recent changes
2017-03-21 12:48:11 +01:00
Houtan Bastani
a4eb8d6b91
preprocessor: add init_state option to shock_decomposition
2017-03-21 12:48:11 +01:00
Stéphane Adjemian (Charybdis)
9633f3ab77
Fixed bug introduced in 68b18b04f4
.
...
Update of EXTRA_DIST was missing.
2017-03-20 22:17:54 +01:00
Stéphane Adjemian (Charybdis)
6d6f850a49
Test the value of oo_.deterministic_simulation.status in tests/deterministic_simulations/*
2017-03-20 16:27:13 +01:00
Stéphane Adjemian (Charybdis)
85fe69b265
Cosmetic change (use logicals).
2017-03-20 11:39:22 +01:00
Johannes Pfeifer
9abac8ccdb
Store indicator whether smoother was used with loglinear
...
Required to keep track of whether estimates were logged. Related to #1407
2017-03-20 11:36:10 +01:00
Johannes Pfeifer
5424fde74e
metropolis_draw.m: Replace round by ceil to avoid crashes when 0 draws would be used
...
(cherry picked from commit 2dc3ad22fdb8fedee7fdd2ed3577978bd8f37324)
2017-03-20 10:19:14 +01:00
Stéphane Adjemian (Charybdis)
dd02aa4c03
Expand reference manual on loglinear.
...
Partial cherry-pick of 3fc2e2b967d7c779058922e9f7fd9f688118a2f0 by Johannes Pfeifer.
2017-03-20 10:17:32 +01:00
Johannes Pfeifer
828df26d71
Makefile.am: Add loglinear as test group
...
(cherry picked from commit a4c28306097f75b5dae2ded92628b26530f5dd20)
2017-03-20 09:43:23 +01:00
Stéphane Adjemian (Charybdis)
c7926e250a
Fixed spaces in 750f1d9ff4728216db0df8da69ef59f4d7dc254b.
2017-03-20 09:42:15 +01:00
Johannes Pfeifer
9adc2e9ca9
makefile: Replace 8 spaces by correct tab
...
(cherry picked from commit 750f1d9ff4728216db0df8da69ef59f4d7dc254b)
2017-03-20 09:40:57 +01:00
Johannes Pfeifer
94ef60556e
Account for loglinear option when reading in M_.endo_histval
...
(cherry picked from commit d088420c21eba397459015b6a957c7eff7eafc36)
2017-03-20 09:37:58 +01:00