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
Dynare
dynare
Commits
17dec97c
Commit
17dec97c
authored
8 years ago
by
Johannes Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
Use raw_data in forecast plots instead of prefiltered data
parent
f074c67d
No related branches found
No related tags found
2 merge requests
!1381
PR for #1286
,
!1301
Use raw_data in forecast plots instead of prefiltered data
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/dynare_estimation.m
+2
-2
2 additions, 2 deletions
matlab/dynare_estimation.m
with
2 additions
and
2 deletions
matlab/dynare_estimation.m
+
2
−
2
View file @
17dec97c
...
@@ -29,7 +29,7 @@ function oo_recursive_=dynare_estimation(var_list,dname)
...
@@ -29,7 +29,7 @@ function oo_recursive_=dynare_estimation(var_list,dname)
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
global
options_
oo_
M_
dataset_
global
options_
oo_
M_
dataset_
dataset_info
oo_recursive_
=
{};
oo_recursive_
=
{};
...
@@ -143,7 +143,7 @@ if nnobs > 1 && horizon > 0
...
@@ -143,7 +143,7 @@ if nnobs > 1 && horizon > 0
time_offset
=
min
(
3
,
gend
-
1
);
%for observables, plot 3 previous periods unless data is shorter
time_offset
=
min
(
3
,
gend
-
1
);
%for observables, plot 3 previous periods unless data is shorter
k
=
time_offset
+
min
(
nobs
(
end
)
-
nobs
(
1
)
+
horizon
,
...
k
=
time_offset
+
min
(
nobs
(
end
)
-
nobs
(
1
)
+
horizon
,
...
size
(
dataset_
.
data
,
1
)
-
nobs
(
1
));
size
(
dataset_
.
data
,
1
)
-
nobs
(
1
));
data2
=
dataset_
.
data
(
end
-
k
+
1
:
end
,:);
data2
=
dataset_
info
.
raw
data
(
end
-
k
+
1
:
end
,:);
[
nbplt
,
nr
,
nc
,
lr
,
lc
,
nstar
]
=
pltorg
(
nvar
);
[
nbplt
,
nr
,
nc
,
lr
,
lc
,
nstar
]
=
pltorg
(
nvar
);
m
=
1
;
m
=
1
;
plot_index
=
0
;
plot_index
=
0
;
...
...
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