Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
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
Johannes Pfeifer
dynare
Commits
03a87595
Commit
03a87595
authored
5 years ago
by
Johannes Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
Particle filters: provide error if trends or prefiltering is used
Closes
Dynare/dynare#1690
parent
82cc6a91
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#2865
failed
5 years ago
Stage: build
Stage: test_and_pkg
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/initial_estimation_checks.m
+10
-2
10 additions, 2 deletions
matlab/initial_estimation_checks.m
with
10 additions
and
2 deletions
matlab/initial_estimation_checks.m
+
10
−
2
View file @
03a87595
...
...
@@ -41,8 +41,16 @@ function DynareResults = initial_estimation_checks(objective_function,xparam1,Dy
%singularity check
maximum_number_non_missing_observations
=
max
(
sum
(
~
isnan
(
DynareDataset
.
data
),
2
));
if
DynareOptions
.
order
>
1
&&
any
(
any
(
isnan
(
DynareDataset
.
data
)))
error
(
'initial_estimation_checks:: particle filtering does not support missing observations'
)
if
DynareOptions
.
order
>
1
if
any
(
any
(
isnan
(
DynareDataset
.
data
)))
error
(
'initial_estimation_checks:: particle filtering does not support missing observations'
)
end
if
DynareOptions
.
prefilter
==
1
error
(
'initial_estimation_checks:: particle filtering does not support the prefilter option'
)
end
if
BayesInfo
.
with_trend
error
(
'initial_estimation_checks:: particle filtering does not support trends'
)
end
end
non_zero_ME
=
length
(
EstimatedParameters
.
H_entries_to_check_for_positive_definiteness
);
...
...
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