Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
particles
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dynare
particles
Commits
5220ec2a
Commit
5220ec2a
authored
Jul 24, 2015
by
Johannes Pfeifer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reflect new input argument of lyapunov_symm.m of Dynare
Related to
https://github.com/DynareTeam/dynare/pull/983
parent
12a5e664
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/solve_model_for_online_filter.m
src/solve_model_for_online_filter.m
+1
-1
No files found.
src/solve_model_for_online_filter.m
View file @
5220ec2a
...
...
@@ -329,7 +329,7 @@ if observation_number==1
switch
DynareOptions
.
particle
.
initialization
case
1
%
Initial
state
vector
covariance
is
the
ergodic
variance
associated
to
the
first
order
Taylor
-
approximation
of
the
model
.
StateVectorMean
=
ReducedForm
.
constant
(
mf0
);
StateVectorVariance
=
lyapunov_symm
(
ReducedForm
.
ghx
(
mf0
,:),
ReducedForm
.
ghu
(
mf0
,
:
)
*
ReducedForm
.
Q
*
ReducedForm
.
ghu
(
mf0
,
:
)
'
,
1e-12
,
1e-12
);
StateVectorVariance
=
lyapunov_symm
(
ReducedForm
.
ghx
(
mf0
,:),
ReducedForm
.
ghu
(
mf0
,
:
)
*
ReducedForm
.
Q
*
ReducedForm
.
ghu
(
mf0
,
:
)
'
,
DynareOptions
.
lyapunov_fixed_point_tol
,
DynareOptions
.
qz_criterium
,
DynareOptions
.
lyapunov_complex_threshold
);
case
2
%
Initial
state
vector
covariance
is
a
monte
-
carlo
based
estimate
of
the
ergodic
variance
(
consistent
with
a
k
-
order
Taylor
-
approximation
of
the
model
).
StateVectorMean
=
ReducedForm
.
constant
(
mf0
);
old_DynareOptionsperiods
=
DynareOptions
.
periods
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment