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
a27bc872
Verified
Commit
a27bc872
authored
3 years ago
by
Johannes Pfeifer
Committed by
Stéphane Adjemian
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
execute_prior_posterior_function.m: move error in correct, transform error into warning
parent
0b491b3b
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/execute_prior_posterior_function.m
+3
-6
3 additions, 6 deletions
matlab/execute_prior_posterior_function.m
with
3 additions
and
6 deletions
matlab/execute_prior_posterior_function.m
+
3
−
6
View file @
a27bc872
...
...
@@ -68,12 +68,9 @@ elseif strcmpi(type,'prior')
else
error
(
'The prior distributions are not properly set up.'
)
end
if
exist
([
M_
.
fname
'_prior_restrictions.m'
])
error
(
'prior_function currently does not support endogenous prior restrictions.'
)
%options_.plot_priors=0;
%[~,~,~,~, M_, options_, oo_, ~, ~] = ...
% dynare_estimation_init(M_.endo_names, M_.fname, 1, M_, options_, oo_, estim_params_, bayestopt_);
end
end
if
exist
([
M_
.
fname
'_prior_restrictions.m'
])
warning
(
'prior_function currently does not support endogenous prior restrictions. They will be ignored. Consider using a prior_function with nobs=1.'
)
end
prior_draw
(
bayestopt_
,
options_
.
prior_trunc
);
else
...
...
This diff is collapsed.
Click to expand it.
Johannes Pfeifer
@JohannesPfeifer
mentioned in commit
c30d127e
·
3 years ago
mentioned in commit
c30d127e
mentioned in commit c30d127e1c9b24f5f91374b4e31ff7ca2cd9a616
Toggle commit list
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