Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Frédéric Karamé
dynare
Commits
dde1acd1
Commit
dde1acd1
authored
7 years ago
by
Johannes Pfeifer
Committed by
Stéphane Adjemian
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make fast_realtime accept observation as input
parent
8e73289f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/dynare.texi
+4
-2
4 additions, 2 deletions
doc/dynare.texi
preprocessor/DynareBison.yy
+1
-1
1 addition, 1 deletion
preprocessor/DynareBison.yy
tests/shock_decomposition/ls2003_plot.mod
+1
-1
1 addition, 1 deletion
tests/shock_decomposition/ls2003_plot.mod
with
6 additions
and
4 deletions
doc/dynare.texi
+
4
−
2
View file @
dde1acd1
...
...
@@ -7544,9 +7544,11 @@ realtime shock decompositions are computed, @i{i.e.} for
@anchor{save_realtime} Choose for which vintages to save the full realtime
shock decomposition. Default: @math{0}.
@item fast_realtime
@item fast_realtime
= @var{INTEGER}
@anchor{fast_realtime} Runs the smoother only twice: once for the last in-sample
and once for the last out-of-sample data point. Default: not enabled.
and once for the last out-of-sample data point, where the provided integer defines the last observation
(equivalent to @ref{nobs}).
Default: not enabled.
@end table
...
...
This diff is collapsed.
Click to expand it.
preprocessor/DynareBison.yy
+
1
−
1
View file @
dde1acd1
...
...
@@ -3099,7 +3099,7 @@ o_init_state : INIT_STATE EQUAL INT_NUMBER { driver.option_num("shock_decomp.ini
o_shock_decomposition_presample : PRESAMPLE EQUAL INT_NUMBER { driver.option_num("shock_decomp.presample", $3); };
o_shock_decomposition_forecast : FORECAST EQUAL INT_NUMBER { driver.option_num("shock_decomp.forecast", $3); };
o_save_realtime : SAVE_REALTIME EQUAL vec_int { driver.option_vec_int("shock_decomp.save_realtime", $3); };
o_fast_realtime : FAST_REALTIME { driver.option_num("shock_decomp.fast_realtime",
"1"
); };
o_fast_realtime : FAST_REALTIME
EQUAL INT_NUMBER
{ driver.option_num("shock_decomp.fast_realtime",
$3
); };
o_nodisplay : NODISPLAY { driver.option_num("nodisplay","1"); };
o_psd_nodisplay : NODISPLAY { driver.option_num("plot_shock_decomp.nodisplay","1"); };
o_graph_format : GRAPH_FORMAT EQUAL allowed_graph_formats
...
...
This diff is collapsed.
Click to expand it.
tests/shock_decomposition/ls2003_plot.mod
+
1
−
1
View file @
dde1acd1
...
...
@@ -133,7 +133,7 @@ close all,
// testing realtime decomposition with fast_realtime option
realtime_shock_decomposition(fast_realtime);
realtime_shock_decomposition(fast_realtime
=75
);
collect_latex_files;
if system(['pdflatex -halt-on-error -interaction=batchmode ' M_.fname '_TeX_binder.tex'])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment