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
78e3ac99
Commit
78e3ac99
authored
7 years ago
by
Marco Ratto
Committed by
Stéphane Adjemian
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
bug fix in setting realtime_conditional_shock_decomposition field
(cherry picked from commit
fd8a69d9
)
parent
c6c30572
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/realtime_shock_decomposition.m
+2
-0
2 additions, 0 deletions
matlab/realtime_shock_decomposition.m
with
2 additions
and
0 deletions
matlab/realtime_shock_decomposition.m
+
2
−
0
View file @
78e3ac99
...
...
@@ -224,6 +224,7 @@ for j=presample+1:nobs
zreal
(:,:,
j
-
forecast_
:
j
)
-
...
oo_
.
realtime_forecast_shock_decomposition
.
([
'time_'
int2str
(
j
-
forecast_
)]);
oo_
.
realtime_conditional_shock_decomposition
.
([
'time_'
int2str
(
j
-
forecast_
)])(:,
end
-
1
,:)
=
...
oo_
.
realtime_conditional_shock_decomposition
.
([
'time_'
int2str
(
j
-
forecast_
)])(:,
end
-
1
,:)
+
...
oo_
.
realtime_forecast_shock_decomposition
.
([
'time_'
int2str
(
j
-
forecast_
)])(:,
end
,:);
oo_
.
realtime_conditional_shock_decomposition
.
([
'time_'
int2str
(
j
-
forecast_
)])(:,
end
,:)
=
...
zreal
(:,
end
,
j
-
forecast_
:
j
);
...
...
@@ -234,6 +235,7 @@ for j=presample+1:nobs
zreal
(:,:,
j
-
my_forecast_
:
j
)
-
...
oo_
.
realtime_forecast_shock_decomposition
.
([
'time_'
int2str
(
j
-
my_forecast_
)])(:,:,
1
:
my_forecast_
+
1
);
oo_
.
realtime_conditional_shock_decomposition
.
([
'time_'
int2str
(
j
-
my_forecast_
)])(:,
end
-
1
,:)
=
...
oo_
.
realtime_conditional_shock_decomposition
.
([
'time_'
int2str
(
j
-
my_forecast_
)])(:,
end
-
1
,:)
+
...
oo_
.
realtime_forecast_shock_decomposition
.
([
'time_'
int2str
(
j
-
my_forecast_
)])(:,
end
,
1
:
my_forecast_
+
1
);
oo_
.
realtime_conditional_shock_decomposition
.
([
'time_'
int2str
(
j
-
my_forecast_
)])(:,
end
,:)
=
...
zreal
(:,
end
,
j
-
my_forecast_
:
j
);
...
...
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